OVS Bond + bridge failed

vanhema

New Member
Feb 6, 2025
1
0
1
Hello All, I want to have a redundant path for my iscsi storage, and I want to use bond and bridge on a specific VLAN.
I've tried with the config below but I cannot ping the ip from another host.
my network switches are in trunk mode of course, any clues?

auto lo
iface lo inet loopback

iface eno1 inet manual

iface eno2 inet manual

iface eno3 inet manual

iface eno4 inet manual

auto enp3s0f0
iface enp3s0f0 inet manual
mtu 9200

auto enp3s0f1
iface enp3s0f1 inet manual
mtu 9200

auto bond0
iface bond0 inet manual
ovs_bonds enp3s0f0 enp3s0f1
ovs_type OVSBond
ovs_bridge vmbr1
ovs_mtu 9200
ovs_options bond_mode=active-backup other_config:lacp-time=fast tag=3333
#Iscsi

auto vmbr0
iface vmbr0 inet static
address 172.16.2.53/24
gateway 172.16.2.254
bridge-ports eno1
bridge-stp off
bridge-fd 0

auto vmbr1
iface vmbr1 inet static
address 3.3.3.221/24
ovs_type OVSBridge
ovs_ports bond0
ovs_mtu 9200
ovs_options tag=3333


1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: eno1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq master vmbr0 state UP mode DEFAULT group default qlen 1000
link/ether ec:f4:bb:de:a3:9c brd ff:ff:ff:ff:ff:ff
altname enp1s0f0
3: eno2: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000
link/ether ec:f4:bb:de:a3:9d brd ff:ff:ff:ff:ff:ff
altname enp1s0f1
4: eno3: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000
link/ether ec:f4:bb:de:a3:9e brd ff:ff:ff:ff:ff:ff
altname enp1s0f2
5: eno4: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000
link/ether ec:f4:bb:de:a3:9f brd ff:ff:ff:ff:ff:ff
altname enp1s0f3
6: enp3s0f0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 9200 qdisc mq master ovs-system state UP mode DEFAULT group default qlen 1000
link/ether a0:36:9f:7d:06:48 brd ff:ff:ff:ff:ff:ff
7: enp3s0f1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 9200 qdisc mq master ovs-system state UP mode DEFAULT group default qlen 1000
link/ether a0:36:9f:7d:06:4a brd ff:ff:ff:ff:ff:ff
8: ovs-system: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000
link/ether 0a:b1:58:d2:d3:0b brd ff:ff:ff:ff:ff:ff
9: vmbr1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 9200 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
link/ether a0:36:9f:7d:06:48 brd ff:ff:ff:ff:ff:ff
11: vmbr0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP mode DEFAULT group default qlen 1000
link/ether ec:f4:bb:de:a3:9c brd ff:ff:ff:ff:ff:ff
12: tap103i0: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master fwbr103i0 state UNKNOWN mode DEFAULT group default qlen 1000
link/ether d6:53:2e:c2:63:3c brd ff:ff:ff:ff:ff:ff
13: fwbr103i0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP mode DEFAULT group default qlen 1000
link/ether 42:4f:be:72:46:1f brd ff:ff:ff:ff:ff:ff
14: fwpr103p0@fwln103i0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master vmbr0 state UP mode DEFAULT group default qlen 1000
link/ether aa:4e:82:c0:17:0c brd ff:ff:ff:ff:ff:ff
15: fwln103i0@fwpr103p0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master fwbr103i0 state UP mode DEFAULT group default qlen 1000
link/ether 42:4f:be:72:46:1f brd ff:ff:ff:ff:ff:ff
17: bond0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
link/ether c6:78:4c:92:6e:cb brd ff:ff:ff:ff:ff:ff

and in the ovs-vswitchd.log, there are plenty of lines like this one:
2025-02-07T14:48:29.332Z|00028|ofproto_dpif_xlate(handler30)|WARN|dropping VLAN 3333 tagged packet received on port bond0 configured as VLAN 3333 access port on bridge vmbr1 while processing arp,in_port=1,dl_vlan=3333,dl_vlan_pcp=0,vlan_tci1=0x0000,dl_src=00:50:56:61:f7:ff,dl_dst=ff:ff:ff:ff:ff:ff,arp_spa=3.3.3.113,arp_tpa=3.3.3.93,arp_op=1,arp_sha=00:50:56:61:f7:ff,arp_tha=00:00:00:00:00:00
 
Last edited: