Page MenuHomeVyOS Platform

Wireless interface member of a bridge
Open, Requires assessmentPublicBUG

Description

Hi,

I recently migrated to vyos 1.3.0 (tested with epa3 and LTS) and have a problem :
I've a bridge interface which has some ethernet members and one wireless interface. If I save my configuration with the wlan0 interface member of the bridge interface, VyOS failed to setup config a bootime (probably because the wlan0 is not existing when it try to create the bridge and attach members) with this message :

migrate rl-system firewall configure failed

It results to a partialy loaded configuration : inexistant bridge interface, and some other parts are missing. If I remove the wlan0 member from the bridge directly in /config/config.boot ad reboot, no problem to start the router, but for sure the wlan0 interface is not "bridged"

Anthony.

Details

Difficulty level
Unknown (require assessment)
Version
1.3.0
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Unspecified (possibly destroys the router)
Issue type
Bug (incorrect behavior)

Event Timeline

I experience the same problem of VyOS failing to add wlan0 to bridge, which persists in all 1.3-epa and 1.3-LTS versions, as well as 1.4 nightly builds.

I can manually add the wireless interface to a bridge created by VyOS with no trouble using ip link and bridge link commands as root, but VyOS fails to run the same commands via configure/commit process. Please refer to my old pre-existing forum thread for details:

https://forum.vyos.io/t/1-3-epa-cannot-add-wlan0-to-bridge-via-configure/7881

Here are the notes from my post, which show the commit commands failing, and running the same commands by hand working fine:

OSError: [Errno 255] failed to run command: bridge link set dev wlan0 isolated off
returned:
exit code: 255

noteworthy:
cmd 'bridge link set dev wlan0 isolated off'
returned (out):

returned (err):
RTNETLINK answers: Operation not supported

[[interfaces bridge br0]] failed
Commit failed
[edit]
[email protected]# sudo ip link set dev wlan0 master br0
[edit]
[email protected]# sudo bridge link set dev wlan0 isolated off
[edit]
[email protected]# bridge link
4: eth2: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 master br0 state disabled priority 32 cost 100
7: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 master br0 state forwarding priority 32 cost 100
[edit]
[email protected]#

Operation not supported?? Apparently it is supported if I run it as root myself.
@atoy40 Can you try the same and see if your results match?

@klipz In my case, the only problem is adding the wlan interface to the bridge at startup (looks like an order thing), when vyos is started (and the wlan interface is up) no problem to add it to the bridge witth the CLI.

Anthony.