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

    XenServer Networking

    Scheduled Pinned Locked Moved IT Discussion
    56 Posts 7 Posters 5.0k Views
    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.
    • JaredBuschJ
      JaredBusch @travisdh1
      last edited by

      @travisdh1 said in XenServer Networking:

      @Alket_tux said in XenServer Networking:

      @travisdh1 yes it can ping my gateway

      Ok, then it's probably something to do with DNS. What is in the /etc/resolv.conf?

      Or he actually said the Gately wrong in this machine. That he can ping it is not relevant it's in the subnet.

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

        @JaredBusch said in XenServer Networking:

        @travisdh1 said in XenServer Networking:

        @Alket_tux said in XenServer Networking:

        @travisdh1 yes it can ping my gateway

        Ok, then it's probably something to do with DNS. What is in the /etc/resolv.conf?

        Or he actually said the Gately wrong in this machine. That he can ping it is not relevant it's in the subnet.

        I'm not sure what problem we're solving anymore. But the OP mentions the his Windows VM can't ping anything, and nothing can ping it. I would guess that maybe a subnet mask issue or vNIC issue.

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

          @travisdh1 this is the output of /etc/resolv.conf
          search mydomain
          nameserver 192.168.10.1 (This is my gateway)
          ~

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

            @Dashrender now i can oing 1.1.2.. as i turned down firewall in 1,1,2

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

              @Alket_tux said in XenServer Networking:

              @Dashrender now i can oing 1.1.2.. as i turned down firewall in 1,1,2

              Well that sounds about right. I think the windows firewall by default doesn't allow the machine to be pinged.

              Is everything working now?

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

                @Dashrender nope, i turned off the firewall of windows guest vm, so the guests inside xen are at the same state.. my guess is that vbox does not allow it, and it's all because of nested virtualization...

                scottalanmillerS 1 Reply Last reply Reply Quote 0
                • scottalanmillerS
                  scottalanmiller @Alket_tux
                  last edited by

                  @Alket_tux said in XenServer Networking:

                  @Dashrender nope, i turned off the firewall of windows guest vm, so the guests inside xen are at the same state.. my guess is that vbox does not allow it, and it's all because of nested virtualization...

                  Did you remember to allow promiscuous mode on VirtualBox? If you miss that nesting will break networking.

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

                    @scottalanmiller yes it is on. but now that i tried dhcp it is not getting IP address. but it just says failed nothing else

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

                      @Alket_tux said in XenServer Networking:

                      @scottalanmiller yes it is on. but now that i tried dhcp it is not getting IP address. but it just says failed nothing else

                      This sounds like a hypervisor setting issue.

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

                        I wonder if my diagram above is wrong..

                        Is your Windows VM a direct guest of XS or of virtualbox?

                        Alket_tuxA scottalanmillerS 2 Replies Last reply Reply Quote 0
                        • Alket_tuxA
                          Alket_tux @Dashrender
                          last edited by

                          @Dashrender windows vm is in vbox, as you cannot create windows vm's in xen nested in vbox because they require HVM mode

                          1 Reply Last reply Reply Quote 1
                          • scottalanmillerS
                            scottalanmiller @Dashrender
                            last edited by

                            @Dashrender said in XenServer Networking:

                            I wonder if my diagram above is wrong..

                            Is your Windows VM a direct guest of XS or of virtualbox?

                            Can't be on XS, no HVM possible. VirtualBox does not support nesting.

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

                              I managed to get the Centos guest vm inside Xen to get an IP address but still it does not ping google

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

                                @Alket_tux said in XenServer Networking:

                                I managed to get the Centos guest vm inside Xen to get an IP address but still it does not ping google

                                where is it getting it's IP from? from the LAN DHCP server?
                                can the VM ping your default gateway?

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

                                  yes it is getting the ip form my LAN DHCP but it cannot ping the default gateway..

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

                                    i turned off iptables on both Xen Host and Centos Guest machine,, but no success

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

                                      @Dashrender yes it is getting the ip form my LAN DHCP but it cannot ping the default gateway..

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

                                        @Alket_tux said in XenServer Networking:

                                        @Dashrender yes it is getting the ip form my LAN DHCP but it cannot ping the default gateway..

                                        and you confirmed in the DHCP server that the reservation is successful? I know sounds crazy - how could it even make a request to the LAN to get a DHCP address if it can't respond to the DHCP provider that it accepted it? But then if all of that works, then why can't you connect to resources on the the network for which you were provided an IP?

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

                                          @Dashrender it must be the same, as my /etc/resolv.conf is the same in XenServer and in Centos

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

                                            hello guys,
                                            what if i tried to enable second interface in Vbox.. can you give some help to add the second nic to xenbr1.

                                            https://toic.org/blog/2008/multiple-network-interfaces-in-xen/
                                            i read this but i do not have /etc/xen/scripts/network-bridge in xenserver 7

                                            any ideas?

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