On 1/31/20 1:41 PM, Michael Stone wrote:
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).
The net.ifnames=0 used to work on my 2 port machine but quit about a year ago.
Messed up my firewall rules. Not very nice to have the internet side connected
to LAN port! That's when I went through the pain of understanding the systemd way!
--
*...Bob*