Bob Sanders, mused, then expounded: > > Actually, it's even easier - just delete > /etc/udev/rules.d/70-persistent-net.rules and reboot. Udev will create > a new /etc/udev/rules.d/70-persistent-net.rules with the correct > information. >
I'll caveat this a bit. It works fine in simple cases - onboard GigE. But in systems with add-in ethernet, GigE, or 10GigE cards, /lib/udev/write_net_rules will usually make the add-in card eth0. Some Quad GigE cards have rather weird port setups or PCI-bridge addressing schemes that end up with port 2 of 4 as eth0. In those cases, it's best to write 70-persistent-net.rules the way you want it. But remember - the mac addr has to be lower case, and all the syntax correct or udev will re-write it. Bob -
