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#932 - TP-Link WR841N: mixed VLANs on the same port #7110

Closed
openwrt-bot opened this issue Jul 25, 2017 · 4 comments
Closed

FS#932 - TP-Link WR841N: mixed VLANs on the same port #7110

openwrt-bot opened this issue Jul 25, 2017 · 4 comments
Labels

Comments

@openwrt-bot
Copy link

HeNet:

Hi,
i have several TP-Link WR841N v9/v10/v11 running LEDE trunk. Configuring tagged and untagged VLANs on the same port fails.

cat /etc/config/network
config switch
option name 'switch0'
option reset '1'
option enable_vlan '1'

config switch_vlan
option device 'switch0'
option vlan '1'
option ports '0 1 2 3 4'
option vid '1'

config switch_vlan
option device 'switch0'
option vlan '2'
option ports '0t 1t 2t 3t 4t'
option vid '2'

swconfig dev switch0 show
Global attributes:
enable_vlan: 1
Port 0:
pvid: 1
link: port:0 link:up speed:1000baseT full-duplex txflow rxflow
Port 1:
pvid: 1
link: port:1 link:down
Port 2:
pvid: 1
link: port:2 link:down
Port 3:
pvid: 1
link: port:3 link:down
Port 4:
pvid: 1
link: port:4 link:up speed:100baseT full-duplex auto
VLAN 1:
vid: 1
ports: 0t 1t 2t 3t 4t
VLAN 2:
vid: 2
ports: 0t 1t 2t 3t 4t

@openwrt-bot
Copy link
Author

jow-:

This is only supported on very few switch types. Did this work with a prior version of LEDE, OpenWrt or on the stock firmware?

@openwrt-bot
Copy link
Author

HeNet:

The switch seems to support mixed VLANs.

https://github.com/Deoptim/atheros/raw/master/QCA9531_V2.0_nowatermark.pdf

@openwrt-bot
Copy link
Author

luizluca:

Is there any news on this? This is happening with other TP-link models, like tl-wr740n-v1.

I didn't notice that limitation with previous version (maybe it was there). If the switch does not support it, at least luci could tell that. It's very confusing to have a configuration that does not match the applied state. Imagine those users that does not have CLI experience. They do not even know that swconfig exists.

@openwrt-bot
Copy link
Author

jow-:

at least luci could tell that

No it can't since it is impossible to know that at runtime.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant