Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FS#4002 - Networking: no bridge for WAN created #9023

Closed
openwrt-bot opened this issue Sep 3, 2021 · 1 comment
Closed

FS#4002 - Networking: no bridge for WAN created #9023

openwrt-bot opened this issue Sep 3, 2021 · 1 comment
Labels

Comments

@openwrt-bot
Copy link

openwrt-bot commented Sep 3, 2021

ddmesh:

Configuration tells to create a bridge for WAN device, but it just ignores it.
Openwrt 19 does create the bridge correctly.

In our project (freifunk dresden) it is essential that LAN and WAN are bridges because a the underlying interface
is changed dynamically (moved between bridges).

DISTRIB_ID='OpenWrt'
DISTRIB_RELEASE='21.02.0-rc4'
DISTRIB_REVISION='r16256-2d5ee43dc6'
DISTRIB_TARGET='ath79/generic'
DISTRIB_ARCH='mips_24kc'
DISTRIB_DESCRIPTION='OpenWrt 21.02.0-rc4 r16256-2d5ee43dc6'
DISTRIB_TAINTS='no-all no-ipv6'

/etc/config/network:
config interface 'lan'
option device 'br-lan'
option proto 'static'
option netmask '255.255.255.0'
option ipaddr '192.168.222.1'
option stp '1'
option bridge_empty '1'

config interface 'wan'
option device 'eth0.2'
option proto 'dhcp'
option type 'bridge'
option stp '1'
option bridge_empty '1'
option force_link '1'

@openwrt-bot
Copy link
Author

openwrt-bot commented Sep 3, 2021

ddmesh:

I manually change the network configuration to same as automatically generated for lan to:

config device
option name 'br-wan'
option type 'bridge'
list ports 'eth0.2'

config interface 'wan'
option device 'br-wan'
option proto 'dhcp'
option stp '1'
option bridge_empty '1'
option force_link '1'

This is configuration created the wan as bridge and assigned the eth0.2 to it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant