[systemd-devel] Rename NIC by using dynamic MAC

Reindl Harald h.reindl at thelounge.net
Thu Dec 3 07:38:39 PST 2015



Am 03.12.2015 um 16:22 schrieb Kaesbauer Michael:
> When I say first NIC, I mean the NIC at a specific physical port at the front plane (e. g. at the most right position). I do not mean the first NIC detected by the kernel.

you refuse to understand that the kernel has no concept about the 
ordering of physical ports on the plane - the kernel detects a NIC in a 
more or less random order and that's it

P.S.: don't reply offlist and don't top-post

> -----Ursprüngliche Nachricht-----
> Von: systemd-devel [mailto:systemd-devel-bounces at lists.freedesktop.org] Im Auftrag von Reindl Harald
> Gesendet: Donnerstag, 3. Dezember 2015 16:19
> An: systemd-devel at lists.freedesktop.org
> Betreff: Re: [systemd-devel] Rename NIC by using dynamic MAC
>
> Am 03.12.2015 um 16:13 schrieb Kaesbauer Michael:
>> Yes, I have many machines and each of those machines can have different number of NICs [2-4]. I want that the first NIC, at a specific port, has always the same NIC name
>
> there is nothing like "the first NIC" because "first" depends on timing
> when the kernel detects hardware which may be different *each time* you
> boot the machine - that's the reason for all the "predictable interface
> names" stuff be it biosdevname or the systemd implementation

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20151203/9f7843d0/attachment.sig>


More information about the systemd-devel mailing list