This gets rid of all non-alphanumeric characters, uses a generic "s" for "slot" instead of "pci" (which implies PCI, even if other technology is used in the future - or in the past as in ISA and MCA), and adds an "e" prefix (for Ethernet, becoming similar to your "em"). So you have:
em1
es4p1
es4p1v62
You could also omit the port number for single-port add-on cards, so for instance if the card on slot #4 only has one port, you could have "es4" and
"es4v62".
I think this scheme is shorter, prettier, and easier to pronounce over the phone.
Domsch: Consistent Network Device Naming coming to Fedora 15
Posted Jan 31, 2011 16:50 UTC (Mon) by bronson (subscriber, #4806)
[Link]
Love it. And if the catchall 's' is unweildy, you can have 'sp' for PCI, 'si' for ISA, etc.
As an ex-NOCmonkey, I really like the attention paid to phone readability. When the servers are on fire and the whole team is conferenced together, it's not fun to spend a minute trying to agree on what '#' and '_' are called.
Domsch: Consistent Network Device Naming coming to Fedora 15
Posted Jan 31, 2011 21:40 UTC (Mon) by cesarb (subscriber, #6266)
[Link]
> And if the catchall 's' is unweildy, you can have 'sp' for PCI, 'si' for ISA, etc.
I believe that is not the idea. The idea is, as far as I understood, to match the *labels* on the outside of the server. So the slot marked as "1" on the outside of the server should have a "1" on its network interface name, indifferent as to whether it is a PCI slot, a PCI-X slot, a PCIE slot, an ExpressCard slot some crazy hardware designer decided to add to a server, or some even crazier stuff (SDIO perhaps?).
Putting it in another way, what is in the inside (the bus used) does not matter, it is what is on the outside (the onboard port numbered Y or the slot numbered Z) that matters.
Domsch: Consistent Network Device Naming coming to Fedora 15
Posted Jan 31, 2011 21:43 UTC (Mon) by cesarb (subscriber, #6266)
[Link]
I just thought of yet another advantage of my scheme: with it, "iptables ... -i e+" matches everything Ethernet (ethX, emX, and esXpY...), in a single rule.