XenServer Networking
-
Does your XenServer have an IP address that is on your LAN?
-
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)
-
XenServer
Centos
-
Xen is bridged in Vbox.. so it is in my LAN
-
@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.
-
@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
-
@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?
-
@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.
-
@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.
-
can the XS itself ping the internet or your local network?
-
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.
-
@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) -
i gues if it is not expecting the trafic, it would not allow me even in virtualbox having traffic
-
@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.
-
The IP addresses of your VMs in XenServer -- are they getting IP addresses from your LAN as well?
-
@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
-
@dafyre yes they are getting from the lan,
-
@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.
-
Is the VM getting DHCP? or did you manually assign the IP?
-
@Dashrender I assugned the ip, statically