In this tutorial you will learn how to configure a VLAN with DHCP on UniFI Controller 7.0.
VLAN Stands for “Virtual Local Area Network,” or “Virtual LAN.” A VLAN is a custom network created from one or more existing LANs. It enables groups of devices from multiple networks (both wired and wireless) to be combined into a single logical network. The result is a virtual LAN that can be administered like a physical local area network.
Let’s get started.
Make sure you are on latest Unifi Controller Version. This tutorial was created for version 7.0.25. I will be using a Unifi UDM Pro for this configuration.
Step 1: Log into your Unifi Controller.
Step 2: Click Settings
Step 3: Click Networks
Step 4: Once the page loads click on Create New Network.
Step 5: Name your Network for the use case it is intended for. For me, I have to create this VLAN for my Dell EqualLogic PS6100 which I may create tutorials for in the future.
Step 6: I like to keep control of my addresses and you should too. Uncheck Auto Scale Network and change your Host Address for this VLAN. Apply the Netmask appropriate for the networks use case. leaving it as a /24 will give you 249 usable IP address
Step 7: Now locate Advanced Configuration and change it to Manual.
Step 8: Change your VLAN ID. I like to match my VLAN ID’s to the 3rd octet of the lan subnet, in my case it would be 225. Enable IGMP Snooping for better performance. Also in your use case you may want to apply the Network Type and Content Filtering if needed.
Step 9: Under DHCP, you can change the DHCP Range. By doing this you can give yourself available addresses outside of the DHCP scope that you can use to give Static IP addresses to network devices. Once that is set click Show Options.
Step 10: Once more options are showing. Click Enable for DHCP DNS Server. Depending on the use case you may just want to use just internal DNS servers or have a mix of both.
Step 11: Now you can click Add Network.
With the VLAN created now you can apply it to just a port or create a Port Profile with specific VLANs.