No vlan config on Cudy WR2100 possible

Ah... I see the problem. You have three bridges defined, both with the same ports. The ports can only be present in a single bridge. You also have a few other issues. We'll fix them.

Let's keep the standard br-lan. So... delete this:

Then edit the VLANs so that they use device br-lan:

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

config bridge-vlan
	option device 'br-lan'
	option vlan '20'
	list ports 'lan1:t'
	list ports 'lan2:t'
	list ports 'lan3:t'
	list ports 'lan4:t'

config bridge-vlan
	option device 'br-lan'
	option vlan '30'
	list ports 'lan1:t'
	list ports 'lan2:t'
	list ports 'lan3:t'
	list ports 'lan4:t'

config bridge-vlan
	option device 'br-lan'
	option vlan '40'
	list ports 'lan1:t'
	list ports 'lan2:t'
	list ports 'lan3:t'
	list ports 'lan4:t'

And delete this:

Now, edit the lan interface to use device br-lan.1:

config interface 'lan'
	option device 'br-lan.1'
	option proto 'static'
	option netmask '255.255.255.0'
	option ip6assign '60'
	option ipaddr '192.168.0.2'
	option gateway '1.1.0.1' # redacted

(obviously make sure your gateway is specified appropriately. (if the upstream is actually via the wan, omit the gateway entirely).

Restart when you're done with these changes.

1 Like