[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Debian 10 --> 11 on Dell R740: network interfaces renamed



On Thu 09 Jun 2022 at 10:42:07 (+0200), Harald Dunkel wrote:
> 
> If I have to hardwire the interface names to their Mac address as you
> suggested, then I don't see a significant difference to the old-style
> /etc/udev/rules.d/70-persistent-net.rules we had till Debian 10, except
> that the former was auto-generated and easier to modify.

The autogeneration wasn't always popular. If your network card packed
up and you replaced it with another, suddenly your eth0 configuration
would fall over because the new card's interface became eth1. Or eth2
if there was already an eth1 lurking in the file.

Perhaps calling the new interface naming scheme "predictable" is
somewhat overselling it, but "persistent" (a better choice IMHO)
was already in use, both in the way quoted above, and as one of
the choices for MAC address generation.

Easier to modify? I'd say the INI file syntax is easier to write and
maintain than incantations like:

SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:13:49:f0:0b:aa", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="wlan*", NAME="wlan0"

Cheers,
David.


Reply to: