Selecting VLAN to br-lan on EA8300 makes it unreachable

I've just updated a Linksys EA8300 to 23.05, and it is now using DSA. However, when I try and configure it with a VLAN I lose connectivity. Making the simplest of changes - from no VLAN filtering to a single untagged VLAN 1 (which unless I'm being dull should be the same thing) and it loses connectivity until rollback:

Looking at the logs, the only difference between the lost connectivity and what happens when it's reverted, is that after it reverts to previous settings it finds the DHCP server. Happy of course to post the full logs...

If anyone has any ideas that would be great! Many thanks in advance :slight_smile:

1 Like

I find it is easiest to do this via the direct editing of the config file. This is because of the sequencing issues that can arise in LuCI, whereas you can do everything at once in the config file directly.

Do you need help doing that?

2 Likes

Thank you - that's really kind of you. I know how to edit the files, and I think there's enough info in the documentation on syntax for me to give it a go - will let you know how I get on. Thanks again for such a generous reply.

David

Sounds good. If you run into issues or want a review:

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:
grafik
Remember to redact passwords, MAC addresses and any public IP addresses you may have:

ubus call system board
cat /etc/config/network

With this added to /etc/config/network (the 'interface 'lan'' section being amended as per below) it worked:

config bridge-vlan
	option device 'br-lan'
	option vlan '1'
	list ports 'lan1'
	list ports 'lan2'
	list ports 'lan3'
	list ports 'lan4:u*'

config bridge-vlan
	option device 'br-lan'
	option vlan '2'
	list ports 'lan4:t'

config interface 'lan'
	option device 'br-lan.1'
	option proto 'static'
	option ipaddr '192.168.1.1'
	option netmask '255.255.255.0'

Whatever Luci was generating it clearly wasn't that - but seems to populate back. From that starting point I've managed to get to the VLAN config I had pre-DSA.

For completeness, here's the system info:

        "kernel": "5.15.167",
        "hostname": "OpenWrt",
        "system": "ARMv7 Processor rev 5 (v7l)",
        "model": "Linksys EA8300 (Dallas)",
        "board_name": "linksys,ea8300",
        "rootfs_type": "squashfs",
        "release": {
                "distribution": "OpenWrt",
                "version": "23.05.5",
                "revision": "r24106-10cc5fcd00",
                "target": "ipq40xx/generic",
                "description": "OpenWrt 23.05.5 r24106-10cc5fcd00"

Thanks again for your help!

Generally everything looks fine here.

I would recommend that if ports 1-3 are untagged, specify that explicitly by adding :u* to each.

1 Like


I have the same ea8300 as yours. Before you hit the "save and apply". You need to make change the interface or you will lock yourself out. Sorry English is not my first language.
Screenshot 2024-10-18 060536|690x121