eth0 becomes eth1 after NIC swap

Mike Fleetwood mike.fleetwood at googlemail.com
Sat Jun 19 23:46:44 UTC 2010


On 19 June 2010 23:09, Tom Horsley <horsley1953 at gmail.com> wrote:
> You missed the /etc/udev/rules.d/70-persistent-net.rules
> file :-).
>
> You can edit the names in there to make the one you want
> to be eth0 actually be eth0.

Thanks Tom,

All sorted.  Edited 70-persistent-net.rules to this and rebooted.
# PCI device 0x10ec:0x8139 (8139too)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*",
ATTR{address}=="00:0c:76:dc:06:f9", ATTR{type}=="1", KERNEL=="eth*",
NAME="eth0"

Mike


More information about the users mailing list