Bridge interface isolated issue after reboot ( bridge member isolated)

Hi!

Version: VyOS 1.5-rolling-202409300007

After host rebooted isolation does not up.

Woking

Vyos int bridge memebers:

set interfaces bridge br1 member interface eth1.21 isolated

set interfaces bridge br1 member interface eth1.32 isolated

bridge -d link

21: eth1.21@eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 master br1 state forwarding priority 32 cost 5

hairpin off guard off root_block off fastleave off learning on flood on mcast_flood on bcast_flood on mcast_router 1 mcast_to_unicast off neigh_suppress off neigh_vlan_suppress off vlan_tunnel off isolated on locked off mab off mcast_n_groups 0 mcast_max_groups 0

24: eth1.32@eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 master br1 state forwarding priority 32 cost 5

hairpin off guard off root_block off fastleave off learning on flood on mcast_flood on bcast_flood on mcast_router 1 mcast_to_unicast off neigh_suppress off neigh_vlan_suppress off vlan_tunnel off isolated on locked off mab off mcast_n_groups 0 mcast_max_groups 0

Make reboot and …

After host rebooted isolations does not up.

Main config still here:

set interfaces bridge br1 member interface eth1.21 isolated

set interfaces bridge br1 member interface eth1.32 isolated

But if i do bridge -d link i have next output and loops

21: eth1.21@eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 master br1 state forwarding priority 32 cost 5

hairpin off guard off root_block off fastleave off learning on flood on mcast_flood on bcast_flood on mcast_router 1 mcast_to_unicast off neigh_suppress off neigh_vlan_suppress off vlan_tunnel off isolated off locked off mab off mcast_n_groups 0 mcast_max_groups 0

24: eth1.32@eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 master br1 state forwarding priority 32 cost 5

hairpin off guard off root_block off fastleave off learning on flood on mcast_flood on bcast_flood on mcast_router 1 mcast_to_unicast off neigh_suppress off neigh_vlan_suppress off vlan_tunnel off isolated off locked off mab off mcast_n_groups 0 mcast_max_groups 0

After manual

sudo bridge link set dev eth1.21 isolated on

sudo bridge link set dev eth1.32 isolated on all work properly

Is it any capability to have working “isolated on” bridge member interfaces always after host rebooted?

Hi!
UPD.

I`ve found a solution in VyOS Documentation.
изображение

So, what exactly did you add to postconfig?

@syncer
I just added in each interface via nano like this:

sudo bridge link set dev eth1.21 isolated on
sudo bridge link set dev eth1.32 isolated on

That`s all. After reboot I see “isolated on” if bridge -d link executed. It works in my case :+1:

1 Like

Thanks for sharing the solution! i will see if we can fix that so it will not require anything

2 Likes

please, check with a update version , I’ve tested this configuration and works as expected :

vyos@vyos:~$ show configuration commands | match br
set interfaces bridge br0 description 'test-iso'
set interfaces bridge br0 member interface eth1.10 isolated
set interfaces bridge br0 member interface eth1.20 isolated

value on our bridge :

vyos@vyos:~$ sudo bridge -d link
7: eth1.10@eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 master br0 state forwarding priority 32 cost 100
    hairpin off guard off root_block off fastleave off learning on flood on mcast_flood on bcast_flood on mcast_router 1 mcast_to_unicast off neigh_suppress off neigh_vlan_suppress off vlan_tunnel off **isolated on** locked off mab off mcast_n_groups 0 mcast_max_groups 0
8: eth1.20@eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 master br0 state forwarding priority 32 cost 100
    hairpin off guard off root_block off fastleave off learning on flood on mcast_flood on bcast_flood on mcast_router 1 mcast_to_unicast off neigh_suppress off neigh_vlan_suppress off vlan_tunnel off **isolated on** locked off mab off mcast_n_groups 0 mcast_max_groups 0

logic is present in our code :

vyos version :

vyos@vyos:~$ show version
Version:          VyOS 1.5-rolling-202410110006
Release train:    current
Release flavor:   generic

Built by:         autobuild@vyos.net
Built on:         Fri 11 Oct 2024 00:07 UTC
Build UUID:       733bf917-299f-4c47-a7cd-c092c1a84f0a
Build commit ID:  cde77d07d1615f

Architecture:     x86_64
Boot via:         installed image
System type:      KVM guest
Secure Boot:      n/a (BIOS)

Hardware vendor:  QEMU
Hardware model:   Standard PC (i440FX + PIIX, 1996)
Hardware S/N:
Hardware UUID:    5716411f-7870-44eb-8683-3ea09cdeba67

Copyright:        VyOS maintainers and contributors

I created a bug report ⚓ T6775 Bridge: the isolation option disappears after reboot

Hi!
@Viacheslav
Any updates about bug?