ARCHIVED: What is a network's default gateway, and how can I find out what mine is?
A gateway is a routing device that passes traffic between different subnets and networks. A computer will know some routes (i.e., the address of each node a packet must go through to reach a specific destination), but not the routes to every address on the Internet. A gateway will likewise not have this information, but will at least know the addresses of other gateways to which it can hand the traffic.
Your default gateway is on the same subnet as your computer, and is the gateway your computer relies on when it doesn't know how to route traffic. Though your default gateway and your IP address may share many of the same numbers, they are not the same. To see your default gateway:
- In Windows 7 and Vista, click
Start. In the search box, type
cmd, and then press
In Windows XP, from the
Run.... In the "Open:" field, type
cmd, and then click
- This will open the command prompt. At the prompt, enter
ipconfig. This will display your network information, including your default gateway.
Mac OS X
- From the Apple menu, select
- In System Preferences, from the
- Select the appropriate port. For example, choose
Ethernetfor broadband connections,
AirPortfor wireless, or
Internal Modemfor dial-up.
Advanced..., and in the sheet that opens, click the
TCP/IPtab. The number next to "Router:" is your default gateway.
Last modified on January 03, 2013.