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:
Windows
- In Windows 7 and Vista, click
Start. In the search box, typecmd, and then pressEnter.In Windows XP, from the
Startmenu, clickRun.... In the "Open:" field, typecmd, and then clickOK. - 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
System Preferences....
- In System Preferences, from the
Viewmenu, selectNetwork.
- Select the appropriate port. For example, choose
Ethernetfor broadband connections,AirPortfor wireless, orInternal Modemfor dial-up.
- Click
Advanced..., and in the sheet that opens, click theTCP/IPtab. The number next to "Router:" is your default gateway.
Last modified on January 03, 2013.







