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
FS#2994 - MT7621 DSA: no VLAN tags on egress... #8741
Comments
n8v8R: The correct method for VLAN management of DSA ports (switch downstream ports) is via the
|
dl3it: I want to create a trunk port. But let's start for the beginning with a single port. I followed the examples you linked.
result:
packets are transmitted now correctly, but ping doesn't work. The answer is seen by lan1, br0 and eth0. eth0.117 sees nothing than the sent packets. any ideas ? |
dl3it: I forgot: |
n8v8R: Since this being a bug tracker and the initially reported issue seems resolved I am not sure this is the right place for an extended discourse on VLAN management of DSA ports. Perhaps the OpenWrt forum might be a more suitable place (see existing DSA threads there)? Just briefly thus:
|
dl3it:
create an interface:
ip link add link lan1 name lan1.117 type vlan id 117
ip link set lan1 up
ip link set lan1.117 up
ip addr add 192.168.117.7/24 dev lan1.117
Sniffing with tcpdump on LAN1, tcpdump -i lan1 -e, it claims that the packets on egress are tagged.
Sniffing with a PC on the network, the packets from the router are untagged. Packets are not forwarded by VLAN activated switch.
Ingress works as expected.
Same behaviour for all interfaces type IFACEx.VID, so also bridges, e.g. br0.117...
Kernel:
[ 0.000000] Linux version 5.4.31 (dl3it-mi3g@mySpace) (gcc version 8.4.0 (Ope
nWrt GCC 8.4.0 r12869-85aef6f627)) #0 SMP Thu Apr 9 07:54:02 2020
[ 0.000000] SoC Type: MediaTek MT7621 ver:1 eco:3
[ 0.000000] printk: bootconsole [early0] enabled
[ 0.000000] CPU0 revision is: 0001992f (MIPS 1004Kc)
[ 0.000000] MIPS: machine is Xiaomi Mi Router 3G v2
The text was updated successfully, but these errors were encountered: