Recently after replacing an HBA and booting my server running OMV5 I noticed that it won't connect to the network anymore. Not even the ethernet LEDs would light up. Upon checking dmesg I got the following:
[ 27.013796] eth0: renamed from veth3acd072
[ 27.123315] eth0: renamed from veth2c7a204
[ 934.731916] veth3acd072: renamed from eth0
[ 934.996108] veth7298456: renamed from eth1
[ 1310.256532] eth0: renamed from vetha02b746
I know what this problem is as I have experienced it on Raspberry Pi SBCs. It has to do with the system picking up the virtual interfaces created by Docker. The fix for it is normally easy:
Just adding denyinterfaces veth* to /etc/dhcpcd.conf or editing /etc/NetworkManager/NetworkManager.conf to contain:
However, I can't do either of those since OMV uses a different networking system.
I tried creating a rule in /etc/systemd/network/99-ignore-veth.network stating:
That did nothing.
Can anyone guide in what I should do in order to replicate the above fix on OMV 5. Thanks.