device naming (mentioned in Fedora Weekly News 259)

Matt Domsch Matt_Domsch at dell.com
Fri Jan 21 17:03:03 UTC 2011


On Fri, Jan 21, 2011 at 10:44:49AM +0100, Roberto Ragusa wrote:
> If there is only one NIC, I want it to be eth0.

By default, it will be called em1 or pci<slot>#<port>.  There is no
way to know "there is only one NIC" at any point in time, as each
device is discovered in parallel, and devices may be hot-added or
hot-removed at any time.

To force any one port to be named eth0, you would create an entry for
the device in /etc/udev/rules.d/70-persistent-net.rules just as is
done today.

-- 
Matt Domsch
Technology Strategist
Dell | Office of the CTO


More information about the users mailing list