Testing my Understanding of the Tagged Port to Router
Good day!
I used a TP link guide in setting up my VLANs. The setup uses a router, a switch, and an access point connected to the switch to give wifi for vlans.
https://www.tp-link.com/ae/support/faq/418/
According to the guide, port 1 on the switch is connected to the access point and is "tagged" on each of the vlans set up (excluding the default vlan). As for port 2 on the switch, it is connected to the router/gateway and is "untagged" for each of the vlans created on the gui.
1- After changing the VLAN pvids for each port associated with a vlan to reflect the id of that particular vlan, I realized that the ports connected to the access point as well as the router/gateway were left unchanged. They have pvid 1.
Can i not change that to 666? The guide only mentions that "The PVID of Port 1 and Port 2 should be“1” and PVID of the other ports should be consistent with the corresponding VLAN ID."
I ask because the whole point of the setup is to isolate traffic and not use vlan1 in any way. Yes, I know vlan 10 traffic has to be forwarded to port 2 to reach the switch, but why does the port 2 need to have a pvid 1?
2- I'm confused over the following:
The uplink port in this setup is the port going to the router/gateway, and thus is Port 2, right? My understanding is that it is also a "trunk" port. However, almost every forum thread I go through labels the switch port connected to the router as a "tagged" port. But our above-mentioned guide clearly states the opposite- that Port 2 is "Untagged" while Port 1 (connected to AP is Tagged).
I really appreciate your help! Note that I'm a beginner but have been reading for months actually, so I know some basic stuff.