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

Re: Ethernet trouble



On Fri, Jan 31, 2020 at 01:31:43PM -0500, Bob Weber wrote:
First I created  /etc/systemd/network/10-eth0.link using the MAC address and
the name eth0.  If the MAC changes then there are other characteristics to add
to the [Match] section to uniquely define the port (see above link).

-------

root@debian-ZFS ~ # cat /etc/systemd/network/10-eth0.link
[Match]
MACAddress=52:54:00:ea:e3:53

[Link]
Name=eth0

You went through more effort than you needed to. You can turn off predictable names by simply booting with net.ifnames=0 on the kernel command line (you can make that permanent by editing GRUB_CMDLINE_LINUX= in /etc/default/grub and running update-grub).


Reply to: