XenServer Networking
-
@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
-
@Alket_tux said in XenServer Networking:
@Dashrender I assugned the ip, statically
don't - see if it will get a DHCP address from your LAN
-
Please confirm that from the XS console that you can ping say 8.8.8.8.
Where do you have XenCenter installed? on your local windows desktop?
-
@dafyre i have another VM in VBOX (Windows) and i cannot ping that. the other VM's that reside in Vbox even xen host i can ping them
-
@Dashrender yes on my windows machine, i can ping google, and also i can download iso-s, i've used wget multiple times
-
@Alket_tux said in XenServer Networking:
@dafyre i have another VM in VBOX (Windows) and i cannot ping that. the other VM's that reside in Vbox even xen host i can ping them
so you have
(1)Windows desktop (host/physical install)
(1.1)-----Vbox
(1.1.1)---------XenServer
(1.1.1.1)-----------------CentOS
(1.1.2)---------Windows desktop (VM)You said you can ping 1.1.1, but not 1.1.2? is that right?
-
@Dashrender i have 1.1.3 xubuntu