VLANs [TechTrav Wiki]

Site Tools


Sidebar

unix_based.jpg

tech:unifi:vlans

This is an old revision of the document!


VLANs

VLAN stands for Virtual Local Area Network. The best way to think about VLANs is to think of each VLAN as a physical network. Only it's logical. Here's how you can visually think of VLANs:

You can see we have 3 networks - RED, BLUE, and GREEN. Each has its own subnet, router, and switch. There are 3 computers attached to each of these networks. Now imagine we combine these three separate networks into one physical network, but we still keep the RED, BLUE, and GREEN networks separate.

And just like that, we now have 3 independent networks running on a single physical network. Each of these networks is a virtual LAN inside the main LAN, or rather each of these networks is a VLAN inside the LAN. The only difference is that these LANs share existing equipment (such as the switch and router) but are logically isolated from each other.

VLANs in UniFi

UniFi supports VLANs like you would expect. However, they do work differently than what you're probably used to. If you're a network administrator in a corporate environment, you're probably used to the way Cisco handles VLANs. The way UniFi handles VLANs is different but similar. If you have any Cisco proprietary knowledge in your head, forget it. CDP does not work in UniFi. Instead, you need to use LLDP. There are no “trunk” ports in UniFi - that's a Cisco term. Same with “access”.

tech/unifi/vlans.1591129567.txt.gz · Last modified: 2020/07/30 00:06 (external edit)

technology is not a panacea