Setting up an enterprise-grade home network or testing configuration changes usually requires an internet connection. But what if you want to build an isolated sandbox or test local area network (LAN) performance completely offline?
If you have a Ubiquiti UniFi Access Point, a MikroTik Cloud Router Switch (CRS), and a computer, you have everything you need to build a high-performance local test lab.
In this guide, we will walk you through the physical wiring, solving the "no-internet" IP routing issue, and adopting your AP without an ISP connection.
The Equipment Checklist
Before we dive in, make sure you have the following gear on your workbench:
- Ubiquiti UniFi Access Point (Any modern U6, AC, or HD model)
- UniFi PoE Injector (The power brick included with your AP, or an equivalent 24V/48V PoE injector)
- MikroTik Cloud Switch (e.g., CRS series)
- A Computer/Laptop with an Ethernet port (or an Ethernet-to-USB adapter)
- Three Ethernet Cables (Cat5e or Cat6)
Phase 1: The Physical Topology (The Wiring Loop)
Because we don't have an Internet Service Provider (ISP) modem assigning power and routing data, our network setup needs to follow a precise physical loop.
⚠️ Critical Troubleshooting Note: If your Access Point's LED light does not turn on immediately after plugging it in, your power loop is incorrect. UniFi APs require Power over Ethernet (PoE). Most MikroTik switches do not output PoE power by default, so you must use the UniFi power brick injector.
Follow these steps exactly to build your local loop:
Connect your PC to the Switch: Cable #1.
Plug one Ethernet cable from your computer’s network port into Port 1 of your MikroTik switch.Bridge the Switch to the Injector: Cable #2.
Plug a second Ethernet cable from Port 2 of your MikroTik switch into the LAN port of the UniFi PoE Injector power brick.Deliver Power to the Access Point: Cable #3.
Plug a third Ethernet cable from the PoE port of the injector into the Main Ethernet port on the back of your UniFi Access Point.Fire Up the Lab: Power.
Plug the PoE Injector's power cord into the wall outlet. Within 5 seconds, the UniFi AP’s circular LED ring will light up solid white, indicating it is powered up and ready for adoption.
Phase 2: Resolving the IP Address Problem
Normally, an ISP router runs a service called DHCP, which automatically dishes out IP addresses to your computer and AP so they can talk. Since we are completely offline, we have to trick the hardware into finding each other using a manual network space.
Step 1: Assign a Static IP to your Computer
You need to force your computer to live in the same network neighborhood that the UniFi AP defaults to when it can't find the internet.
- Windows: Go to Settings > Network & Internet > Ethernet > Edit IP Settings. Change to Manual, toggle IPv4 on, and enter:
-
IP Address:
192.168.1.10 -
Subnet Mask:
255.255.255.0 Gateway: Leave Blank
macOS: Go to System Settings > Network > Ethernet > Details > TCP/IP. Change Configure IPv4 to Manually and enter:
IP Address:
192.168.1.10Subnet Mask:
255.255.255.0Router/Gateway: Leave Blank
Step 2: The UniFi AP Fallback IP
When a UniFi Access Point Boots up and fails to locate a DHCP server after a couple of minutes, it automatically claims a smart fallback IP: 192.168.1.20. Because your computer is now manually set to 192.168.1.10, your computer can now ping and see the AP across the MikroTik switch.
Phase 3: Local Software Configuration
Because we don't have internet access, we cannot use the UniFi smartphone application (which relies on cloud synchronization). Instead, we will host a local server controller directly on your testing machine.
Step 1: Fire Up the UniFi Network Server
- Download the free UniFi Network Server application (formerly known as the UniFi Controller) from the Ubiquiti Downloads page onto your PC prior to starting your offline lab, or transfer it via a USB drive.
- Launch the application on your computer.
- Once initialized, click Launch a Browser to Manage the Network.
- Your browser will open a local web page. Proceed through the setup wizard. When prompted to sign in with a UI.com account, select Switch to Advanced Setup and choose Local Access Only to create an offline username and password.
Step 2: Adopt the AP
- Once inside the main UniFi dashboard dashboard, click on the UniFi Devices icon (the circular target logo on the left toolbar).
- You will see your Access Point listed with its fallback IP address (
192.168.1.20) and a status of Pending Adoption. - Click on the device name, and hit Adopt.
- The AP light will blink for a moment, provision itself, and change to a Solid Blue light. Your AP is now fully adopted into your offline server.
Step 3: Broadcast a Local Wi-Fi Network
- Go to Settings (the gear icon at the bottom left of your UniFi browser interface).
- Click WiFi and select Create New WiFi.
- Name your local test Wi-Fi network (SSID) and create a password.
- Click Apply Changes. The server will push this configuration through your MikroTik switch straight to your AP.
How to Test Your New Offline LAN Lab
Grab a smartphone, a tablet, or a secondary laptop and connect to the new Wi-Fi network you just broadcasted.
Because you aren't connected to an ISP box, your phone will likely say "Connected, No Internet Access". This is exactly what we want.
To verify your local network throughput and communication:
- Open a terminal or command prompt app on your phone or secondary device.
- Type
ping 192.168.1.10(the IP address of your main computer). - If you see successful reply streams, your data is leaving your wireless device, passing through the UniFi AP, travelling through the MikroTik switch, and safely landing on your PC.
Congratulations—you have a fully operational, completely isolated wireless test lab!
Top comments (0)