the CPU port must be ticked if you want to route VLAN10 into the router (if you want to use VLAN10 internally in the router)
However, if you only want to forward VLAN10 to another port, the CPU port does not necessarily have to be ticked
If you route VLAN10 into the router, you must remember that a VLAN10 interface is created which is bridged with VLAN1 via the standard setting.
So if you route VLAN10 into the router, you should unbridge VLAN10 - as you certainly don't want to have a bridge between the two VLANs.
Difficult to explain, maybe I'll create a diagram tomorrow
Perhaps let me show you what I intent to setup, feel free to let me know what is the best setup.
Initially my ideal is to mix the untag / tag like show in "red" word but seeing the comment here it is best not to mix, so I will add the 50 on the trunk.
Let me know how shall I setup the switch config / networking.
Update: Seems I've managed to get it work partially on VLAN 10 & 50. I remove the VLAN 10 from CPU.
Then the E4200 has no access to the VLAN and VLAN10 is only forwarded from the WAN port to port 1.
I have already explained above that such a configuration is perfectly possible.
But if you don't answer my questions and don't explain to me which VLAN is used where and for what - then you'll just have to figure it out for yourself.
maxiscool wrote:
My AP now actually have untagged 50, and tagged 10. Possible to configure in UI to change this settings? Or command to make this?
Otherwise, I need to figure out on how to tinker on my AP.
No, this is not supported via the GUI.
We have already written this several times, either tagged or untagged but not both at the same time.
You can remove the tagging on Port1, then the switch may do something automatically that is IEEE 802.1Q compliant. (either tag all VLANs or tag 1 VLAN and untag 1)
With a lot of luck you will then get the desired configuration - or not.
I've running this for up to 2 days it seems no issue for me now.
However I am runnning into problem that based on my limited understanding of networking, my Ubiquiti AP need a untagged VLAN for management vlan it to communicate with the controller.
So whenver I put a tagged on it, the AP would not run well.
I know this being mentioned many times that there is not a great idea, but it seems I do not comprehend enough to make properly work.
Any pointers that can lead me to try out?
I will need untagged 50 for local traffic and 10 for the guest wifi on the AP.
Yeah I do you read your guide and proceed with try and error before posted more problem of what I face, I guess that you deserve "Guru" tag with the detail explanation
What you mean not persistent means, if I ever apply in the settings likely I need to reboot the device to get it back up?
Yeah unlikely I will change anything now until I see something doesn't work right again.
If the "Switch Config tab" is activated - the switch configuration is updated every time you press "apply" anywhere - even in the WLAN settings.
If the "Switch Config tab" is deactivated, this was (previously) not the case.
You just have to try it out, press apply everywhere (WLAN, Networking) and then check whether the port configuration remains unchanged "swconfig dev switch0 show".
In the Networking tab there is the problem that the bridge assignment is updated.
But this should not be a problem for you because you have the assignment redudant "brctl addif" and in the GUI "Assign to Bridge"
Without the "Assign to Bridge" you would lose the bridge assignments.
No, you do not have to restart the router, you simply add the commands to "Commands" and then click on "Run Commands"
You can also click on "Edit" which automatically inserts commands in "Commands".