Your default gateway is the router address your device uses to reach any network that isn't on your local subnet — including the internet. Without it, your device can only communicate with other devices on the same local network. Finding your default gateway is one of the most fundamental networking troubleshooting steps, and the exact method differs by operating system. Select your OS below to get precise, step-by-step instructions. You can also jump directly to your gateway by typing its IP into a browser — see the router IP address guide for more details on accessing your router's admin panel, or try 192.168.1.1 and 10.0.0.1, the two most common defaults.
A default gateway is the IP address of the router (or Layer 3 switch) on your local network that your device sends packets to whenever the destination is not on the local subnet. Think of it as the exit door of your local network: all traffic bound for the internet or any other remote network goes through it.
The word "default" is key. Your device may have specific routes for certain networks (for example, VPN software adds routes for the VPN subnet), but for any destination that doesn't match a specific route, the device falls back to the default gateway. This is represented in routing tables as the 0.0.0.0/0 route — a catch-all that matches every possible destination.

In a typical home network, the default gateway is the LAN IP address of your router. This is usually an address like 192.168.1.1, 192.168.0.1, or 10.0.0.1 — though it can be any valid IP on your subnet. Your router has two interfaces: the LAN interface (facing your home devices, this is the gateway IP) and the WAN interface (facing your ISP, assigned by DHCP or PPPoE). When you send a request to google.com, your device sends the packet to the gateway IP, the router NATs it to its WAN IP, and forwards it to the internet.
Understanding the default gateway is essential for diagnosing connectivity problems, configuring port forwarding, setting up a VPN on your router, or configuring dynamic DNS. It's also a prerequisite for understanding NAT and how your private network connects to the public internet.
When your device sends a packet, the OS follows this exact decision process:
This process happens thousands of times per second during normal internet use — every DNS query, every HTTP request, every background update goes through this path. The gateway is the single most critical device on your local network; if it's unreachable, all internet connectivity fails even if your device has a valid IP address and the local network is functioning perfectly.
This is also why DHCP automatically configures the gateway along with the IP address and subnet mask — getting these three values wrong (or missing any one of them) causes connectivity failure. If your device gets an IP via DHCP but can't reach the internet, checking whether the default gateway is correctly set (and reachable via ping) is always the first diagnostic step.
Most home routers use one of a small number of default gateway IPs. The IP is set at the factory and printed on the router's label. Here is a comprehensive reference by brand:
| Router Brand | Default Gateway IP | Admin URL | Notes |
|---|---|---|---|
| Linksys | 192.168.1.1 | 192.168.1.1 | Most models; some newer use 192.168.1.1 via linksyssmartwifi.com |
| Netgear | 192.168.1.1 or 192.168.0.1 | routerlogin.net | Check label; Nighthawk models often use routerlogin.net |
| TP-Link | 192.168.0.1 or 192.168.1.1 | tplinkrouter.net | Archer series uses tplinkrouter.net; older models use IP directly |
| D-Link | 192.168.0.1 | 192.168.0.1 | Consistent across most D-Link models |
| ASUS | 192.168.1.1 | router.asus.com | RT-series; AsusWRT also accessible via router.asus.com |
| Xfinity / Comcast | 10.0.0.1 | 10.0.0.1 | Xfinity Gateway modems; some older models use 192.168.100.1 |
| AT&T | 192.168.1.254 | http://192.168.1.254 | BGW210 and other AT&T gateway models |
| Verizon FiOS | 192.168.1.1 | http://192.168.1.1 | Actiontec and Greenwave FiOS routers |
| Belkin | 192.168.2.1 | http://192.168.2.1 | Unique default; different from most other brands |
| Cisco / Meraki | 192.168.1.1 or 10.0.0.1 | Varies by model | Enterprise models often use 10.x.x.x ranges |
| Huawei | 192.168.3.1 | http://192.168.3.1 | HG and AX series home routers |
| Ubiquiti UniFi | 192.168.1.1 | https://unifi.ui.com (cloud) or local IP | USG/UDM series; managed via UniFi controller |
If your router brand isn't listed or the default IP doesn't work, check the sticker on the bottom or back of the router — the default gateway IP, admin username, and password are almost always printed there. You can also find it programmatically using the commands shown in the tool above.
Note that your actual gateway IP may differ from the factory default if a previous owner or your ISP changed it. Always use the OS commands to find the live gateway IP rather than guessing from the brand table. Once you have it, you can also use the DNS lookup tool to check if DNS resolution is working correctly from that gateway's perspective.
These three terms are often used interchangeably, but they describe distinct things:
| Term | What It Is | Layer | Has Gateway IP? |
|---|---|---|---|
| Modem | Device that connects to your ISP (modulates/demodulates the ISP signal — DSL, cable, fiber) | Layer 1–2 | Sometimes (combo units) |
| Router | Device that routes traffic between your LAN and WAN, performs NAT, runs DHCP | Layer 3 | Yes — its LAN IP is your gateway |
| Default Gateway | The IP address your device uses to reach outside its subnet — usually the router's LAN IP | Layer 3 (address) | It IS the gateway address |
| Gateway device (combo) | A single device that combines modem + router functions — common with ISP-provided equipment | Layer 1–3 | Yes — its LAN IP is your gateway |
In most modern home setups, your ISP provides a "gateway" device that combines a modem and router in one unit. The LAN IP of this device (e.g., 192.168.1.1 or 10.0.0.1) is your default gateway. If you add your own router behind the ISP gateway (a common setup for better performance or features), your own router's LAN IP becomes the default gateway for your devices, and the ISP gateway's LAN IP is the default gateway for your router's WAN.
This "double NAT" scenario is important to understand when setting up port forwarding — you may need to forward ports on both devices. The NAT guide explains this in detail. You can also check your public IP to see what IP the outside world sees.
If you can ping other local devices but cannot ping the default gateway, or if the gateway IP is missing entirely, work through these steps:
ipconfig (Windows) or ip addr (Linux/Mac). Verify you have a valid IP address in the correct subnet. If you see 169.254.x.x, DHCP failed — restart the router and reconnect.ipconfig /release then ipconfig /renew. On Linux/Mac: sudo dhclient -r && sudo dhclient.If none of these steps work, the router itself may have crashed or the network chip may have failed. Check the router's status lights and consider a factory reset. You can also update the router firmware if you can reach the admin page but connectivity is unstable — firmware bugs occasionally cause gateway unreachability. And always use a strong router admin password to prevent unauthorized changes to gateway settings.
Changing the default gateway means either changing the gateway IP your device uses (pointing it to a different router) or changing the LAN IP of the router itself. Here's when each scenario applies:
Change device's gateway (point to different router): If you're connecting to a different network segment or want to route through a specific router, set a static IP on your device with the new gateway IP. On Windows: Network Adapter Properties → IPv4 → Use the following IP address → enter IP, mask, and new gateway. On Linux: ip route del default && ip route add default via [new-gateway-ip].
Change the router's LAN IP (changes gateway IP for all devices): Log in to the router admin panel. Go to LAN settings. Change the LAN IP to the desired address (e.g., change 192.168.1.1 to 192.168.10.1). Save — the router will reboot. All DHCP clients will receive the new gateway IP on their next lease renewal. Statically configured devices will need manual updates.
When changing the router's LAN IP, also update the DHCP pool to be in the same new subnet. For example, if you change the gateway from 192.168.1.1 to 192.168.10.1, set the DHCP pool to 192.168.10.100–192.168.10.200 with subnet mask 255.255.255.0. Forgetting this step means new devices will receive IPs on the old subnet and won't be able to reach the new gateway IP.
Use the same subnet checker to verify that your new gateway IP and device IPs are all on the same subnet after making changes. Also verify with the IP lookup tool that your public IP (via the gateway/NAT) is still correct.
Pro Tip: On Windows,
route printis more informative thanipconfigfor gateway troubleshooting. It shows the full routing table including all active routes, metric values, and interface bindings. Look for the 0.0.0.0 destination row — the "Gateway" column shows your default gateway IP and the "Interface" column confirms which network adapter is using it. This is particularly useful on laptops with both Ethernet and WiFi active simultaneously, where you may have two default routes with different metrics.
Key Takeaways
ipconfig, on macOS/Linux with netstat -nr | grep default or ip route show default.A default gateway is the IP address of the router on your local network that your device sends packets to when the destination isn't on the local subnet. It's the "exit point" of your local network. Without a correctly configured default gateway, your device can only communicate with other devices on the same local subnet and cannot reach the internet. In routing tables, the default gateway is associated with the 0.0.0.0/0 route — a catch-all that matches all destinations not covered by a more specific route.
The two most common default gateway IPs for home routers are 192.168.1.1 and 192.168.0.1. Linksys, Netgear, ASUS, and Verizon FiOS routers typically use 192.168.1.1. D-Link and many TP-Link routers use 192.168.0.1. Xfinity/Comcast gateways use 10.0.0.1. Belkin routers use 192.168.2.1. AT&T gateways often use 192.168.1.254. The definitive way to find your actual gateway is to use the OS commands shown in the tool above rather than guessing from brand defaults.
An operating system can have two or more default routes simultaneously, but only one will be used for any given connection — determined by route metric (lower metric = preferred). On Windows, having both Ethernet and WiFi connected creates two default routes with different metrics; Ethernet typically has a lower metric and is preferred. VPN software adds a lower-metric default route that overrides the normal gateway, routing all traffic through the VPN. You can view all routes with route print (Windows) or ip route show (Linux).
"Default gateway is not available" is a Windows error that appears when the network adapter loses its connection to the router or when the driver/adapter has a problem. Common causes: WiFi adapter driver issue (update or reinstall the driver), router crashed or rebooted, IP address conflict on the gateway IP, or a faulty network adapter. Try: running the Windows network troubleshooter, disabling and re-enabling the adapter, updating the network driver, or power cycling the router. If it happens repeatedly on WiFi, check for driver updates specific to your adapter model.
To change which gateway your device uses, set a static IP: on Windows, go to Network Adapter Properties → IPv4 → enter IP, subnet mask, and new gateway IP. On Linux: ip route del default && ip route add default via [new-ip]. To change the gateway IP for your entire network (all DHCP clients), log into your router's admin panel, go to LAN settings, and change the router's LAN IP. All devices will receive the new gateway IP on their next DHCP lease renewal. Don't forget to update the DHCP pool range to match the new subnet.
In most home networks, yes — the default gateway IP is the LAN IP of your router. However, in enterprise or complex networks they can differ. For example, a switch with Layer 3 routing capabilities may be the default gateway for devices on a VLAN, while the actual internet-facing router has a different IP. In a double-NAT scenario (ISP modem/router + your own router), your router's LAN IP is the gateway for your devices, but your router's gateway is the ISP modem's LAN IP. The gateway is always the next-hop device, not necessarily the device that connects to the internet directly.
Absolutely. While 192.168.1.1 is common, the gateway can be any valid IP address on the local subnet. ISP equipment often uses 10.0.0.1 or 192.168.100.1. Enterprise networks commonly use 10.x.x.1 or 172.16.x.1 ranges. The only requirement is that the gateway IP must be on the same subnet as the devices it serves. For example, with subnet 10.10.50.0/24, the gateway is typically 10.10.50.1 — not 192.168.1.1. You can use any address in the range .1 to .254 (avoiding the network address .0 and broadcast .255) as the gateway.
![]() |
![]() |
![]() |
![]() |
About Tommy N.
Tommy is the founder of RouterHax and a network engineer with 10+ years of experience in home and enterprise networking. He specializes in router configuration, WiFi optimization, and network security. When not writing guides, he's testing the latest mesh WiFi systems and helping readers troubleshoot their home networks.
Promotion for FREE Gifts. Moreover, Free Items here. Disable Ad Blocker to get them all.
Once done, hit any button as below
![]() |
![]() |
![]() |
![]() |