Hi everyone,
I'am struggeling with an bonding-konfiguration. Normally we use lacp within the bonds and everything works fine. (PVE 7.0)
In my actually usecase we have to use an active-passive konfiguration. As long as it is connected the bond works, only the failover did not work.
In my understanding if i use miimon, it will only detect interface-down states for failover to the passive nic. It seams that the interface status i can see in
ip a -> Interface "up" to "down" and
cat /sys/class/net/eno3/carrier -> changes from "1" -> "0"
BUT in Bond status MII always is UP, so no failover will be trigger.
cat /proc/net/bonding/bond1
This is the bond-part of the interfaces-konfiguration:
Did anyone have the same issue and maybe a solution for me?
Kind regards,
Mario
I'am struggeling with an bonding-konfiguration. Normally we use lacp within the bonds and everything works fine. (PVE 7.0)
In my actually usecase we have to use an active-passive konfiguration. As long as it is connected the bond works, only the failover did not work.
In my understanding if i use miimon, it will only detect interface-down states for failover to the passive nic. It seams that the interface status i can see in
ip a -> Interface "up" to "down" and
cat /sys/class/net/eno3/carrier -> changes from "1" -> "0"
BUT in Bond status MII always is UP, so no failover will be trigger.
cat /proc/net/bonding/bond1
Code:
Ethernet Channel Bonding Driver: v5.11.22-2-pve
Bonding Mode: fault-tolerance (active-backup)
Primary Slave: None
Currently Active Slave: eno3
MII Status: up
MII Polling Interval (ms): 0
Up Delay (ms): 0
Down Delay (ms): 0
Peer Notification Delay (ms): 0
Slave Interface: eno3
MII Status: up
Speed: 10000 Mbps
Duplex: full
Link Failure Count: 0
Permanent HW addr: *****
Slave queue ID: 0
Slave Interface: eno4
MII Status: up
Speed: Unknown
Duplex: Unknown
Link Failure Count: 0
Permanent HW addr: *****
Slave queue ID: 0
This is the bond-part of the interfaces-konfiguration:
Code:
auto lo
iface lo inet loopback
iface eno1 inet manual
iface eno2 inet manual
iface eno3 inet manual
iface eno4 inet manual
auto eno1
auto eno2
auto eno3
auto eno4
#### Bonding
# LAN-Bond0
auto bond0
iface bond0 inet manual
bond-slaves eno1 eno2
bond-miimon 100
bond-mode 802.3ad
# LAN-Bond0
# LAN-Bond1
auto bond1
iface bond1 inet manual
bond-slaves eno3 eno4
bond-mode active-backup
# bond-downdelay 200
# bond-updelay 200
# LAN-Bond1
Did anyone have the same issue and maybe a solution for me?
Kind regards,
Mario
Last edited: