Help in Load-Balance Over VXLAN Tunnel

Hello,
I Used the following Config to set up load-balance Over VXLAN Tunnel in WAN side Underlay. But I could not do it with the following settings. In each scenario, traffic passes through only one VXLAN Tunnel.
Can I set up load-balance over VXLAN Tunnel in Vyos?

I use VyOS 1.3.0-epa1 version for both routers I have in my scenario.
Release train: equuleus
System type: bare metal

Topology

configuration
Vyos1:
set interface ethernet eth0 address dhcp
set interface ethernet eth1 address 172.16.1.1/24
set interface ethernet eth3 address 172.16.2.1/24
set protocols ospf area 0 network 172.16.1.0/24
set protocols ospf area 0 network 172.16.2.0/24
set protocols ospf redistribute connected

vyos2:
set interface ethernet eth0 address dhcp
set interface ethernet eth1 address 172.16.1.2/24
set interface ethernet eth3 address 172.16.2.2/24
set protocols ospf area 0 network 172.16.1.0/24
set protocols ospf area 0 network 172.16.2.0/24
set protocols ospf redistribute connected

vyos1: first vxlan Bridge.
set interfaces bridge br241 address ‘172.16.241.1/24’
set interfaces bridge br241 member interface ‘eth2’
set interfaces bridge br241 member interface ‘vxlan241’

set interfaces vxlan vxlan241 group ‘239.0.0.241’
set interfaces vxlan vxlan241 source-interface ‘eth1’
set interfaces vxlan vxlan241 mtu 1400
set interfaces vxlan vxlan241 port 4789
set interfaces vxlan vxlan241 vni ‘241’

vyos2: first vxlan Bridge.
set interfaces bridge br241 address ‘172.16.241.1/24’
set interfaces bridge br241 member interface ‘eth2’
set interfaces bridge br241 member interface ‘vxlan241’

set interfaces vxlan vxlan241 group ‘239.0.0.241’
set interfaces vxlan vxlan241 source-interface ‘eth1’
set interfaces vxlan vxlan241 mtu 1400
set interfaces vxlan vxlan241 port 4789
set interfaces vxlan vxlan241 vni ‘241’

vyos1: second vxlan Bridge.
set interfaces bridge br242 address ‘172.16.242.1/24’
set interfaces bridge br242 member interface ‘eth2’
set interfaces bridge br242 member interface ‘vxlan242’

set interfaces vxlan vxlan242 group ‘239.0.0.242’
set interfaces vxlan vxlan242 source-interface ‘eth3’
set interfaces vxlan vxlan242 mtu 1400
set interfaces vxlan vxlan242 port 4789
set interfaces vxlan vxlan242 vni ‘242’

vyos2: second vxlan Bridge.
set interfaces bridge br242 address ‘172.16.242.1/24’
set interfaces bridge br242 member interface ‘eth2’
set interfaces bridge br242 member interface ‘vxlan242’

set interfaces vxlan vxlan242 group '239.0.0.242
set interfaces vxlan vxlan242 source-interface ‘eth3’
set interfaces vxlan vxlan242 mtu 1400
set interfaces vxlan vxlan242 port 4789
set interfaces vxlan vxlan242 vni ‘242’

LoadBalancing
Vyos1:
set load-balancing wan interface-health vxlan241 nexthop 172.16.241.1 or 172.16.1.2
set load-balancing wan interface-health vxlan242 nexthop 172.16.242.1 or 172.16.2.2
set load-balancing wan rule 1 inbound-interface ‘eth2’
set load-balancing wan rule 1 interface vxlan241 weight 5
set load-balancing wan rule 1 interface vxlan242 weight 5
set load-balancing wan rule 1 per-packet-balancing
set load-balancing wan rule 1 protocoll-all

Vyos2:
set load-balancing wan interface-health vxlan241 nexthop 172.16.241.1 or 172.16.1.1
set load-balancing wan interface-health vxlan242 nexthop 172.16.242.1 or 172.16.2.1
set load-balancing wan rule 1 inbound-interface ‘eth2’
set load-balancing wan rule 1 interface vxlan241 weight 5
set load-balancing wan rule 1 interface vxlan242 weight 5
set load-balancing wan rule 1 per-packet-balancing
set load-balancing wan rule 1 protocoll-all

I also used br241 and br242 as the interface-health, but the same results were observed.
Thank you very much in advance. I would appreciate any help.

vyos1: first vxlan Bridge.
set interfaces bridge br241 address ‘172.16.241.1/24’
set interfaces bridge br241 member interface ‘eth2’
set interfaces bridge br241 member interface ‘vxlan241’

vyos1: second vxlan Bridge.
set interfaces bridge br242 address ‘172.16.242.1/24’
set interfaces bridge br242 member interface ‘eth2’
set interfaces bridge br242 member interface ‘vxlan242’

It is incorrect to set the same interface “eth2” to different bridges.

1 Like

Thank you for your attention.

Is it possible to use VXLAN tunnels for load balancing for the same traffic flow coming from Lan?
If possible, can you help me?