XenServer Networking
-
@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.
-
@travisdh1 this is the output of /etc/resolv.conf
search mydomain
nameserver 192.168.10.1 (This is my gateway)
~ -
@Dashrender now i can oing 1.1.2.. as i turned down firewall in 1,1,2
-
@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?
-
@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...
-
@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.
-
@scottalanmiller yes it is on. but now that i tried dhcp it is not getting IP address. but it just says failed nothing else
-
@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.
-
I wonder if my diagram above is wrong..
Is your Windows VM a direct guest of XS or of virtualbox?
-
@Dashrender windows vm is in vbox, as you cannot create windows vm's in xen nested in vbox because they require HVM mode
-
@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.
-
I managed to get the Centos guest vm inside Xen to get an IP address but still it does not ping google
-
@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? -
yes it is getting the ip form my LAN DHCP but it cannot ping the default gateway..
-
i turned off iptables on both Xen Host and Centos Guest machine,, but no success
-
@Dashrender yes it is getting the ip form my LAN DHCP but it cannot ping the default gateway..
-
@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?
-
@Dashrender it must be the same, as my /etc/resolv.conf is the same in XenServer and in Centos
-
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 7any ideas?
-
Hello guys,
sorry to bother you again,, but i just noticed something:
i have another xenserver host on my VirtualBox
and i can ping this other host from my guest vm inside xen host 1.. meaning:Vbox = I
xenhost 1 = I.I
centos vm = I.I.I
xen host 2 = I.II
and centos can ping I.Ihere is a picture for better understanding.. thannks