Page MenuHomeVyOS Platform

Bridge allows to specify the same member interface more than one time
Closed, ResolvedPublicBUG

Description

set interfaces bridge br10 member interface eth1
set interfaces bridge br20 member interface eth1
commit

Checking the interface assignment afterwards shows

# ip link show dev br20
242: br20: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP mode DEFAULT group default qlen 1000
    link/ether 62:34:3a:8a:fe:49 brd ff:ff:ff:ff:ff:ff
[edit]
# ip link show dev eth1
3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel master br20 state UP mode DEFAULT group default qlen 1000
    link/ether 00:50:56:b3:cd:ba brd ff:ff:ff:ff:ff:ff
    altname enp0s19
    altname ens19

The later addition wins and the CLI reports eth1 is assigned to br20 master br20. A member interface can not be used multiple times.

Details

Version
1.5-stream-202502230940
Is it a breaking change?
Perfectly compatible
Issue type
Bug (incorrect behavior)

Event Timeline

c-po claimed this task.
c-po triaged this task as Normal priority.
c-po changed the task status from Open to In progress.Mon, Feb 24, 5:04 PM
c-po moved this task from Backlog to Finished on the VyOS 1.4 Sagitta (1.4.2) board.
c-po moved this task from Open to Finished on the VyOS 1.5 Circinus board.
dmbaturin renamed this task from bridge: fix verify() to not allow member interface used multiple times to Bridge allows to specify the same member interface more than one time.Wed, Mar 12, 5:25 PM