Pulling my hair out on a front end that has been through Proxmox4 -> Proxmox5 -> Proxmox6 -> Proxmox7 -> Proxmox8 upgrades.
This front end was using the old style NIC naming scheme of eth0, eth1, eth2 etc.
Typically not a huge deal.
- Move the /etc/udev/rules.d/ file out of the way and reboot
- System comes back up with persistent network names on the NIC
- Use ls /sys/class/net to determine the new network NIC names
- Adjust /etc/network/interfaces and reboot
I have done this 10's maybe even 100's of times on front ends over the years with no issues.
However, Proxmox7 -> Proxmox8 on these older front ends is not playing as expected. I am aware of the notes in the proxmox7 -> proxmox8 upgrade wiki with interfaces re-naming etc.
This doesn't seem to be that simple.
The only way I can get vmbr0, bond0 and bond1 to come up is with the following /etc/network/interfaces file.
Both bond0 and bond1 look good and are up. Lets just look at bond1 for now.
I want bond1 to be part of vmbr1 like below.
Interface file now looks like this.
Reboot the host with vmbr1 added and then bond1 doesn't come up.
Bond1 looks like this after adding vmbr1.
Anything I do in the GUI for networking is never applied etc. Ifupdown2 is installed etc.
If I remove vmbr1, bond1 comes up properly. Im at a loss.
				
			This front end was using the old style NIC naming scheme of eth0, eth1, eth2 etc.
Typically not a huge deal.
- Move the /etc/udev/rules.d/ file out of the way and reboot
- System comes back up with persistent network names on the NIC
- Use ls /sys/class/net to determine the new network NIC names
- Adjust /etc/network/interfaces and reboot
I have done this 10's maybe even 100's of times on front ends over the years with no issues.
However, Proxmox7 -> Proxmox8 on these older front ends is not playing as expected. I am aware of the notes in the proxmox7 -> proxmox8 upgrade wiki with interfaces re-naming etc.
This doesn't seem to be that simple.
root@supprox3:~# ls /sys/class/net/bond0  bond1  bonding_masters  enp4s0f0  enp4s0f1  enp5s0  enp6s0  ens5f0  ens5f1  lo  vmbr0The only way I can get vmbr0, bond0 and bond1 to come up is with the following /etc/network/interfaces file.
root@supprox3:~# cat /etc/network/interfacesauto loiface lo inet loopbackauto bond0iface bond0 inet static        address 10.211.45.3/24        bond-slaves enp5s0 enp6s0        bond-miimon 100        bond-mode active-backupauto bond1iface bond1 inet manual        bond-slaves enp4s0f0 enp4s0f1        bond-miimon 100        bond-mode active-backup        bond-primary enp4s0f0        mtu 9000auto vmbr0iface vmbr0 inet static        address 10.80.16.156/16        gateway 10.80.1.5        bridge-ports ens5f0        bridge-stp off        bridge-fd 0Both bond0 and bond1 look good and are up. Lets just look at bond1 for now.
root@supprox3:~# cat /proc/net/bonding/bond1Ethernet Channel Bonding Driver: v6.5.11-8-pveBonding Mode: fault-tolerance (active-backup)Primary Slave: enp4s0f0 (primary_reselect always)Currently Active Slave: enp4s0f0MII Status: upMII Polling Interval (ms): 100Up Delay (ms): 0Down Delay (ms): 0Peer Notification Delay (ms): 0Slave Interface: enp4s0f0MII Status: upSpeed: 10000 MbpsDuplex: fullLink Failure Count: 0Permanent HW addr: 00:11:0a:68:5c:94Slave queue ID: 0Slave Interface: enp4s0f1MII Status: upSpeed: 10000 MbpsDuplex: fullLink Failure Count: 0Permanent HW addr: 00:11:0a:68:5c:95Slave queue ID: 0I want bond1 to be part of vmbr1 like below.
auto vmbr1iface vmbr1 inet static        address 10.210.45.98/24        bridge-ports bond1        bridge-stp off        bridge-fd 0        mtu 9000Interface file now looks like this.
root@supprox3:~# cat /etc/network/interfacesauto loiface lo inet loopbackauto bond0iface bond0 inet static        address 10.211.45.3/24        bond-slaves enp5s0 enp6s0        bond-miimon 100        bond-mode active-backupauto bond1iface bond1 inet manual        bond-slaves enp4s0f0 enp4s0f1        bond-miimon 100        bond-mode active-backup        bond-primary enp4s0f0        mtu 9000auto vmbr0iface vmbr0 inet static        address 10.80.16.156/16        gateway 10.80.1.5        bridge-ports ens5f0        bridge-stp off        bridge-fd 0auto vmbr1iface vmbr1 inet static        address 10.210.45.98/24        bridge-ports bond1        bridge-stp off        bridge-fd 0        mtu 9000Reboot the host with vmbr1 added and then bond1 doesn't come up.
Bond1 looks like this after adding vmbr1.
root@supprox3:~# cat /proc/net/bonding/bond1Ethernet Channel Bonding Driver: v6.5.11-8-pveBonding Mode: fault-tolerance (active-backup)Primary Slave: enp4s0f0 (primary_reselect always)Currently Active Slave: NoneMII Status: downMII Polling Interval (ms): 100Up Delay (ms): 0Down Delay (ms): 0Peer Notification Delay (ms): 0Slave Interface: enp4s0f0MII Status: downSpeed: 10000 MbpsDuplex: fullLink Failure Count: 0Permanent HW addr: 00:11:0a:68:5c:94Slave queue ID: 0Slave Interface: enp4s0f1MII Status: downSpeed: 10000 MbpsDuplex: fullLink Failure Count: 0Permanent HW addr: 00:11:0a:68:5c:95Slave queue ID: 0Anything I do in the GUI for networking is never applied etc. Ifupdown2 is installed etc.
If I remove vmbr1, bond1 comes up properly. Im at a loss.
			
				Last edited: 
				
		
	
										
										
											
	
										
									
								 
	 
	
