Hi all,
I am trying to replicate my former vlan(!) swconfig and set up the new DSA switch config using the latest 5.4.4x, r13499 for my wrt3200acm, but w/o any success to date.
I have to set up four different bridges br-lan (vlan1), br-Media (vlan10), br-DMZ (vlan20) all connected via port lan1 and br-wan. My best guess combination will be:
...
config interface 'lan'
option type 'bridge'
option ifname 'lan1.1 lan2 lan3 lan4'
...
config interface 'wan'
option ifname 'wan'
option type 'bridge'
option proto 'dhcp'
...
config interface 'Media'
option type 'bridge'
option ifname 'lan1.10'
...
config interface 'DMZ'
option type 'bridge'
option ifname 'lan1.20'
...
The kernel was compiled based on David's config (@davidc502 many thnx for all of your efforts!) including the option "CONFIG_BRIDGE_VLAN_FILTERING".
I have to include the activation for VLAN filtering during startup (rc.local):
ip link set dev br-lan type bridge vlan_filtering 1
ip link set dev br-Media type bridge vlan_filtering 1
ip link set dev br-DMZ type bridge vlan_filtering 1
ip link set dev br-wan type bridge vlan_filtering 1
Internet (via wlan on vlan1) and br-wan is working, but no connection from/to any other devices via port lan1 vlan1/10/20.
"bridge vlan add dev lan1 vid 1 master" wil not work due to the absence of dev lan1.
Any ideas and/or help is highly appreciated.
@anomeome:
Do you still see any chance to go back to the former swconfig configuration for the switch real soon? I will be happy to redo everythig..
@shm0 - thnx for the inital entry point!
The normal configuration (w/o vlan) will work w/o any hiccups:
config interface 'lan'
option ifname 'lan1 lan2 lan3 lan4'
...
config interface 'wan'
option ifname 'wan'
...