WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

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

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Unable to get networking working with HVM guests
From: Wayne Pascoe <xen@xxxxxxxxxxxxxxxxxx>
Date: Fri, 21 Jul 2006 09:42:42 +0100
Delivery-date: Fri, 21 Jul 2006 01:44:00 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
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
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] Unable to get networking working with HVM guests, Wayne Pascoe <=