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

Re: [Xen-users] in domU eth0 is now eth3?



Yeah I've had this too :( The way I got around it was to install a package 
(apt-get in Debian) called ifrename in the domU. Specify a MAC address in your 
domU config so that dom0 won't choose one for you:

vif = [ 'type=netfront, mac=00:16:3e:00:02:01' ]

Or similar (prefix of 00:16:3e is reserved for Xen). Then in the domU do this:

echo 'eth0 mac 00:16:3e:00:02:01' > /etc/iftab

Next time you boot your domU it should always have that MAC on eth0.

Hope this helps,

Jim

----- Original Message -----
From: "Daire Byrne" <Daire.Byrne@xxxxxxxxxxxxxxxxxx>
To: "Jim Vanns" <Jim.Vanns@xxxxxxxxxxxxxxxxxx>
Sent: 15 March 2007 10:47:32 o'clock (GMT) Europe/London
Subject: Fwd: [Xen-users] in domU eth0 is now eth3?


Maybe you have the answer for this guy? ;-)

Daire

----- Forwarded Message -----
From: "Rune Elvemo" <rune.elvemo@xxxxxxx>
To: "Xen users" <xen-users@xxxxxxxxxxxxxxxxxxx>
Sent: 14 March 2007 15:15:16 o'clock (GMT) Europe/London
Subject: [Xen-users] in domU eth0 is now eth3?

We had a little strange experience here. We had to copy something to our
xen image. It was done while the domU was down, mounting using the
loopback device.
After we had finished the job, unmounted, and restarted the domU, we had
no eth0. Got an error message in the bootup. I thought something had
gone really wrong, and that we no more had network access in this
particular domU.

After checking things out, there was still an ethernet device, however
now it's listed as eth3 inside the domU. Is there a way to control what
the virtual ethernet device should be named inside the virtual domU? 

Given the current config it could  for instance all of a sudden turn up
as eth2, so it would be nice to be able to say that it should ALWAYS be
known as eth0

Anyone who has any suggestions?

(I've attached the current config, only diffence from the actual config
is that the real IP is not specified, there is only one bridge in use,
and eth3 does work exactly like the previous eth0 did)

Thanks!


-- 
James Vanns
Systems Programmer
Framestore CFC Ltd.


_______________________________________________
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®.