|
|
|
|
|
|
|
|
|
|
xen-users
Re: [Xen-users] Fixed network interfaces
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
|
|
|
|
|