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

Re: [Xen-users] Fixed network interfaces

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Fixed network interfaces
From: Marcin Owsiany <marcin@xxxxxxxxxx>
Date: Tue, 14 Aug 2007 13:37:14 +0100
Delivery-date: Tue, 14 Aug 2007 05:38:26 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20070814123621.4ca4f6a1.adrianml@xxxxxxxxxxxxxx>
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>
Mail-followup-to: xen-users@xxxxxxxxxxxxxxxxxxx
References: <20070814123621.4ca4f6a1.adrianml@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.13 (2006-08-11)
On Tue, Aug 14, 2007 at 12:36:21PM +0200, Adrián M. Larumbe wrote:
> For example, I'd like my first domain to boot up with its ethernet card 
> interface named as "eth1".

It's the domU's kernel's duty to invent names for network interfaces. By
default Linux kernel names them starting with eth0, so if you have only
one, it will not go as far as eth1.

You might want to have a look at udev, which can rename the interfaces
to suit your needs. In Debian, just edit
/etc/udev/rules.d/z25_persistent-net.rules:

SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:17:f2:c6:67:72", 
NAME="eth1"

-- 
Marcin Owsiany <marcin@xxxxxxxxxx>              http://marcin.owsiany.pl/
GnuPG: 1024D/60F41216  FE67 DA2D 0ACA FC5E 3F75  D6F6 3A0D 8AA0 60F4 1216
 
"Every program in development at MIT expands until it can read mail."
                                                              -- Unknown

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

<Prev in Thread] Current Thread [Next in Thread>