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

Re: [Xen-users] 'Wandering' eth interface - Xen 3.0.4 + linux 2.6.16.29




udev is likely trying to make your network cards keep the same
addresses.  You can put something like this in
/etc/udev/rules.d/z25_persistent-net.rules:

# Xen virtual device (vif)
# We want to ignore this event, and let Xen set things up the
# way we specified in the config file.
SUBSYSTEM=="net", DRIVERS=="?*", 
ATTRS{address}=="00:16:3e:*",OPTIONS="ignore_device"

Another alternative is to specify the mac address when you create the domU.

Tom


On Tue, 1 May 2007, TMC wrote:

I have a Xen 3.0.4 with Debian Etch (4.0) running quite successfully...

except for an annoying problem, which i have not observed in other
DomU instances, nor have I observed it with my test server...

The problem I am observing in that one domain is that on reboot, the
eth interface seems to "wander" - that is  monotonically increase the
index value...

so on one reboot  it will be eth0 on next eth1, on one after that eth3
and so on.
Of course this causes all sorts of scripts to fail, and manual
intervention is required.

has anyone else seen this misbehaviour?

Is there a method of pinning or making this behaviour consistent?

Tomasz



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