Ubiquiti UniFi Training: set up a small office UniFi network
Technical Terrence · for the office and home
Intro
A UniFi network is a set of Ubiquiti devices — a gateway, switches, and access points — managed together from UniFi OS and the UniFi Network application. You adopt each device once, then you push networks, Wi-Fi names, and updates from one place instead of logging into every box.
This walkthrough is for a small office (the same ideas work in a serious home lab). It covers choosing a host for UniFi OS or Network, first-time setup, adopting devices, creating VLANs and SSIDs, firmware and backups, and the problems that show up most often (a device stuck on “Pending Adoption,” Wi-Fi clients that won’t join, and an update that should have waited for a backup). If you are still choosing between UniFi and Meraki, Cisco Meraki vs UniFi compares the dashboards, licensing, and the certifications each vendor publishes.
UniFi’s menus have moved more than once. If a path below does not match the controller in front of you, trust the current Ubiquiti Help Center article for that task, not an old screenshot.

What you need
| Item | What it’s for |
|---|---|
| A UniFi Console, or another supported host | A Cloud Gateway (Dream Machine, Dream Router, and similar), a Cloud Key, official UniFi Hosting, or a self-hosted UniFi Network server. Ubiquiti recommends a Console running UniFi OS for most people. |
| A UI account | Optional during setup, but official docs strongly recommend it for remote management in Site Manager, cloud backups, and notifications. |
| The UniFi mobile app | Official iOS and Android app. The recommended way to set up a Console over Wi-Fi or Bluetooth. |
| Devices to adopt | Access points, switches, and (if you have them) cameras or other UniFi gear. They should be powered (PoE or a supported adapter) and cabled toward the gateway. |
| The ISP handoff and a known-good test laptop | Same path as From the demarc to your desk. |
Nice to have: a short cable plan (which switch port is a trunk to an AP, which is an access port to a desk), and a notebook for the Wi-Fi name, the management URL or IP, and the backup location.
Pick a way to host UniFi
Official setup guidance groups the choices like this:
- A UniFi Console (recommended starting point). UniFi OS is pre-installed. Dream Machine, Dream Router, Cloud Gateway, Cloud Key Gen2 Plus, and similar products live here. You get the standard backup and update flow. A Cloud Gateway also is the office router/firewall. A Cloud Key is not; it sits on the LAN and needs a separate router.
- Self-hosted UniFi Network Server on Windows, macOS, or Linux. Ubiquiti presents this as a path for people who are already comfortable running a server, opening the right ports, and keeping the host online. It is more work, and you own that upkeep.
- Official UniFi Hosting, a cloud-hosted Network application. Useful when you do not want a local controller host. Adoption and reachability follow UniFi’s Layer 3 / remote-adoption rules.
- Standalone access points, set up in the mobile app with no Console. Official docs say this is only for a small number of APs: no seamless roaming, no wireless meshing, no remote management. Skip it for a small office you intend to grow.
This guide assumes a Console with UniFi OS, usually a Cloud Gateway. Where a step differs for a self-hosted Network application, it is called out.
Set up the Console
Place the Cloud Gateway where the office router belongs: WAN or internet port to the modem or ONT (or the ISP handoff), LAN toward your switch. Power it on. Give it a minute to boot.
Mobile app (recommended by Ubiquiti):
- Install the UniFi mobile app.
- Connect the phone to the Console over the setup Wi-Fi, or stay within about 3 meters (10 feet) if the wizard uses Bluetooth.
- Work through the setup wizard. Create or sign in to a UI account if you want Site Manager, cloud backups, and email notices.
- When the wizard finishes, you can adopt switches and access points.
Browser:
- Connect a laptop to the Console by Ethernet or by joining its setup or LAN Wi-Fi.
- Open the Console’s IP address (often on the LCD, or find it with Ubiquiti’s WiFiman app). Official docs also note that some Cloud Gateways can be reached at
unifi/in the browser on the local network. - A certificate or privacy warning on a new Console is common. Follow the wizard the same way as in the app.
If the Console cannot get online, jump to Basic troubleshooting before you add a stack of access points.

Adopt devices
Adoption is how a UniFi access point, switch, or other device joins the gateway and the Network application that will manage it. Most devices on the same LAN as a Cloud Gateway show up automatically.
The easy path, from Ubiquiti’s adoption article:
- Mount and cable the device. Power it (a UniFi switch’s PoE budget matters here; see Install a network switch).
- Confirm it is on the same network as the Console.
- In the mobile app or the Network web UI, find the device in a Pending Adoption state and adopt it.
- Wait until it is Online or Connected, not stuck in adopting or provisioning.
You should not need port forwarding or an SSH inform command on a standard same-LAN Cloud Gateway setup.
If the device never appears:
- Same VLAN as the Network application (Cloud Key or self-hosted): official docs say to allow TCP 8080 and UDP 10001 between the host and the device, and to factory-reset only as a last resort.
- Different VLAN or a remote site: that is Layer 3 adoption. Routing and firewall rules must allow TCP 8080 from the device to UniFi Network. The last-resort command from the device, after SSH, is
set-inform http://HOST:8080/inform(replace HOST with the controller address). Ubiquiti notes you may need to run it again after the device appears. There is also a Zero-Touch Provisioning path for remote rollout; use the current Layer 3 adoption article if that is your design. - Wireless mesh APs: enable Wireless Meshing under Settings > WiFi, enable mesh on the wired uplink AP, and place the new AP close enough for a stable uplink. Meshing is not available in standalone mode.
A device that says Managed by Another Console is still bound to a previous controller. You usually have to forget it there, or factory-reset it, before this Console will take it. Reset only a device you are sure is not still serving someone else’s site.
Create networks and VLANs
In UniFi, a network is usually a VLAN with its own subnet and DHCP scope. The default LAN already exists. Add others when you want a guest, a voice, or an IoT group kept apart from the main office.
On a UniFi Gateway, official steps are:
- In UniFi Network, go to Settings > Networks.
- Create a new virtual network and give it a name.
- Set the VLAN ID, subnet, DHCP, and any isolation or DNS options you need.
- Apply the changes.
New VLANs on a UniFi Gateway are not automatically assigned to devices. You still have to put Wi-Fi SSIDs and switch ports on them.
If the router is not a UniFi gateway, create the VLAN, subnet, and DHCP on that third-party router first. In UniFi, create a matching network, set Router to Third-party Gateway, and use the same VLAN ID. Inter-VLAN routing and firewall rules then live on that third-party router, which often blocks between VLANs until you allow what you need.
A shorter path called VLAN Magic (from the Topology view) can create a VLAN and assign devices by MAC in one pass. Official docs list switch models that do not support it downstream (including several Flex, Mini, Ultra, and related models). If you use it, confirm your switch is supported, or assign ports the ordinary way.
Switch ports
Treat ports the same way you would on any managed switch:
- An access port: one VLAN, for a desk or a single device.
- A trunk (often called a trunk or “allow all / custom tagged” in UniFi): the default LAN plus the VLANs that must pass, for an uplink or an access point.
Official UniFi guidance is to leave AP uplinks trunked so the AP can offer every SSID VLAN it is supposed to. UniFi switches often allow all VLANs by default; a third-party switch in the middle will not, and a missing tag is a common reason wireless clients associate and then get no address. See Ubiquiti’s switch-port VLAN assignment article for the exact port fields in your release (Native VLAN / Network, Tagged VLAN Management, and related).
For network engineers: UniFi Network 9+ uses a zone-based firewall on supported gateways. Isolation checkboxes and “guest” features still have to match the zone policy you actually want. Don’t assume a new VLAN can reach the internet or other VLANs until you have tested both.

Create Wi-Fi SSIDs
- Go to Settings > WiFi and create a new Wi-Fi.
- Open the Network dropdown and select the network (VLAN) this SSID should use.
- Choose all APs, specific APs, or an AP group.
- Confirm every switch port between those APs and the gateway allows that VLAN. If you skip this, clients often fail to join, or join and sit with no address.
- Review the security settings, then apply.
Official defaults are aimed at compatibility and roaming: band steering and BSS transition on, the radios the AP actually has (2.4 / 5 / 6 GHz as supported), and WPA2/3 Personal with optional PMF. Some older IoT devices will not join WPA2/3. Ubiquiti’s guidance is to set Advanced from Auto to Manual and use WPA2 Personal on a dedicated IoT SSID if you must; that also disables 6 GHz on that SSID.
A guest SSID is still “a network plus a Wi-Fi name,” usually with isolation and a guest portal if you want one. Use the current Guest Wi-Fi / Hotspot article if you need the portal options.
By default, an AP’s own management traffic stays on VLAN 1 unless you set a network override on the AP. Don’t move management off the default LAN unless you already know the AP can still reach the Console.
Firmware and backups
Take a backup before you lean on the system, and again before a major update.
Backups
On a Cloud Gateway or Cloud Key, prefer a system config backup (OS, applications, and device settings):
- Automated cloud backups: Settings > Control Plane > Backups, and enable System Backups. Official docs say a cloud backup is created each week and before each major update, and that only the Cloud Gateway owner can manage those backups (they are stored on that UI account). You can also review them at account.ui.com/backups.
- A local file: download an offline backup from the same Settings > Control Plane > Backups page if you cannot use the cloud option.
- Restore: Settings > Control Plane > Backups > Restore, then pick a cloud backup or upload a file. You can restore everything, or uncheck “Restore All Applications and Settings” for a partial restore — useful when you are moving Protect onto a different appliance.
Network-only (.unf) backups still exist. Ubiquiti describes them as an advanced path, mainly for self-hosted Network servers or older setups. If you are on a Console, use the system backup.
When you replace a Console, restore during the new device’s setup (or afterward from the same Backups page), keep downstream devices cabled as they were, and wait for them to come online. Official migration notes include: the new device should be on UniFi OS 3.1 or later if the model is different; Protect recordings do not move with the config; and a camera may look “adopted but offline” on the old Console while it records on the new one.
Updates
Keep UniFi OS, the Network application, and the devices current enough to get fixes, but don’t update in the middle of a workday without a backup and a reason.
- The Update Manager in Site Manager (and in the mobile app) is the central place when remote management is on.
- Locally, go to Settings > Control Plane > Updates, open the Console or application, and set the release channel (Official or Early Access) and auto-update behavior. Device firmware is updated in the application that owns the device.
If an update fails, official first checks are: the device is online, DNS works (Ubiquiti mentions 1.1.1.1 or 8.8.8.8 as reliable examples), and UDP 53 and UDP 123 are not blocked. There is also an offline update-cache method in the advanced update article if you need it.

Basic troubleshooting
Work the short list before you factory-reset anything.
The Console never finishes setup or has no internet.
- Reseat power and the WAN cable. The WAN port must face the modem or ISP handoff, not a LAN port on the same gateway.
- Confirm the modem or ONT is actually online; see My network is down.
- A Cloud Key or other non-gateway Console needs a LAN with internet access, including DNS. Don’t park it on a dead or isolated VLAN.
- Official setup troubleshooting also lists required connectivity (including TCP/UDP 443, TCP 8883, TCP/UDP 53, UDP 123, and TCP 3478 — see Ubiquiti’s current required-port article for the full list), and MAC-address cloning if the ISP ties service to the old router’s MAC.
A device stays on Pending Adoption, or never appears.
- Same L2 network as the Cloud Gateway? Power and link lights on?
- For a Cloud Key or self-hosted host: TCP 8080 and UDP 10001 between host and device.
- Across VLANs or sites: Layer 3 adoption (TCP 8080), not a second undocumented shortcut.
- Already adopted elsewhere? Forget or factory-reset, only if you are supposed to take the device over.
Wi-Fi clients cannot join, or join with no IP address.
- Official guidance: this is often wrong VLAN tagging on a switch port toward the AP, especially a third-party switch. Trunk the AP uplink and allow the SSID’s VLAN.
- Try a known-good client on the default LAN SSID first, then the new VLAN SSID.
- If only a few IoT devices fail, test a dedicated WPA2 Personal SSID rather than turning security down on the main office name.
You have two routers at once (double NAT). If the ISP gateway is still routing and the UniFi Cloud Gateway is also routing, you can get two layers of NAT. Either put the ISP box in bridge mode (if the provider supports it) or, when that is not possible, be deliberate about what sits in front. The same problem shows up in Set up mesh Wi-Fi at home; the fix is the same idea.
Someone changed a setting and you want last week’s config. Restore from Settings > Control Plane > Backups. This is why the backup is not optional.
For network engineers: “inform” reachability (device to controller on TCP 8080, plus STUN and the other published ports in the required-port list) is the usual adoption failure once L1/L2 are fine. Capture or firewall logs beat a second factory reset. Wireless uplink is a workaround, not a substitute for a wired backhaul when you can pull a cable.
Final checklist
- The Console is the office gateway (or a Cloud Key / host is on a LAN with reliable internet), and the WAN/LAN cabling matches the path in From the demarc to your desk.
- UniFi OS setup is finished, and a UI account is in place if you want Site Manager and cloud backups.
- Switches and access points are adopted and Online, not left as Pending or managed by another console.
- Extra networks (guest, IoT, and so on) have a VLAN ID, a subnet, and DHCP, and switch ports / SSIDs are assigned on purpose.
- Each SSID is mapped to the right network, AP uplinks are trunked, and a test client gets an address on that VLAN.
- System backups are enabled (cloud and/or a downloaded file), and you know how to restore.
- The Console, applications, and devices have a current Official-channel update plan, and you backup before a major change.
Still stuck?
If a device will not adopt, or clients on a new SSID never get an address, message me with the host type (Cloud Gateway, Cloud Key, or self-hosted), whether the device is on the same VLAN as the Console, and what state the device shows in Network. Don’t send the UI account password. Chat with Technical Terrence
Last updated: November 23, 2026
Sources checked
- From the demarc to your desk
- Install a network switch
- My network is down
- Ubiquiti: How to Set Up UniFi
- Ubiquiti: UniFi device adoption
- Ubiquiti: Creating virtual networks (VLANs)
- Ubiquiti: Switch port VLAN assignment (trunk and access ports)
- Ubiquiti: Creating UniFi WiFi SSIDs
- Ubiquiti: Backups and migration
- Ubiquiti: UniFi updates
Related official articles (linked from the pages above, and useful when the problem is in that area): Layer 3 adoption, required ports, VLAN connectivity / VLAN troubleshooting, Guest Wi-Fi and Hotspot, and the advanced updating guide.
Not fully verified
- Menu paths in a future UniFi release. Paths such as Settings > Networks, Settings > WiFi, and Settings > Control Plane > Backups / Updates were taken from official Help Center articles fetched in November 2026. UniFi has renamed these screens before. Use the current article if the UI does not match.
- Exact default VLAN for AP management. Official SSID guidance says APs generally use VLAN 1 for controller communication unless a network override is set. Treat that as Ubiquiti’s current default, not as something to change casually.
- VLAN Magic support list. The official VLAN article lists several switch families that do not support VLAN Magic downstream. That list can grow; check the article before you rely on the feature.
- Self-hosted and Official Hosting specifics. This draft is written around a UniFi OS Console. Port lists, inform URLs, and backup types for self-hosted or cloud-hosted Network are in the official adoption, backups, and required-port articles and were not lab-tested here.
- ISP bridge mode and MAC cloning. Both are real, and both are provider-specific. This guide does not walk a named ISP’s menu.
- Hardware and screenshots. No UniFi hardware was on the bench for this guide. Steps follow vendor documentation, not a recorded click-path through a live controller.