Skip to content

Configure VLANs and DHCP in UniFi Network 7.0

By Patrick Domingues3 min read
UniFi Tutorials

This illustrated VLAN walkthrough uses UniFi Network 7.0.25 on a UDM Pro. Preserve that version context when following the screenshots, and use the current vendor reference for newer interface labels.

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.

These screenshots document the older interface; check your installed version before following menu paths. 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 UniFi settings control

Step 3: Click Networks 
Networks section in UniFi Network 7.0

Step 4: Once the page loads click on Create New Network.
Create a new network in UniFi Network 7.0

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.
Name the new UniFi network

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 254 usable host addresses before gateway and other reservations
Configure network gateway and subnet

Step 7: Now locate Advanced Configuration and change it to Manual. 
Select manual advanced network configuration

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.  Review IGMP Snooping only if the network needs multicast handling. Also in your use case you may want to apply the Network Type and Content Filtering if needed.
Set the VLAN identifier

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.
Configure the DHCP lease range

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. 
Set DHCP DNS servers

Step 11: Now you can click Add Network.
Save the new UniFi network

With the VLAN created now you can apply it to just a port or create a Port Profile with specific VLANs.

I hope this article was helpful, if you have any questions, please feel free to contact me. If you would like to be notified of when I create a new post, you can subscribe to my blog alert.

Practical checks and next steps

A VLAN ID does not automatically enforce an inter-network security policy. Verify gateway/DHCP/DNS settings, switch tagging, client address assignment and firewall isolation separately. Test an allowed and a prohibited connection. A conventional /24 has 254 usable host addresses; the actual DHCP lease pool is smaller when gateway, static and reserved addresses are excluded. Choose IGMP snooping for a defined multicast requirement rather than as a universal speed improvement.

Explore Networking & Wi-Fi for related guides.

Reference 1 Reference 2

Content review: November 24, 2026. Reviewed the stated scope, guidance and source references; tenant, hardware and production changes were not executed as part of this editorial review. Original publication date retained.

Patrick Domingues, arms crossed

Patrick Domingues

Practical cybersecurity insights, IT tutorials, and tools for the systems you manage every day.

Discussion

  1. If you have VLAN11,12 and 13

    and you want
    Port 1 -> vlan 11,12,13
    port 2-4 –> vlan 12
    port 5-8 –> vlan 13

    How do you configure port 1?

    1. Your options are to configure
      Native VLAN / Network – you can set this for your ports that only need 1 vlan assigned.
      Tagged VLAN Management – set custom and select your vlans or all on port 1

Leave a Reply

Your email address will not be published. Required fields are marked *