Page MenuHomeVyOS Platform

bridge will lose the tuntap member after reboots
Closed, InvalidPublic


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.


Difficulty level
Unknown (require assessment)
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Perfectly compatible
Issue type
Bug (incorrect behavior)

Event Timeline


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 ''
set interfaces tunnel tun0 remote-ip ''

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
erkin set Issue type to Bug (incorrect behavior).Aug 29 2021, 12:27 PM
erkin removed a subscriber: Active contributors.