[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-users] Unable to get networking working with HVM guests



All,

I have a Windows machine running as an HVM guest, but I am unable to get networking to work. I have tried a number of different things, but all with no result.

After each change to /etc/xen/xend-config.sxp I find that I have to reboot for the changes to work. Restarting xen by doing /etc/init.d/ xend restart kills all dom0 networking.

The two main things that I have tried so far are as follows:
Bridged networking via dummy0
In /etc/xen/xend-config.sxp I have the following:
(network-script network-bridge netdev=dummy)
(vif-script vif-bridge)

In my vm config I have the following:
vif = [ 'type=ioemu, bridge=xenbr0, ip=192.168.11.2' ]

dummy0 has an IP address of 192.168.11.1 with a subnetmask of 255.255.255.0 I then configure windows to use 192.168.11.2 as the IP address. I am unable to ping 192.168.11.1 and I am unable to ping windows from dom0

I then tried bridging to eth0:2 which is an existing interface on dom0 that all the other machines on my network use as their default gateway. This results in the following changes...

/etc/xen/xend-config.sxp:
(network-script network-bridge netdev=eth0:2)
(vif-script vif-bridge)

vmconfig:
vif = [ 'type=ioemu, bridge=xenbr0, ip=192.168.10.100' ]


I restart my actual machine after these changes, then when it comes back, I start my guest machine. I then change the IP to be 192.168.10.100. I am unable to ping 192.168.10.1 from the guest and I can't ping 192.168.10.100 from dom0.

During all of these tests, tcpdump shows no traffic at all.

Can anyone advise how I go about fixing this please ?

--
Wayne Pascoe    (gpg --keyserver www.co.uk.pgp.net --recv-keys 79A7C870)
I laugh in the face of danger... Then I
run and hide until it goes away!

Attachment: PGP.sig
Description: This is a digitally signed message part

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.