#22316: Can't assign VLAN id >= 128 on TP-LINK 1043nd v2 (ar8327)
-----------------------------------+---------------------------------------
Reporter: fzipi@… | Owner: developers
Type: defect | Status: new
Priority: normal | Milestone: Designated Driver (Trunk)
Component: kernel | Version: Chaos Calmer 15.05
Keywords: vlan, ar8327, 1043nd |
v2 |
-----------------------------------+---------------------------------------
We were struggling trying to assign vlans with vid > 128 on TP-LINK 1043nd
v2 (Chaos Chalmer).
[https://wikidevi.com/files/Atheros/specsheets/AR8327_AR8327N.pdf
Documentation says ] that it supports vlans up to 4096 (or 4k).
A simple test shows this problem (/etc/config/network):
{{{
config switch
option name 'switch0'
option reset '1'
option enable_vlan '1'
option enable_vlan4k '1'
config switch_vlan
option device 'switch0'
option vlan '127'
option ports '3 4 5t'
option vid '127'
config switch_vlan
option device 'switch0'
option vlan '96'
option ports '5t 6'
config switch_vlan
option device 'switch0'
option vlan '2'
option ports '5 6'
}}}
swconfig dev switch0 show:
{{{
Global attributes:
enable_vlan: 1
enable_mirror_rx: 0
enable_mirror_tx: 0
mirror_monitor_port: 0
mirror_source_port: 0
arl_table: address resolution table
....
VLAN 2:
vid: 2
ports: 5 6
VLAN 96:
vid: 96
ports: 5t 6t
VLAN 127:
vid: 127
ports: 3 4 5t
}}}
If you change vid = 127 vid = 128 it doesn't work anymore. VLAN won't
show, and device isn't configured.
Same problem happens if using swconfig:
{{{
#swconfig dev switch0 vlan 180 set ports '3 4'
failed
# swconfig dev switch0 vlan 128 show
VLAN 128:
vid: ???
ports: ???
}}}
but with vlan_id < 128 it works:
{{{
# swconfig dev switch0 vlan 127 set ports '3 4'
# swconfig dev switch0 vlan 127 show
VLAN 127:
vid: 127
ports: 3 4
}}}
--
Ticket URL: <https://dev.openwrt.org/ticket/22316>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets