What Determines Order?
Frank Elsner
frank at moltke28.B.Shuttle.DE
Fri Sep 9 13:42:29 UTC 2011
On Fri, 9 Sep 2011 09:25:28 -0400 Gene Poole wrote:
> I've got a mother board with 2 embedded ethernet ports. I also have an
> PCI ethernet expansion board on this machine.
>
> My question is how can I control who is eth0, eth1, and eth2? I'm running
> Fedora 13.
Write /etc/udev/rules.d/70-persistent-net.rules to change the device names to
anything you wish. Such will take precedence over this physical location naming
scheme. Such rules may look like:
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", \
ATTR{address}=="00:11:22:33:44:55", ATTR{type}=="1", \
KERNEL=="eth*", NAME="public"
PS: This answer was stolen from
http://docs.fedoraproject.org/en-US/Fedora/15/pdf/Release_Notes/Fedora-15-Release_Notes-en-US.pdf
--Frank Elsner
More information about the users
mailing list