Today I got faced with DSA. I completley forgot about because my devices are still not converted. I've read some threads here but I still have some questions:
- Is there any timeframe when there will be a LuCI click solution be available?
- Is it right that if I say that there is no "real" VLAN available anymore? In terms that the CPU isn't involved anymore. Instead the "switch/driver" itself is tagging now directly.
- Configuration is done with ip and ip-bridge? Or do I miss here something (had to find out that I have to install it ?
- Given I would split off eth4 on my EdgeRouterX:
config interface 'lan'
option type 'bridge'
option proto 'static'
option netmask '255.255.255.0'
option macaddr ':EF:76:1C'
option ip6assign '64'
option gateway '192.168.178.40'
option ipaddr '10.0.1.1'
option ifname 'eth1 eth2 eth3'
config interface 'zedge'
option proto 'static'
option gateway '192.168.179.40'
option netmask '255.255.255.0'
option ip6assign '64'
option macaddr ':20:1D:AB'
list ip6class 'wan6'
list ip6class 'local'
option ip6ifaceid 'eui64'
option ifname 'eth4'
option ipaddr '10.0.5.1'
What I have to do now is (I don't know for sure so it is more a question):
# setup a "new" bridged interface for tagging:
ip link add name br-zedge type bridge
# enable/setup tagging for new interface:
ip link set dev br-zedge type bridge vlan_filtering 1
# assign interfaces to br-zedge:
ip link set dev eth4 master br-zedge
# remove "old" tag and assign new the tag:
bridge vlan del dev eth4 vid 1 # should not be necessary because br-lan is not vlan aware by default?
bridge vlan add dev eth4 vid 10 pvid tagged # add new tag
- Wouldn't it be enough to just assign/remove tag on eth4 and forget about the bridge or am I wrong? I did not test so far anything. This is just guessing.
- Given I want to add tag 10 to eth3 on br-lan. How would I do that? I would do it like that:
ip link set dev br-lan type bridge vlan_filtering 1
bridge vlan add dev eth3 vid 10 pvid tagged
Thx for help/input in advance. ^^