Hi,
If I rename physical interface for example from enp5s0 to "lan1" using systemd.link file, proxmox ve webui does not give me edit dialog for this interface. It works with boot parameter net.ifnames=0 (shows up as eth0), so dont know what is so different with this approach. It also shows Type as "Unknown" for the interface.
Everything else seems to work fine, bridging, tagging vlans to vm interfaces etc, so its not much of an issue, just something that noticed and maybe could be addressed in some point in future? Or is there some reason for this to be not valid configuration, that is not immediately obvious for me?
And the reason for doing any of this: consistent naming scheme is not so consistent when you switch in/out pcie devices on the system, so assigning interface name by mac address keeps it always the same.
config:
# cat /etc/systemd/network/10-persistent-lan1.link
[Match]
MACAddress=34:97:f6:54:69:dd
[Link]
Name=lan1
If I rename physical interface for example from enp5s0 to "lan1" using systemd.link file, proxmox ve webui does not give me edit dialog for this interface. It works with boot parameter net.ifnames=0 (shows up as eth0), so dont know what is so different with this approach. It also shows Type as "Unknown" for the interface.
Everything else seems to work fine, bridging, tagging vlans to vm interfaces etc, so its not much of an issue, just something that noticed and maybe could be addressed in some point in future? Or is there some reason for this to be not valid configuration, that is not immediately obvious for me?
And the reason for doing any of this: consistent naming scheme is not so consistent when you switch in/out pcie devices on the system, so assigning interface name by mac address keeps it always the same.
config:
# cat /etc/systemd/network/10-persistent-lan1.link
[Match]
MACAddress=34:97:f6:54:69:dd
[Link]
Name=lan1