You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If a bridge is created without any members, and vlan members are added later on, a reload of netifd does not properly create the bridge. A second reload of netifd is required for the bridge to appear.
The following network configuration can be used to reproduce the issue:
config device 'switch0'
option name 'switch0'
option type 'bridge'
Restart netifd. Add ports to bridge-vlans:
uci set network.switch0_4.ports='eth0:t eth1:* eth2:* eth4:'
uci set network.switch0_5.ports='eth0: eth2:t'
Reload netifd. The bridge configuration seems to be applied correctly, but the bridge is not created. A second reload of netifd is required. Starting the bridge manually (ifup switch0) also works.
Adding additional ports to an already existing and started bridge works as expected. Therefore, the bridge option option bridge_empty '1' can be used to work around this problem.
Restarting netifd instead of reloading also works as expected.
The text was updated successfully, but these errors were encountered:
fblaese:
If a bridge is created without any members, and vlan members are added later on, a reload of netifd does not properly create the bridge. A second reload of netifd is required for the bridge to appear.
The following network configuration can be used to reproduce the issue:
config device 'switch0'
option name 'switch0'
option type 'bridge'
config bridge-vlan 'switch0_4'
option device 'switch0'
option vlan '4'
config bridge-vlan 'switch0_5'
option device 'switch0'
option vlan '5'
Restart netifd. Add ports to bridge-vlans:
uci set network.switch0_4.ports='eth0:t eth1:* eth2:* eth4:'
uci set network.switch0_5.ports='eth0: eth2:t'
Reload netifd. The bridge configuration seems to be applied correctly, but the bridge is not created. A second reload of netifd is required. Starting the bridge manually (ifup switch0) also works.
Adding additional ports to an already existing and started bridge works as expected. Therefore, the bridge option
option bridge_empty '1'
can be used to work around this problem.Restarting netifd instead of reloading also works as expected.
The text was updated successfully, but these errors were encountered: