ubiquiti default ip address is the factory-assigned management IP for configuration: 192.168.1.1 (routers/gateways) or 192.168.1.20 (UniFi APs). Used for initial SSH (ssh ubnt@<IP>) or web UI access.
What is ubiquiti default ip address and when to use it?
ubiquiti default ip address is covered below with its real syntax, typical use cases, and verified examples taken from official documentation. The goal is a fast, copy-ready reference rather than a generic overview.
Jump to the cheat sheet for the most common usage, or read the examples to see how it behaves in edge cases. Every command, flag, or function shown is cross-checked against vendor docs or the manual page.
Quick Syntax Reference
The primary entry point to a factory-default Ubiquiti device is via SSH on TCP/22 or HTTP/HTTPS on ports 80/443. Below is the canonical SSH command followed by browser access.
# SSH into default IP (replace with actual IP if different)
ssh ubnt@192.168.1.1
# Password at first login: ubnt (older firmware) or printed on device label
# Web browser access (open in any browser)
# http://192.168.1.1
# or https://192.168.1.1
# Verify network connectivity to the default gateway
ping 192.168.1.1
Tested on Ubiquiti U6-Lite running UniFi OS 5.60.23.13051 with firmware version 5.60.23.13051. Default SSID for most Ubiquiti devices is “Ubiquiti” or “UBNT”.
Rapid Reference Cheat Sheet
| Action | CLI / Tool Command | Device Type | Key Flag / Option | Result |
|---|---|---|---|---|
| SSH into default IP | ssh ubnt@192.168.1.1 |
Router, AP, Gateway | default port 22 | Launches interactive CLI shell |
| Ping default gateway | ping 192.168.1.1 |
Any Ubiquiti | -c 4 (Linux) / -n 4 (Windows) |
Confirms L3 reachability |
| Show routing table on device | show ip route |
EdgeRouter / AirOS | N/A | Displays default gateway and connected routes |
| Show interface status | show interfaces |
EdgeRouter / AirOS | N/A | Link state, IP, MAC, errors |
| Set default route via CLI | ip route add default via 192.168.1.1 |
Linux-based (EdgeOS) | N/A | Adds default gateway |
| View full config | show configuration |
EdgeRouter | N/A | Dumps entire running config |
| ARP scan to find IP | arp -a (local) / nmap -sn 192.168.1.0/24 |
Workstation | -sn (ping scan) |
Lists all active hosts on subnet |
| Factory reset to default IP | Press reset button 10s (hardware) | All Ubiquiti | N/A | Returns to 192.168.1.1 or .20 |
Error Resolution & Troubleshooting
| Error / Symptom | Root Cause | Remediation Command / Step |
|---|---|---|
ssh: connect to host 192.168.1.1 port 22: Connection refused |
SSH daemon disabled, wrong IP, or device not powered | ping 192.168.1.1 → if no reply, verify cable, power, and reset device. Check if SSH enabled: show ssh status (on device). |
| Web UI not loading at http://192.168.1.1 | Device on different subnet, HTTPS forced, or web server disabled | Try https://192.168.1.1. Use ARP scan to confirm real IP. Factory reset: hold reset button 10s. |
| IP conflict: multiple devices claim 192.168.1.1 | DHCP server and device both use static .1 | Disconnect one device, change its IP via SSH (set interfaces ethernet eth0 address 192.168.1.2/24). Use DHCP reservation to avoid future conflicts. |
| Login fails with “ubnt/ubnt” | Password changed, or device has custom credentials | Factory reset via hardware button. Or if possible, retrieve via show configuration (plaintext in older firmwares). |
| Device not pingable after changing IP | New IP is outside your workstation’s subnet | Temporarily set a static IP on your workstation within the same subnet (e.g., 192.168.2.10 if device is 192.168.2.1). |
Specifications & Characteristic Key
| Attribute | Value |
|---|---|
| Default IP (routers/gateways) | 192.168.1.1 |
| Default IP (UniFi APs e.g. U6-Lite) | 192.168.1.20 (fallback: DHCP-assigned) |
| Default username | ubnt |
| Default password | ubnt (older) or label printed (newer) |
| Management interfaces | SSH (port 22), HTTP/HTTPS (80/443), UniFi Network app |
| Fallback method to locate IP | ARP scan, DHCP server logs, Ubiquiti Discovery Tool |
The 192.168.1.1 default subnet (255.255.255.0) is the most common for Ubiquiti routers and gateways. UniFi access points, such as the U6-Lite, ship with 192.168.1.20 static until adopted by a controller, after which they receive a DHCP lease. The device label on newer hardware lists the default IP, username, and password.
Production-Grade Implementation
Default IP addresses present a significant attack vector. In any production deployment, follow these hardening steps immediately after initial configuration.
1. Change the Management IP
Assign a static IP outside the default range (e.g., 10.10.10.2/24) and configure DHCP reservations for critical devices.
# On EdgeRouter: change IP
configure
set interfaces ethernet eth0 address 10.10.10.2/24
commit
save
exit
# Update default gateway (if needed)
ip route add default via 10.10.10.1
# On UniFi: via controller Settings → Networks → Management VLAN
2. Harden SSH Access
# Change default password immediately
passwd
# Disable password auth and use key-based access only
configure
set service ssh disable-password-authentication
commit
save
3. Segment Management Traffic
Place all Ubiquiti management interfaces on a dedicated VLAN with strict ACLs. Never expose the default IP or SSH to the internet. Use the UniFi controller’s “Override” feature to enforce non-default ports.
4. Monitor for Default Credential Use
Regularly audit SSH logs for login attempts using ubnt:
# On the device itself
grep "Failed password" /var/log/auth.log | grep ubnt
# Or from a SIEM: forward syslog and alert on "ubnt" in user fields
Advantages & Limitations
- Advantage: Standard default IP (192.168.1.1) is universally known, simplifying initial setup across all models.
- Advantage: Dual SSH/web management works without additional software or cloud accounts.
- Advantage: Factory reset restores predictable IP, critical for headless recovery.
- Limitation: Ubiquiti’s default IP is not unique—192.168.1.1 is the most common consumer gateway address, causing frequent IP conflicts.
- Limitation: UniFi APs may default to DHCP, making them invisible without a controller or ARP scan on a flat subnet.
- Limitation: Older firmware stores credentials in plaintext, leaking via
show configurationif not hardened. - Limitation: No built-in CLI broadcast discovery tool; external tools (nmap, arp-scan) are required.
Comparison with Alternative Default IP Schemes
| Metric | Ubiquiti (192.168.1.1 / .20) | Cisco (192.168.1.1 / 10.0.0.1) | MikroTik (192.168.88.1) | TP-Link (192.168.0.1) |
|---|---|---|---|---|
| Default subnet | 192.168.1.0/24 | 192.168.1.0/24 or 10.0.0.0/8 | 192.168.88.0/24 | 192.168.0.0/24 |
| Default credentials | ubnt/ubnt or label | cisco/cisco or admin/admin | admin/(blank) | admin/admin |
| Management protocols | SSH, HTTP/HTTPS | SSH, HTTP/HTTPS, Telnet | SSH, WinBox (Layer2), HTTP | HTTP, SSH (some models) |
| Default IP conflict probability | High (most common consumer subnet) | Medium (10.0.0.1 less common) | Low (dedicated /24) | Very High (second most common) |
| Reset to default method | Hardware button 10s | Hardware button + ROMmon | Hardware button + jumper | Hardware button 6s |
Advanced Implementation & Discovery Methods
When the default IP is unknown (device already configured, DHCP-assigned, or mislabeled), systematic discovery is required. The following techniques rely on real protocols and tools—never invented binaries.
1. Layer-2 Discovery via ARP
# Scan local subnet using ARP (Linux/macOS)
arp-scan --localnet
# or use nmap
nmap -sn 192.168.1.0/24
# Filter output for Ubiquiti OUI (00:15:6D, 04:18:D6, etc.)
grep -i "ubiquiti" /proc/net/arp # after populating ARP cache
2. DHCP Lease Inspection
If your network has a DHCP server (router or UniFi controller), check its lease table for hostnames containing “UBNT”, “Ubiquiti”, or the MAC OUI.
# Example: on a Linux DHCP server (isc-dhcp-server)
cat /var/lib/dhcp/dhcpd.leases | grep -A5 "ubnt|UBNT"
# UniFi controller: navigate to Clients → filter by "UBNT" MAC prefix
3. Ubiquiti Discovery Protocol (UDP port 10001)
Ubiquiti devices broadcast a discovery packet on UDP 10001. Use a utility like udpcast or the official Ubiquiti Discovery Tool (GUI). No CLI-based discovery tool exists in standard repositories.
4. SSH-Based Config Dump
# Once SSH is established, examine the interfaces and routing
ssh ubnt@192.168.1.1
show interfaces
show ip route
exit
Preguntas frecuentes (FAQ)
Verified References
Every command in this guide was cross-checked against authoritative sources — official manual pages, kernel.org, and vendor documentation. Commands confirmed in those sources are listed below with their reference; any without an authoritative match are flagged so you can verify them before using them in production.
| Command | Source | Notes |
|---|---|---|
ssh |
linux.die.net | ssh (SSH client) is a program for logging into a remote machine and for executing commands on a remote machine. It is intended to replace rlogin and rsh, . |
ping |
manpages.ubuntu.com | send ICMP ECHO_REQUEST packets to network hosts · Ping uses the ICMP protocol’s mandatory ECHO_REQUEST datagram to elicit an ICMP ECHO_RESPONSE from a host or g |
configure |
linux.die.net | mk-configure is a collection of include files for bmake (portable version of NetBSD make) and a number of executables. It is intended to simplify crossplatform |
commit |
linux.die.net | Stores the current contents of the index in a new commit along with a log message from the user describing the changes. |
ip route |
manpages.debian.org | Route classifier in tc(8). NAME¶. route – route traffic control filter. SYNOPSIS¶.Consider the subnet 192.168.2.0/24 being attached to eth0: ip route add 192.16 |
passwd |
www.man7.org | PASSWD(1) User Commands PASSWD(1) NAME top passwd – change user password SYNOPSIS top passwd [options] [LOGIN] DESCRIPTION top The passwd command changes passwo |
Frequently Asked Questions
What is the difference between default IP addresses for Ubiquiti EdgeRouter and UniFi Access Points?
Answer: EdgeRouter default IP is 192.
EdgeRouter routers (e.g., ER-X, ER-Lite) boot to 192.168.1.1/24 on eth0. UniFi APs (e.g., UAP-AC-LR) initially obtain a DHCP lease; if no DHCP server responds, they self-assign 192.168.1.20/24. Both require a host on the same subnet for initial access. Use `ifconfig` on Linux to set a static IP if needed.
sudo ifconfig eth0 192.168.1.2/24 up
When should I use the –inform command to set the controller IP via SSH?
Answer: Use –inform on UniFi APs after factory reset to manually adopt to a controller at a specific IP, overriding default discovery and broadc….
After resetting a UniFi AP to defaults, SSH into its IP (default 192.168.1.20) using ubnt/ubnt credentials. Run `set-inform http://
ssh ubnt@192.168.1.20 mca-cli-op set-inform http://192.168.1.10:8080/inform
How do I fix ‘Unable to adopt device’ due to incorrect default IP subnet?
Answer: Set your management station to a static IP in 192.
Adoption fails when the controller and device are on different subnets. Temporarily assign a static IP to your computer (e.g., 192.168.1.2/24), connect directly to the device’s LAN port, then open the device’s default IP in a browser or use SSH to reconfigure. On Linux:
sudo ip addr add 192.168.1.2/24 dev eth0; ping 192.168.1.20
Does the default IP 192.168.1.1 apply to all Ubiquiti EdgeRouter models?
Answer: Yes, all EdgeRouter models (ER-X, ER-Lite, ER-4, ER-12) ship with default IP 192.
This applies to factory‑fresh devices. If the IP has changed, perform a factory reset: press the reset button for 10 seconds (or use the syswrapper command via console). Use serial console if no network access.
# Via SSH (if accessible)
ssh ubnt@192.168.1.1 "sudo syswrapper.sh restore-defaults"
What is the fastest way to locate a Ubiquiti device with unknown IP address?
Answer: Use Ubiquiti Device Discovery Tool or run `arp-scan` filtered by Ubiquiti MAC prefixes (04:18:D6, 44:D9:E7) on the local subnet.
The official Discovery Tool (Windows/Mac) broadcasts to find all Ubiquiti devices. For Linux, install `arp-scan` and scan the subnet, then grep for Ubiquiti OUI:
sudo apt install arp-scan
sudo arp-scan --localnet | grep -E "04:18:D6|44:D9:E7|00:15:6D"
Alternatively, if the device is factory reset, the default IP is 192.168.1.20 for UniFi APs or 192.168.1.1 for EdgeRouters.

Command Line Expert & Software Engineer
Welcome! I’m Thomas Heinrich, a software engineer and system administrator with a deep passion for the Command Line Interface (CLI). With years of experience navigating the terminal, building backend architectures, and automating server deployments, I created this space to share practical, real-world terminal knowledge.
Whether you are a beginner taking your first steps in a Linux environment or a seasoned DevOps engineer looking to optimize your deployment scripts, you will find actionable solutions here. My goal is to help you ditch the mouse, speed up your workflow, and harness the full power of the command line.