I have a Linksys EA8500 WiFi Router running OpenWrt 25.12.0 and configured as a dedicated AP using directions found here. Ever since DSA, I have struggled to get the dedicated physical WAN port to be grouped and treated as a LAN port. Here are the default configured interfaces:
It seems like every which was I try to configure br-lan by adding things it doesn’t quit work out right. Here is what it looks like without any changes:
i’ve had this problem on different device (rt4230w) since DSA mmigration a couple years ago. i had to manually set the macaddr on the wan port to the same as the lan port before adding it to the bridge device.
for the rt4230w, i think the DSA migration was incomplete. dont know if this is also true for ea8500.
I added eth1 to br-lan. The change was accepted. This resulted in an inability to connect to the router via WiFi, ethernet to a LAN port, or ethernet via the WAN port. I had to reset the router.
This is why i’m on the forum: no matter how many ways I’ve tried to add the WAN port to br-lan it bricks the device. I haven’t been succesful in figuring this out.
Let's take a look at the config to see what is going on. It's actually very easy to handle this by means of editing the text file.
Please connect to your OpenWrt device using ssh and copy the output of the following commands and post it here using the "Preformatted text </> " button (red circle; this works best in the 'Markdown' composer view in the blue oval):
Remember to redact passwords, VPN keys, MAC addresses and any public IP addresses you may have:
I tested this but wasn't able to pay close enough attention to provide a proper reply. The router behaved unpredictably after the changes. I'll try to test this week and follow up when I have adequate time to document the behaviors. Thank you!
The only way we can really troubleshoot this is to see the complete config based on the changes that I recommended.
Please connect to your OpenWrt device using ssh and copy the output of the following commands and post it here using the "Preformatted text </> " button (red circle; this works best in the 'Markdown' composer view in the blue oval):
Remember to redact passwords, VPN keys, MAC addresses and any public IP addresses you may have:
Here you go. Thank you. Please remember I had to role back your previously suggested change to achieve device stability, so that is why you'll see WAN as an interface again.
root@OpenWrt:~# cat /etc/config/firewall
config defaults
option syn_flood 1
option input REJECT
option output ACCEPT
option forward REJECT
# Uncomment this line to disable ipv6 rules
# option disable_ipv6 1
config zone
option name lan
list network 'lan'
option input ACCEPT
option output ACCEPT
option forward ACCEPT
config zone
option name wan
list network 'wan'
list network 'wan6'
option input REJECT
option output ACCEPT
option forward DROP
option masq 1
option mtu_fix 1
config forwarding
option src lan
option dest wan
# We need to accept udp packets on port 68,
# see https://dev.openwrt.org/ticket/4108
config rule
option name Allow-DHCP-Renew
option src wan
option proto udp
option dest_port 68
option target ACCEPT
option family ipv4
# Allow IPv4 ping
config rule
option name Allow-Ping
option src wan
option proto icmp
option icmp_type echo-request
option family ipv4
option target ACCEPT
config rule
option name Allow-IGMP
option src wan
option proto igmp
option family ipv4
option target ACCEPT
# Allow DHCPv6 replies
# see https://github.com/openwrt/openwrt/issues/5066
config rule
option name Allow-DHCPv6
option src wan
option proto udp
option dest_port 546
option family ipv6
option target ACCEPT
config rule
option name Allow-MLD
option src wan
option proto icmp
option src_ip fe80::/10
list icmp_type '130/0'
list icmp_type '131/0'
list icmp_type '132/0'
list icmp_type '143/0'
option family ipv6
option target ACCEPT
# Allow essential incoming IPv6 ICMP traffic
config rule
option name Allow-ICMPv6-Input
option src wan
option proto icmp
list icmp_type echo-request
list icmp_type echo-reply
list icmp_type destination-unreachable
list icmp_type packet-too-big
list icmp_type time-exceeded
list icmp_type bad-header
list icmp_type unknown-header-type
list icmp_type router-solicitation
list icmp_type neighbour-solicitation
list icmp_type router-advertisement
list icmp_type neighbour-advertisement
option limit 1000/sec
option family ipv6
option target ACCEPT
# Allow essential forwarded IPv6 ICMP traffic
config rule
option name Allow-ICMPv6-Forward
option src wan
option dest *
option proto icmp
list icmp_type echo-request
list icmp_type echo-reply
list icmp_type destination-unreachable
list icmp_type packet-too-big
list icmp_type time-exceeded
list icmp_type bad-header
list icmp_type unknown-header-type
option limit 1000/sec
option family ipv6
option target ACCEPT
config rule
option name Allow-IPSec-ESP
option src wan
option dest lan
option proto esp
option target ACCEPT
config rule
option name Allow-ISAKMP
option src wan
option dest lan
option dest_port 500
option proto udp
option target ACCEPT
### EXAMPLE CONFIG SECTIONS
#removed to shorten the post