Everyday Internet & Troubleshooting
What Is a Default Gateway?
Your default gateway is the door out of your local network — usually your router. Everything bound for the internet passes through it.
The exit door
A default gateway is the device that traffic is sent to when its destination is outside the local network. On a home network, the default gateway is your router. When your laptop wants to reach a website, it can't deliver the packet itself, so it hands it to the gateway, which forwards it onward toward the internet.
How your device decides
When your device has data to send, it checks whether the destination is on the same local network. If it is, it delivers directly. If it isn't — which is the case for anything on the internet — it sends the data to the default gateway and lets the gateway figure out the next hop. This is why the gateway is "default": it's where anything without a more specific route goes.
Finding your gateway
The default gateway is usually the router's private IP address, often something like 192.168.1.1 or 192.168.0.1. You can find it in your device's network settings, or with a command:
- Windows: run
ipconfigand look for "Default Gateway." - macOS/Linux: run
ip routeornetstat -nrand look for the "default" route.
Why it matters
If the default gateway is wrong or unreachable, your device can talk to others on the local network but can't reach the internet at all — a classic troubleshooting symptom. Knowing your gateway's address is also the first step to logging into your router's admin page to change settings, set up port forwarding, or update firmware.
Gateway vs. public IP
Don't confuse your gateway with your public IP. The gateway is a private address inside your network; your public IP is what the internet sees. Your traffic flows from your device → the gateway (router) → out to the internet using your public IP. IP Ducky shows that public address; your device settings show the gateway.