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

Re: [Xen-users] DHCP problem when changing motherboard



Evan Lavelle wrote:

What I think has happened is that the existing fc8-xen on my hard drive is confused about the network hardware on the new motherboard (a Dell R200 server). When the new board originally booted up, networking was disabled, but I fixed this by aliasing eth0 to eth3. The (old) driver seemed to have identified the new NICs at eth3 and eth4, rather than eth0/1.

How about changing the udev rules to reset your interfaces to eth0 and eth1 ?

Typically /etc/udev/rules.d/z25_persistent-net.rules contains lines like :

SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="aa:bb:cc:dd:ee:ff", NAME="eth0"

When you change hardware, udev will see the new MAC address and create rules for the next available interfaces. Just change eth3 to eth0 (or whatever the correct arrangement is) and after reboot you'll have the same interface names you originally had.
--
Simon Hobson

Visit http://www.magpiesnestpublishing.co.uk/ for books by acclaimed
author Gladys Hobson. Novels - poetry - short stories - ideal as
Christmas stocking fillers. Some available as e-books.

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