D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] ethXX device keeps incrementing?!

 

On Fri, 2009-10-02 at 13:25 +0100, Grant Sewell wrote:
>
> It is indeed udev.  I keep getting entries like this:
> [   20.752883] udev: renamed network interface eth0 to eth114
> 
> Quite disturbingly I also have the following in my
> /etc/udev/rules.d/70-persistent-net.rules file:
> 
> # PCI device 0x10de:0x054c (forcedeth)
> SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*",
> ATTR{address}=="00:00:6c:ae:5b:41", ATTR{type}=="1", KERNEL=="eth*",
> NAME="eth114"
> 
> Each newly created device is given a new MAC address.  They all have
> the same PCI device entry.
> 
Jumping in the middle here... not sure if it helps...

We had a problem on some of our servers with the interface numbers
changing around. We added the following type rules to udev to fix the
device names:

 KERNEL=="eth?", SYSFS{address}=="00:0e:7f:f0:d2:5b", NAME="eth0"  # tg3
 KERNEL=="eth?", SYSFS{address}=="00:0e:7f:f0:d2:5a", NAME="eth1"  # tg3




John.

-- 
John Horne                   Tel: +44 (0)1752 587287
University of Plymouth, UK   Fax: +44 (0)1752 587001

-- 
The Mailing List for the Devon & Cornwall LUG
http://mailman.dclug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/linux_adm/list-faq.html