On Sun, Apr 07, 2013 at 10:35:28PM +0700, Pandu Poluan wrote: > > AFAICT, on-board NICs have sequential MAC Adresses, with the one labeled > "Port 1" has the smallest MAC Address. So far, *all* Linux distros I've > used on a server will reliably name "Port X" as "eth$((X-1))". So it's > never a puzzle as to which port bears which "ethX" moniker.
My SuperMicro has the lower MAC wired to ID1 and the higher MAC to ID2: [ 11.691830] tg3 0000:03:00.0: eth0: Tigon3 [partno(BCM95721) rev 4101] (PCI Express) MAC address 00:d0:68:0b:87:67 [ 11.691985] tg3 0000:03:00.0: eth0: attached PHY is 5750 (10/100/1000Base-T Ethernet) (WireSpeed[1], EEE[0]) [ 11.692192] tg3 0000:03:00.0: eth0: RXcsums[1] LinkChgREG[0] MIirq[0] ASF[1] TSOcap[1] [ 11.692340] tg3 0000:03:00.0: eth0: dma_rwctrl[76180000] dma_mask[64-bit] [ 11.699283] tg3 0000:02:00.0: eth1: Tigon3 [partno(BCM95721) rev 4101] (PCI Express) MAC address 00:d0:68:0b:87:66 [ 11.699439] tg3 0000:02:00.0: eth1: attached PHY is 5750 (10/100/1000Base-T Ethernet) (WireSpeed[1], EEE[0]) [ 11.699591] tg3 0000:02:00.0: eth1: RXcsums[1] LinkChgREG[0] MIirq[0] ASF[0] TSOcap[1] [ 11.699738] tg3 0000:02:00.0: eth1: dma_rwctrl[76180000] dma_mask[64-bit] Which is precisely the reason for me using 70-persistent-net.rules since Gentoo was installed on it back in 2011. My ethernet cable is plugged into ID1, or MAC address 00:d0:68:0b:87:66, and /etc/conf.d/net must know which eth* that was assigned. > The new naming scheme, however, is much less intuitive. Where originally I > just immediately use eth0, now I have to enumerate the monikers first, > because even between servers of the same model (let's say, HP's DL360 G7), > the PCI attachment point might differ. My old brain has chosen to stick with "intuitive", which really just means "what you have become accustomed to", whatever that might be individually. > Granted, Linux SysAdmins *are* expected to understand the vagaries of > Linux, but it's still a great inconvenience. And therein lies the rub ... systemd has overtaken udev and changed the nomenclature. -- Happy Penguin Computers >') 126 Fenco Drive ( \ Tupelo, MS 38801 ^^ supp...@happypenguincomputers.com 662-269-2706 662-205-6424 http://happypenguincomputers.com/ A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? Don't top-post: http://en.wikipedia.org/wiki/Top_post#Top-posting