UniFi · Network policy

UniFi VLAN and Network Segmentation Fundamentals

A separate network name is only the beginning. Good segmentation gives each device the connections it needs and verifies that unwanted access is blocked.

In plain English

A VLAN separates a local network into groups. A subnet is an address range. Routing connects those ranges; an access policy decides which communication should be permitted. A trunk carries multiple VLANs between compatible devices.

Reviewed September 2026 · 3 minute read

Write a small access plan first

Direct link

Group devices by purpose: staff, guests, business servers, building devices and administration. Record what each group needs to reach. Creating many VLANs without a clear purpose adds support work without proving better protection.

Example policy decisions to adapt to your business
FromAllowRestrict
GuestsApproved internet and necessary network services.Internal business systems and administration.
StaffRequired applications and printing.Unnecessary access to infrastructure settings.
Building devicesNamed controllers and required update services.Unrelated business networks.
AdministratorsApproved management connections.Access beyond the assigned role.

Connect the VLAN from gateway to client

Direct link

A VLAN identifies a separate Layer 2 network. Each routed network normally has its own nonoverlapping IP subnet. Record its VLAN ID, gateway, DHCP settings and DNS. If another vendor’s router handles it, configure addressing and access policy there as well.

  1. Endpoint port: an ordinary untagged device joins the port’s native VLAN. An access port typically carries only that network.
  2. Uplink: a trunk carries the required tagged VLANs between VLAN-aware devices. The permitted list must agree with the downstream requirements.
  3. Wireless: the SSID places clients on its assigned network. The AP uplink must carry those client VLANs while preserving the AP’s management path.

Review the official port-assignment guide before changing AP or switch uplinks. An incorrect native/tagged combination can strand equipment even when the cable is good.

Apply restrictions where traffic actually passes

Direct link

Routing can connect VLANs. A different subnet is not proof of isolation. On a supported UniFi gateway, zone-based rules govern traffic between grouped interfaces; check the actual zone assignments, rule order and existing permissions. Configure the router doing the work, including any Layer 3 switch paths.

Allow required services with specific sources, destinations and protocols. Preserve essential DHCP and DNS when restricting gateway access. Printing or casting may need both discovery and application traffic; enabling discovery alone does not grant a working service. See UniFi’s firewall reference.

Between networks

Use the appropriate routing/firewall policy for that path.

Within one network

Evaluate supported switch ACLs and wireless client isolation for device-to-device traffic.

Gateway rules cannot filter traffic that never reaches the gateway. An AP isolation option also should not be assumed to cover every wired or other-AP path. Ubiquiti’s isolation guide separates these controls.

Test the policy, not just the settings

Direct link

Use representative wired and wireless clients. For each important source-to-destination pair, record the application or port, expected result and observed result. Confirm addressing, DNS, required internet access and authorized business services.

Also test that guests cannot reach sensitive systems or administration. One failed ping proves little about other protocols. Include IPv6 when enabled and verify any same-network isolation requirement.

Keep a recovery path: back up the configuration, keep approved local administrative access and make one controlled change at a time. Save the final network map and access matrix with the handoff.

Control who can reach what

Direct link
FromToExpected result
StaffApproved printer serviceAllow; verify the print job.
GuestsApproved internet serviceAllow; verify name lookup and the task.
GuestsPrinter / staff / administrationBlock the defined paths and verify.

Your practical challenge

For a staff laptop, guest phone and printer, write three required results: staff can print, guests can browse, guests cannot reach the printer or administration. Include the DNS and DHCP services each group needs. Test IPv6 behavior if enabled.

Explain your result, the evidence you used and what remains untested. Use the reference library when you need a chart or worked example.

Put it into practice

Check what you learned

Choose an answer for each question, then check your understanding. Your answers stay in this browser.

1. A guest phone gets a different subnet but can reach the staff printer. What happened?
2. An endpoint’s untagged traffic reaches the wrong network. What should you check?
3. What proves the segmentation plan works?

Read the answers and explanations
  1. Addressing is separate, but the access policy or its enforcement needs work.

    Separate subnets do not by themselves establish blocked access.

  2. The port’s native/untagged VLAN assignment and the path carrying it.

    Network assignment must match the intended endpoint and uplink configuration.

  3. Required apps succeed and prohibited access is blocked from representative devices, including IPv6 where used.

    Acceptance must test each role’s intended behavior.

Sources and further reading

Keep your momentum

Ready for the next step?

If you can explain the example and your answer, try the next lesson. Revisit the feedback whenever you need it.

FryAVSI · Updated September 10, 2026

Reference this lesson or use a section’s direct link for a particular chart or example. How to cite an example.

FryAVSI · Northeast Ohio and beyond

A clear next step for your project.

Share the location, the challenge and your target timing. Our team will help define the work.

Talk with our team