When a phone or laptop needs the internet, it does not guess a path. It sends those packets to one address on your home network: the default gateway. That address is almost always your router's LAN IP. You only notice it when Wi‑Fi shows "connected" but nothing loads, or when a traceroute stops at the first hop.
This guide explains what a default gateway is for normal home users, how to find yours, and how it differs from your modem, your ISP, and the public address sites see. It is the exit door on your LAN, not the public IP on the What Is My IP homepage.
Short answer
A default gateway is the local address your device uses as the next hop for traffic that is not on your home network. On a typical home setup that address is your router's private LAN IP, often something like 192.168.1.1 or 192.168.0.1. Your devices send internet-bound packets there; the router then forwards them toward your ISP and the wider internet.
DHCP usually hands out that gateway address when a device joins Wi‑Fi. The gateway itself is the router's LAN address. What Is DHCP on Home Internet? covers the hand-out side; this post is about the doorway that hand-out points to.
What the gateway actually does
Think of your home network as a small private street of addresses. Phones, laptops, TVs, and printers get private IPs such as 192.168.1.20. Those numbers only mean something inside your house. Public vs Private IP Address Explained covers the ranges.
When your laptop talks to a printer on the same Wi‑Fi, it can reach it directly on that private street. When it talks to a website, the destination is not local. The device looks at its routing table, finds no local match, and sends the packet to the default gateway — the default route for everywhere else.
The router at that address accepts the packet on the LAN, forwards it toward the WAN (your ISP link), and returns replies to the right device. The gateway is not "the internet." It is the first stop on the way out of your home network.
Gateway vs modem vs ISP vs public IP
These words get mixed up in router manuals and support chats:
| Term | What it is | Typical example |
|---|---|---|
| Default gateway | Router's LAN address that devices use as their exit | 192.168.1.1 |
| Modem / ONT | Device that talks to the ISP link (cable, fiber, DSL) | Often combined with the router in one box |
| WAN / public IP | Address the outside world associates with your connection | What the homepage shows |
| ISP | The company that provides the upstream path | Your broadband provider |
A combo "gateway" box from the ISP is still two jobs in one: modem toward the street, router toward your devices. The default gateway your laptop lists is the router LAN side of that box, not the public WAN address.
If you put your own router behind the ISP's box, devices usually use your router's LAN IP as the gateway. That nested setup is common and easy to confuse with "my gateway is wrong" when pages fail for other reasons.
How DHCP and the gateway fit together
DHCP answers "who am I, where do I go, and how do I look names up?" when a device joins. One field in that answer is the default gateway.
- DHCP assigns the gateway address to each client.
- The gateway is the router's LAN IP (or whatever you set as the LAN gateway).
If DHCP is broken, a device may get a 169.254 self-assigned address and no usable gateway. If someone typed a manual static IP with a wrong gateway, the device can have a private IP and still cannot leave the LAN. Changing the router's LAN subnet also changes the gateway; devices holding an old lease may need a renew.
How to find your default gateway
You want the IPv4 gateway on the active Wi‑Fi or Ethernet interface.
- Windows: Command Prompt →
ipconfig. Under your active adapter, find Default Gateway. - Mac: System Settings → Network → Wi‑Fi or Ethernet → Details → TCP/IP. The Router field is the gateway.
- iPhone or iPad: Settings → Wi‑Fi → info button next to the network → Router under IPv4.
- Android: Settings → Network & internet → Wi‑Fi → network details. Look for Gateway or Router (menus vary by brand).
- Router admin: open
http://plus the gateway address in a browser. If the login page loads, you found the right box.
The number should be a private address on the same subnet as your device. It will not match the public IP on the What Is My IP homepage. IP Lookup can show more about that public address; it does not replace reading the gateway from your own device.
Common gateway problems
Connected to Wi‑Fi, but nothing loads
Check whether you have a gateway at all. A blank Router field usually means DHCP failed or the interface is misconfigured — renew the lease, then recheck. If you have a gateway and a normal private IP but names will not resolve, the problem may be DNS rather than the gateway.
Wrong gateway after a manual static IP
Someone typed a fixed IP, mask, and gateway, then the router LAN changed later. Switch the adapter back to automatic (DHCP), or update the gateway to the router's current LAN address.
Gateway ping fails
Ping the gateway from the device. If that fails while Wi‑Fi claims you are connected, the wireless link, AP isolation, or a bad cable may be the real issue. If the gateway pings but the internet does not, the LAN side is fine and the problem is upstream. Traceroute for Normal Users shows how the first hop (your gateway) sits in a longer path.
Two routers, two "gateways"
A mesh node, travel router, or second Wi‑Fi box in router mode can hand out a different gateway than you expect. Prefer one DHCP server and one LAN gateway; put extras in access-point or bridge mode when you only need more coverage.
What the gateway is not
- Not your public IP — that is what the homepage shows.
- Not your ISP account number.
- Not DNS — DNS turns names into addresses; the gateway is where packets go next.
- Not a VPN exit — a VPN may add its own routes while connected; when it is off, traffic falls back to the normal LAN default gateway.
Bottom line
Your default gateway is the local router address devices use as the exit for internet traffic. DHCP hands that address out; the gateway itself is the router's LAN IP. Learn to read it on your phone or PC, keep it distinct from the modem and from the public IP on the What Is My IP homepage, and treat a missing or wrong gateway as a LAN problem before blaming the wider internet.
