[arch-general] [arch-dev-public] network interface naming with systemd 197

Leonid Isaev lisaev at umail.iu.edu
Mon Jan 7 10:35:45 EST 2013


On Mon, 07 Jan 2013 08:23:10 +0100
Andrea Scarpino <andrea at archlinux.org> wrote:

> On Monday 07 January 2013 07:51:30 Allan McRae wrote:
> > Upstream decision...  vanilla packages should follow it.
> 
> I agree with Allan. We don't use to change the default behavior. Ship it as 
> default and add two lines on how to disable it.
> 

If I may chime in... regarding switching from MAC-based iface naming to
ID_NET_NAME_PATH-based naming. How exactly are these ID_NET_NAME_PATH
variables assigned?

For instance, I have a box with 2 pci intel cards:
1. DEVPATH=/devices/pci0000:00/0000:00:05.0/0000:02:00.0/net/elan0
   ID_NET_NAME_PATH=enp2s0f0
2. DEVPATH=/devices/pci0000:00/0000:00:06.0/0000:03:00.0/net/elan1
   ID_NET_NAME_PATH=enp3s0f0

Do I correctly understand that "enp?s0f0" is chosen based on a particular pci
slot the card is inserted in and will change if I choose to replug the cards?

Thanks,
-- 
Leonid Isaev
GnuPG key: 0x164B5A6D
Fingerprint: C0DF 20D0 C075 C3F1 E1BE  775A A7AE F6CB 164B 5A6D
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: not available
URL: <http://mailman.archlinux.org/pipermail/arch-general/attachments/20130107/c5dd3c1d/attachment.asc>


More information about the arch-general mailing list