#18242: enable_vlan4k keyword missing in BB 14.07 install using rtl8366rb
chipset
------------------------------------------+--------------------------------
Reporter: tim@… | Owner: developers
Type: defect | Status: new
Priority: normal | Milestone:
Component: base system | Version: Barrier Breaker
Keywords: vlan enable_vlan4k rtl8366rb | 14.07
------------------------------------------+--------------------------------
Hello, I am testing on a TP-LINK TL-WR1043ND router with a rtl8366rb
switch chipset using OpenWRt 14.07 Barrier Breaker final release.
I have found that the following cases -- a new BB 14.07 install, a reset
to BB defaults, and in an upgrade to 14.07 from 12.09 -- the enable_vlan4k
setting is not present in /etc/config/network.
The hardware supports this setting. LuCI also immediately adds it by
default. If I go to Network > Switch > make no changes > just click "Save
& Apply" on a new BB install, the switch section in /etc/config/network
changes from:
{{{
config switch
option name 'switch0'
option reset '1'
option enable_vlan '1'
}}}
to:
{{{
config switch
option name 'switch0'
option reset '1'
option enable_vlan '1'
option enable_vlan4k '1'
}}}
The problem I have run into is especially on upgrades. This keyword used
to not be needed to have tagged+untagged VLANs work. I have VLAN 1 and
VLAN 4, with VLAN 4 tagged on all ports. However, at least with 14.07 (and
maybe 12.09, not sure), tagged+untagged stops working until enable_vlan4k
is enabled, and then it works fine again after this setting is enabled.
This was hard to figure out when I first ran into it.
It would be helpful (as it seems enable_vlan4k should always be enabled)
to have the autodetection and configuration that LuCI does in
/usr/lib/lua/luci/model/cbi/admin_network/vlan.lua by checking the output
of "swconfig dev rtl8366rb help" to happen on OS startup somehow, so the
setting is always set right. This will fix any possible upgrade cases as
well as help those who make VLAN changes using SSH instead of through
LuCI.
Thanks,
Tim Miller Dyck
--
Ticket URL: <https://dev.openwrt.org/ticket/18242>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets