[NTLUG:Discuss] UDEV rules not working

Chris Cox cjcox at acm.org
Fri Jul 6 10:04:23 CDT 2007


VanSchuyver, Shawn (Contractor) wrote:
> Hello everybody,
>    I hope everyone is staying dry. I have an issue I hope you will be
> able to help me with.
> 
> I am running SUSE SLED 10. I have many servers of different ages, makes,
> and models that have multiple network cards: motherboard built-in plus
> extra NICs.  I have defined the following rules under /etc/udev/rules.d/
> in 10-local.rules to force the first 3Com network card to be eth0.  The
> rules only work about 80% of the time. I cannot figure out why the other
> 20% fails.
> 
> Even if there are more than 2 NICs there will only be 1 3Com network
> card. The 3Com NIC has to be eth0.
> 
> UDEV RULES: 10-local.rules
> 
> KERNEL=="eth*", SYSFS{vendor}="3Com Corporation", Name:="eth0"
> KERNEL=="eth*", SYSFS{Vendor}="3Com Corporation", Name:="eth0"
> KERNEL=="eth*", SYSFS{VENDOR}="3Com Corporation", Name:="eth0"
> 
> 
> Suggestions? Comments? 

Just curious... did you try following the instructions at:
/usr/share/doc/packages/sysconfig/README.Persistent_Interface_Names

Personally, I'd reset your local.rules back to the original and
follow the instructions mentioned above.



More information about the Discuss mailing list