Page MenuHomeVyOS Platform

VxLAN and bridge error bug
Closed, ResolvedPublicBUG

Description

Trying to re-check behaviour described in T4729 I got bug that does not allow to have bridge and VxLAn in one commit

set interfaces bridge br0 member interface eth1
set interfaces bridge br0 member interface vxlan0

set interfaces ethernet eth0 address '192.0.2.2/30'
set interfaces ethernet eth0 description 'WAN'
set interfaces ethernet eth1 description 'Lan'

set interfaces tunnel tun0 address '10.0.0.2/24'
set interfaces tunnel tun0 description 'Gretap'
set interfaces tunnel tun0 enable-multicast
set interfaces tunnel tun0 encapsulation 'gretap'
set interfaces tunnel tun0 mtu '1500'
set interfaces tunnel tun0 parameters ip ignore-df
set interfaces tunnel tun0 parameters ip key '1'
set interfaces tunnel tun0 parameters ip no-pmtu-discovery
set interfaces tunnel tun0 parameters ip ttl '0'
set interfaces tunnel tun0 remote '203.0.113.2'
set interfaces tunnel tun0 source-address '192.0.2.2'

set interfaces vxlan vxlan0 group '239.0.0.241'
set interfaces vxlan vxlan0 mtu '1426'
set interfaces vxlan vxlan0 port '4789'
set interfaces vxlan vxlan0 source-interface 'tun0'
set interfaces vxlan vxlan0 vni '123'

commit:

vyos@vyos1# commit

WARNING: RFC7348 recommends VXLAN tunnels preserve a 1500 byte MTU


Error in updating VXLAN interface after changing bridge!

[[interfaces bridge br0]] failed

WARNING: RFC7348 recommends VXLAN tunnels preserve a 1500 byte MTU

Commit failed
[edit]
vyos@vyos1# run show ver
Version:          VyOS 1.4-rolling-202402160309
Release train:    sagitta

vyos@vyos1# compare 
[interfaces]
+ bridge br0 {
+     member {
+         interface eth1 {
+         }
+         interface vxlan0 {
+         }
+     }
+ }

[edit]
vyos@vyos1#

Details

Difficulty level
Normal (likely a few hours)
Version
VyOS 1.4-rolling-202402160309
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Unspecified (possibly destroys the router)
Issue type
Bug (incorrect behavior)