[SOLVED] lost networking when upgrading from 8.0 to 8.1

Dec 23, 2020
10
0
6
50
Hi,

I upgraded the first node in my proxmox cluster from 8.0 to 8.1, and the GBE interfaces changed names from ethX to enoX. The interfaces show down and do not come up anymore:

2: eno1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
link/ether 78:45:c4:f8:11:ca brd ff:ff:ff:ff:ff:ff
altname enp2s0f0
3: eno2: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
link/ether 78:45:c4:f8:11:cb brd ff:ff:ff:ff:ff:ff
altname enp2s0f3

/etc/network/interfaces was updated to the new nomenclature, so no issues there.

This is what it looks like pre-upgrade:

2: eth0: <BROADCAST,MULTICAST,SLAVE,UP,LOWER_UP> mtu 1500 qdisc mq master bond0 state UP group default qlen 1000
link/ether 78:45:c4:fb:ee:21 brd ff:ff:ff:ff:ff:ff
altname eno1
altname enp2s0f0
3: eth1: <BROADCAST,MULTICAST,SLAVE,UP,LOWER_UP> mtu 1500 qdisc mq master bond0 state UP group default qlen 1000
link/ether 78:45:c4:fb:ee:21 brd ff:ff:ff:ff:ff:ff permaddr 78:45:c4:fb:ee:22
altname eno2
altname enp2s0f3

looking at dmesg after boot, I still see interfaces being referred to as ethX though:

[ 2.400814] igb 0000:02:00.0: added PHC on eth0
[ 2.400827] igb 0000:02:00.0: Intel(R) Gigabit Ethernet Network Connection
[ 2.400829] igb 0000:02:00.0: eth0: (PCIe:5.0Gb/s:Width x4) 78:45:c4:f8:11:ca
[ 2.400903] igb 0000:02:00.0: eth0: PBA No: 105000-000
[ 2.400904] igb 0000:02:00.0: Using MSI-X interrupts. 8 rx queue(s), 8 tx queue(s)
[ 2.470844] igb 0000:02:00.3: added PHC on eth1
[ 2.470857] igb 0000:02:00.3: Intel(R) Gigabit Ethernet Network Connection
[ 2.470858] igb 0000:02:00.3: eth1: (PCIe:5.0Gb/s:Width x4) 78:45:c4:f8:11:cb
[ 2.470931] igb 0000:02:00.3: eth1: PBA No: 105000-000
[ 2.470933] igb 0000:02:00.3: Using MSI-X interrupts. 8 rx queue(s), 8 tx queue(s)

Does anyone have any idea on how to fix?
 
I was able to figure it out. A few changes were required.

1) /etc/udev/rules.d/70-persistent-net.rules had a mapping of the interfaces to ethX
removed mappings and did update-initramfs -u
2) there were some keyword changes in /etc/network/interfaces

when configuring interfaces they need to have auto statement or they no longer come up:
auto eno1
iface eno1 inet manual

slaves keyword for bonding interfaces is replaced by bond-slaves
iface bond0 inet manual
bond-slaves eno1 eno2


Those changes did the trick for me and networking is back up after the upgrade to 8.1
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!