Skip to content
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#2849 - AR8327 can't work on hybid VLAN tagging mode. #7639

Open
openwrt-bot opened this issue Feb 22, 2020 · 2 comments
Open

FS#2849 - AR8327 can't work on hybid VLAN tagging mode. #7639

openwrt-bot opened this issue Feb 22, 2020 · 2 comments
Labels
flyspray kernel pull request/issue with Linux kernel related changes

Comments

@openwrt-bot
Copy link

PaTTeeL:

I have 2 vlan channel in family network for IPTV STB with VLAN 51 & 85. My router is WZR-HP-G302H which have the same hardware with WZR-HP-G300NH2.

With the default vlans1&2, I set the switch has 4 vlan channels:
vlan1 goes cpu(port0) tagged, lan(port1-4) untagged, wan(port5) off,
vlan2 goes cpu(port0) tagged, lan(port1-4) off, wan(port5) untagged,
vlan51(for multicast) goes cpu(port0) untagged, IPTV(port1) tagged, PC(port2-4) off, wan(port5) tagged,
vlan85(IPTV stream) goes cpu(port0) untagged, IPTV(port1) tagged, PC(port2-4) off, wan(port5) tagged.
And I use TTL to logon my IPTV STB, with ifconfig eth0&eht0.85, I can see the STB got both internet routing ip(192.168.2.x) & IPTV intranet ip(217.xxx.xxx.xxx), but when I'm trying to ping 192.168.2.1, it failed.
When I set wan(port5) with vlan51&85 off, the internet was back, and got acks from ping 192.168.1.1.
So I tried to replace wan to port1-4 ,IPTV port to port2-5 with all the possibility, it shows the same problem.

Then I try to use the route with AP mode:
vlan1 goes cpu(port0) tagged, lan(port1-5) untagged,
vlan51 goes cpu(port0) off, lan(port1-5) tagged,
vlan85 goes cpu(port0) off, lan(port1-5) tagged.
The STB still got 2 IPs , which 192.168.1.x & 217.xxx.xxx.xxx both offerd by Modem's DHCP.
And the same problem appears: only port with both vlan51&85 turned off can got internet access, others not.

I tried firmwares openwrt-19.07.1-ath79-generic-buffalo_wzr-hp-g302h-a1a0-squashfs-sysupgrade.bin, openwrt-19.07.1-ar71xx-generic-wzr-hp-g300nh2-squashfs-sysupgrade.bin and openwrt-18.06.7-ar71xx-generic-wzr-hp-g300nh2-squashfs-sysupgrade, they shows the same problem while the port sets in hybird mode with vlan tagged & untagged.

So I have to seeks documents and troubleshoots for help. Finally I found the ticket:(https://dev.archive.openwrt.org/ticket/12181.html) told the same problem.
But the ticket is 5 yeas ago, and the ar8216.c no in 19.07.1 and 18.06.7 is definitely different, the "k"'s path is no longer available with new ar8216.c, so I have to report the bug here again.
Is there any patch or a new fixed version of ar8216.c work with hybird mode which inculde tagged & untagged frame on the same port? Thank you very much.

@openwrt-bot
Copy link
Author

PaTTeeL:

sorry for typing mistake:
But the ticket is 5 yeas ago, and the ar8216.c now in 19.07.1 and 18.06.7 is definitely different, the “k”‘s path is no longer available with new ar8216.c, so I have to report the bug here again.

@openwrt-bot
Copy link
Author

PaTTeeL:

Sorry ,it seems switch chip is AR8316?

@aparcar aparcar added the kernel pull request/issue with Linux kernel related changes label Feb 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
flyspray kernel pull request/issue with Linux kernel related changes
Projects
None yet
Development

No branches or pull requests

2 participants