New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dsa cannot use for bridge vlan changer #10538
Comments
on dsa: |
I sent this issue to show some shortcomings of dsa |
Are you not able to create an additional bridge with the vlans of those two ports included?
|
bridge create ok, but it would not work. |
Okay, yes, with that config, the bridge is created, with the correct members, but no traffic through it. I see on tcpdump ping reaches the inbound port.vlan, and bridge, but not the outbound port.vlan I poked around with a bridge-vlan config and think I got the inter-vlan / vlan translation I wanted. Moved from multiple bridges, to vlan-filtering aware single bridge, with a translation bridge atop bridge vlans, rather than the individual ports.
See if something like that works? I had
|
@john-tho great!
root@X-WRT:~# brctl show
bridge name bridge id STP enabled interfaces
br-lan 7fff.7483c2f52b84 no eth0
eth1
eth2
eth3
eth4
eth5
br-translate 7fff.7483c2f52b84 no br-lan.20
br-lan.30
root@X-WRT:~#
root@X-WRT:~# bridge vlan show
port vlan-id
eth0 2 PVID Egress Untagged
30
eth1 1 PVID Egress Untagged
20
eth2 1 PVID Egress Untagged
eth3 1 PVID Egress Untagged
eth4 1 PVID Egress Untagged
eth5 1 PVID Egress Untagged
br-lan 1
2
20
30
br-translate 1 PVID Egress Untagged
br-lan.20 1 PVID Egress Untagged
br-lan.30 1 PVID Egress Untagged
root@X-WRT:~#
|
top:
on swconfig platform, I could do this by setup an
br-lan(eth0.20 eth0.30)
and set vlan on switch to archive this.but how to archive the same goal on dsa platform?
The text was updated successfully, but these errors were encountered: