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] domU network configuration question

To: <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-users] domU network configuration question
From: "Bill Kelly" <billk@xxxxxxx>
Date: Mon, 5 Dec 2005 11:20:07 -0800
Delivery-date: Mon, 05 Dec 2005 19:18:40 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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
Hi,

I've installed xen-2.0.7, and I'm trying to get networking in my
domU set up correctly.

My server has one NIC, but five IP addresses.  My dom0 uses the
first IP address.  I'd like my domU to use the second IP address.

Originally my /etc/network/interfaces on the dom0 defined interfaces
for the first two IP addresses as:

 auto eth0
 iface eth0 inet static
 address 69.93.218.2
 netmask 255.255.255.248
 gateway 69.93.218.1

 auto eth0:0
 iface eth0:0 inet static
 address 69.93.218.3
 netmask 255.255.255.248

I have removed "eth0:0" from dom0, but I would like that 69.93.218.3
IP address to be assigned to the domU.  My domU /etc/network/interfaces
now looks like:

 auto eth0
 iface eth0 inet static
 address 69.93.218.3
 netmask 255.255.255.248
 gateway 69.93.218.1

As you can see, I just copied what used to be "eth0:0" on dom0, and
put it in the domU (adding the gateway parameter from dom0's eth0.)

However, this doesn't appear to be working. The domU boots up, and the interface is there with correct-looking parameters - but I can't
ping anything.

If anyone can point out what I'm doing wrong, it'd be most
appreciated.

Thanks!

Regards,

Bill



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