Port VLAN? What does it actually do at low level?
First of all, I already know there are 2 types of VLAN:
- Port based VLAN
- Tag based VLAN (aka IEEE 802.1q)
The TL-R480T+ manual states that its switch uses port VLAN - I am fine with that.
It does indeed prevent hosts from different VLAN from communicating with each other. But the first strange thing I found after configuring 3 different VLANs is that: the router's interface that connects to the switch uses a single IP address 192.168.0.1 for all VLANs. How can it even happen?
I assumed that internally it created 3 different virtual interfaces facing 3 VLANs, with same IP address 192.168.0.1 for all 3 interfaces (sounds too stupid to be true). But then, I just realized that the DHCP server connected to all VLANs and handed out non-duplicate addresses to clients belonging to different VLAN. I used 2 computers connected to 2 different ports (or VLANs), and configured them to use the same IP address. Guess what? One of them did not work due to IP conflict.
Since when are hosts from different broadcast domains unable to use the same IP address? Is this considered the 3rd type of VLAN created by TP-Link?