networking

Unifi Switch Default Ip Address And Fallback Guide

When you plug in a new hardware switch from Ubiquiti, you won't find a standard web configuration page waiting at a fixed static address right out of the box. Instead, the default behavior relies enti

Unifi Switch Default Ip Address And Fallback Guide
In this story

When you plug in a new hardware switch from Ubiquiti, you won't find a standard web configuration page waiting at a fixed static address right out of the box. Instead, the default behavior relies entirely on your network layout. If a DHCP server is active on your local network, your UniFi switch automatically requests and receives an IP address dynamically.

However, if no DHCP server responds during boot, the device falls back to a default static IP address of 192.168.1.20. Knowing how this fallback mechanism works saves hours of frustration when you're setting up a network from scratch, working in an isolated environment, or troubleshooting an adopted device that has lost connection to its controller.

Understanding UniFi Switch IP Assignment

Unlike standalone consumer switches that rely on hardcoded management IPs, Ubiquiti designs UniFi hardware to be managed centrally through the UniFi Network application (hosted on a Cloud Key, Dream Machine, or self-hosted server).

By default, the switch boots up and looks for a DHCP lease. If it finds one, it takes that dynamic address. If it doesn't find one, it assigns itself 192.168.1.20. This fallback IP lets you communicate with the device directly when you don't have a live router or DHCP server running on the line.

You can verify official network deployment specifications directly through the Ubiquiti Help Center to ensure your local subnet matches the expected range during initial setup.

How to Access a Switch via Its Fallback IP

If your switch can't find a DHCP server and drops back to 192.168.1.20, you must manually configure your computer's network interface to talk to it. Because your computer isn't on the same subnet by default, direct communication fails until you change your settings.

  1. Disconnect your computer from your regular internet network or Wi-Fi to avoid routing conflicts.
  2. Connect an Ethernet cable directly from your computer to any available LAN port on the UniFi switch.
  3. Open your computer's network adapter settings and assign a static IPv4 address within the same subnet, such as 192.168.1.10 with a subnet mask of 255.255.255.0. Leave the gateway blank or set it to 192.168.1.1.
  4. Open a web browser and type [https://192.168.1.20](https://192.168.1.20) into the address bar. Bypass any self-signed SSL certificate security warnings.
  5. Log in using the legacy standalone credentials if the switch hasn't been adopted yet: username ubnt and password ubnt. Note that once adopted by a UniFi controller, these default credentials are overwritten by your controller's device password.

Assigning a Static IP Address

Relying on a fallback IP or a temporary DHCP lease isn't ideal for permanent network infrastructure. Once your switch is adopted into your UniFi Network application, you should assign it a permanent static IP address so it never loses connection during a reboot.

  1. Open your UniFi Network Controller dashboard.
  2. Navigate to the Devices tab on the left sidebar.
  3. Click on your switch to open its property panel on the right side of the screen.
  4. Click on the Settings gear icon, then expand the Network or Config section.
  5. Change the configuration mode from DHCP to Static.
  6. Enter your desired IP address, subnet mask, gateway, and primary DNS server matching your local network architecture.
  7. Save your changes. The switch will briefly disconnect while it applies the new network parameters.

Common Mistakes to Avoid

Network administrators often run into avoidable roadblocks when dealing with UniFi management IPs. Keep these pitfalls in mind:

👉 See also: What Is My IP
  • Forgetting to change your PC IP: Trying to load 192.168.1.20 while your computer is on a different subnet (like 10.0.0.x) results in a connection timeout. Your machine must share the 192.168.1.x network space.
  • Assuming default credentials work post-adoption: If the switch has already been provisioned by a controller, trying to SSH or log into the web UI with ubnt / ubnt will fail. You must use the device password found under your controller's site settings.
  • Overlooking VLAN tagging: If you assign the switch a management VLAN ID that isn't properly untagged on your switch port configuration, you'll immediately lock yourself out of the device management interface.

Frequently Asked Questions

What should I do if the switch isn't responding at 192.168.1.20?

If the switch has already talked to a DHCP server at least once, it took a dynamic lease instead of using the fallback address. Check your router's client list or use a network scanning tool like WiFiman to find its current assigned IP address. If all else fails, hold down the physical reset button on the switch for more than five seconds to restore factory defaults.

Why can't I access the switch web UI after adopting it?

UniFi switches are designed to be managed centrally through the UniFi Network application rather than individual standalone web interfaces. Once adopted, some standalone web management features are disabled or superseded by the controller configuration. Manage settings through your main controller dashboard instead.

How do I find my switch IP address without scanning tools?

If your switch is connected to a UniFi gateway or console, look at the client devices list inside your UniFi Network application. Alternatively, if your switch model features an integrated LCM touchscreen display (like many Gen 2 models), you can view the active IP address directly on the hardware screen.

CR

Written by

Chloe Ramirez

Chloe Ramirez excels at making complicated information accessible, turning dense research into clear narratives that engage diverse audiences.

More from networking