Page MenuHomeVyOS Platform

bridge will lose the tuntap member after reboots
On hold, Requires assessmentPublic

Description

Hello,
When the server reboots, bridge will lose the tuntap member,
From my understanding, it is caused by bridge is created before tunnel.
When VyOS creates the bridge, the tunnel e.g. tun0 is not created yet, and bridge will ignore that member.

This may be fixed by putting bridge config at end of interface config.

Details

Difficulty level
Unknown (require assessment)
Version
-1.3
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Perfectly compatible

Event Timeline

Hi,

Can you please share the entire configuration and version of the VyOS to reproduce the issue in the lab.

@jingyun Can you describe steps on how to reproduce it? Or re-check it.
My test config after reboot works fine

set interfaces bridge br0 member interface tun0
set interfaces tunnel tun0 encapsulation 'gre-bridge'
set interfaces tunnel tun0 local-ip '100.64.0.1'
set interfaces tunnel tun0 remote-ip '100.64.0.254'

Reboot the router:

vyos@r4-1.3:~$ sudo brctl show
bridge name	bridge id		STP enabled	interfaces
br0		8000.2abeb5c5c2e1	no		tun0
c-po changed the task status from Open to On hold.Jun 13 2021, 7:13 PM