This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
tech:unifi:vlans [2020/06/02 16:26] – travis | tech:unifi:vlans [2020/07/30 00:06] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | FIXME | ||
+ | |||
====== VLANs ====== | ====== 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: | 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. | 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. | + | |
+ | 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 ===== | ===== VLANs in UniFi ===== | ||
- | UniFi supports VLANs like you would expect. However, they do work // | + | |
+ | UniFi supports VLANs like you would expect. However, they do work // | ||
+ | ===== Creating a VLAN ===== | ||
+ | |||
+ | To create a VLAN, login to your UniFi controller, go to your site, and then go to **Settings > Networks > Local Networks**. Click on the button " | ||
+ | |||
+ | If you're prompted to create a Standard or Advanced network, click on Advanced. | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | Here's where things differ a little bit. In the Cisco world, you just create VLANs and worry about the details later. With UniFi, you need to decide if this is a VLAN-only (just a pain old 802.11q tag) or you're creating a new VLAN complete with subnet. Here's a hint - if you have a USG acting as your router, you want the latter. VLAN only gives you a rather simple set of options. Use this option if you have another firewall/ |