ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    XenServer Networking

    IT Discussion
    7
    56
    4.5k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Alket_tuxA
      Alket_tux
      last edited by

      hello,
      my case is the following:
      i have xen server in Virtualbox. i have created a guest vm inside xen. i have managed to give it an IP address.. the guest VM (Centos) can ping the xen host but it cannot ping google..
      P.S. I have connected the network to external interface, so it is not only connected inside the pool.

      do you have any ideas?
      thanks

      1 Reply Last reply Reply Quote 0
      • dafyreD
        dafyre
        last edited by

        Does your XenServer have an IP address that is on your LAN?

        1 Reply Last reply Reply Quote 0
        • DashrenderD
          Dashrender
          last edited by

          Please post a picture of your network setup from the XenCenter Console for the VM in question. Then post a picture of the networking setup of the server (again from XenCenter)

          1 Reply Last reply Reply Quote 0
          • Alket_tuxA
            Alket_tux
            last edited by

            XenServer
            0_1486045861345_xen.PNG

            Centos

            0_1486045882254_centos.PNG

            1 Reply Last reply Reply Quote 0
            • Alket_tuxA
              Alket_tux
              last edited by

              Xen is bridged in Vbox.. so it is in my LAN

              dafyreD 1 Reply Last reply Reply Quote 0
              • dafyreD
                dafyre @Alket_tux
                last edited by

                @Alket_tux said in XenServer Networking:

                Xen is bridged in Vbox.. so it is in my LAN

                You also need to configure Xen to bridge the connections to its VMs as well, so that your XenVMs will get IP addresses on your LAN as well.

                Alket_tuxA travisdh1T 2 Replies Last reply Reply Quote 0
                • Alket_tuxA
                  Alket_tux @dafyre
                  last edited by

                  @dafyre my vm is in the same range as my home lan... could you tell me how to configure Xen to bridge the connections to its VMs

                  dafyreD 1 Reply Last reply Reply Quote 0
                  • dafyreD
                    dafyre @Alket_tux
                    last edited by

                    @Alket_tux said in XenServer Networking:

                    @dafyre my vm is in the same range as my home lan... could you tell me how to configure Xen to bridge the connections to its VMs

                    I don't have a XenServer in front of me to figure it out. Maybe @DustinB3403 can help?

                    1 Reply Last reply Reply Quote 0
                    • travisdh1T
                      travisdh1 @dafyre
                      last edited by

                      @dafyre said in XenServer Networking:

                      @Alket_tux said in XenServer Networking:

                      Xen is bridged in Vbox.. so it is in my LAN

                      You also need to configure Xen to bridge the connections to its VMs as well, so that your XenVMs will get IP addresses on your LAN as well.

                      You don't need to configure XenServer to do that for you when the management interface is on the same network as the rest of the network. Since we're nowhere near best practices here anyway, it should just work. Why it's not I don't know, might have to do with the nested virtualization layers.

                      BRRABillB 1 Reply Last reply Reply Quote 3
                      • BRRABillB
                        BRRABill @travisdh1
                        last edited by

                        @travisdh1 said in XenServer Networking:

                        @dafyre said in XenServer Networking:

                        @Alket_tux said in XenServer Networking:

                        Xen is bridged in Vbox.. so it is in my LAN

                        You also need to configure Xen to bridge the connections to its VMs as well, so that your XenVMs will get IP addresses on your LAN as well.

                        You don't need to configure XenServer to do that for you when the management interface is on the same network as the rest of the network. Since we're nowhere near best practices here anyway, it should just work. Why it's not I don't know, might have to do with the nested virtualization layers.

                        Try some of the other VB options for networking.

                        I have a MINT VM set up in VB. Two actually. Same, but with different options for home and work.

                        Alket_tuxA 1 Reply Last reply Reply Quote 0
                        • DashrenderD
                          Dashrender
                          last edited by

                          can the XS itself ping the internet or your local network?

                          1 Reply Last reply Reply Quote 0
                          • Alket_tuxA
                            Alket_tux
                            last edited by

                            yes of course, i downloaded all my iso-s from xenserver. i turned off iptables, but nothing.. is there something else that could block VMs traffic outside the XenServer.. i have not found anything so far.

                            DashrenderD 1 Reply Last reply Reply Quote 0
                            • DashrenderD
                              Dashrender @Alket_tux
                              last edited by

                              @Alket_tux said in XenServer Networking:

                              yes of course, i downloaded all my iso-s from xenserver. i turned off iptables, but nothing.. is there something else that could block VMs traffic outside the XenServer.. i have not found anything so far.

                              the host firewall could be doing it.. not expecting the IP of the VM.
                              Turn off the host firewall for a test.
                              i.e. your windows desktop firewall (assuming you're running windows)

                              1 Reply Last reply Reply Quote 1
                              • Alket_tuxA
                                Alket_tux
                                last edited by

                                i gues if it is not expecting the trafic, it would not allow me even in virtualbox having traffic

                                DashrenderD 1 Reply Last reply Reply Quote 0
                                • DashrenderD
                                  Dashrender @Alket_tux
                                  last edited by

                                  @Alket_tux said in XenServer Networking:

                                  i gues if it is not expecting the trafic, it would not allow me even in virtualbox having traffic

                                  No, that's not necessarily true. VirtualBox could have registered itself with the host firewall and the first IP it got. Sure I tend to agree this seems unlikely, but I'm reaching in an effort to find solutions.

                                  1 Reply Last reply Reply Quote 0
                                  • dafyreD
                                    dafyre
                                    last edited by

                                    The IP addresses of your VMs in XenServer -- are they getting IP addresses from your LAN as well?

                                    Alket_tuxA 1 Reply Last reply Reply Quote 1
                                    • Alket_tuxA
                                      Alket_tux @BRRABill
                                      last edited by

                                      @BRRABill only bridge network does the job, as it allows dhcp. with other network formats im not able to give ip to my guest vm's inside xen

                                      1 Reply Last reply Reply Quote 0
                                      • Alket_tuxA
                                        Alket_tux @dafyre
                                        last edited by

                                        @dafyre yes they are getting from the lan,

                                        dafyreD 1 Reply Last reply Reply Quote 0
                                        • dafyreD
                                          dafyre @Alket_tux
                                          last edited by

                                          @Alket_tux said in XenServer Networking:

                                          @dafyre yes they are getting from the lan,

                                          From one of your VMs:

                                          ping LAN IP of XenServer host.
                                          ping LAN IP of VirtualBox host.
                                          ping LAN IP of another system on your LAN that is not your VirtualBox host
                                          ping LAN IP of your router.

                                          Let us know which ones work and which ones do not.

                                          Alket_tuxA 1 Reply Last reply Reply Quote 0
                                          • DashrenderD
                                            Dashrender
                                            last edited by

                                            Is the VM getting DHCP? or did you manually assign the IP?

                                            Alket_tuxA 1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 3
                                            • 1 / 3
                                            • First post
                                              Last post