journalctl -b 0 | grep renamed
to check for a kernel message about renaming network devices (renamed from eth0, eth1, etc., not veth...). Then change /etc/network/interfaces
to use the new name, which probably only differs in one digit from the old name in that configuration file. journalctl -b 0 | grep renamed
Oct 24 19:32:38 pve kernel: r8169 0000:02:00.0 enp2s0: renamed from eth0
auto lo
iface lo inet loopback
iface enp2s0 inet manual
auto vmbr0
iface vmbr0 inet static
address 192.168.1.84/24
gateway 192.168.1.1
bridge_ports enp2s0
bridge_stp off
bridge_fd 0
Actually, the other way around: a network device was renamed toHi, I'm again working on this. This is the output ofaccording to your words the LAN has been renamed to eth0, as far as I can see the old name is enp2s0... Am I right?Code:journalctl -b 0 | grep renamed
Code:Oct 24 19:32:38 pve kernel: r8169 0000:02:00.0 enp2s0: renamed from eth0
enp2s0
, which is the name that will show up in ip a
and needs to be used in /etc/network/interfaces
. My guess is that the old name, used in /etc/network/interfaces
, was enp1s0
?This helped me tremendouslyMost onboard devices are also PCI(e) and therefore subject to this issue. Usejournalctl -b 0 | grep renamed
to check for a kernel message about renaming network devices (renamed from eth0, eth1, etc., not veth...). Then change/etc/network/interfaces
to use the new name, which probably only differs in one digit from the old name in that configuration file.
This helped me triple tremendously when I added an NVMe drive to my setup.Most onboard devices are also PCI(e) and therefore subject to this issue. Usejournalctl -b 0 | grep renamed
to check for a kernel message about renaming network devices (renamed from eth0, eth1, etc., not veth...). Then change/etc/network/interfaces
to use the new name, which probably only differs in one digit from the old name in that configuration file.
/etc/network/interfaces
file and restart networking with systemctl restart networking.service
and I was back in business.