What is the default gateway, and how can I find out what mine is?
In general, a gateway is a device on a network that acts as an entrance to another network. In more technical terms, a gateway is a routing device that knows how to pass traffic between different subnets and networks. A computer will know some routes (a route is the address of each node a packet must go through on the Internet to reach a specific destination), but not the routes to every address on the Internet. It won't even know all the routes on the nearest subnets. A gateway will not have this information either, but will at least know the addresses of other gateways it can hand the traffic off to. 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.
The default gateway is typically very similar to your IP address, in that many of the numbers may be the same. However, the default gateway is not your IP address. To see what default gateway you are using, follow the steps below for your operating system.
Windows Vista
- Click
Start. - In the search box, type
cmd, and then clickOK. - This will open the command prompt. At the prompt, enter
ipconfig. - This will display your network information. The number next to "Default Gateway" is your default gateway.
Windows NT, 2000, and XP
- From the
Startmenu, clickRun.... - In the "Open:" field, type
cmd, and then clickOK. - This will open the command prompt. At the prompt, enter
ipconfig. - This will display your network information. The number next to "Default Gateway" is your default gateway.
Windows 95, 98, and Me
- From the
Startmenu, clickRun.... - In the "Open:" field, type
winipcfg, and then clickOK. - This will open the
IP Configurationwindow. From the drop-down menu, select your Ethernet card. If you are not sure which one is your Ethernet card, keep in mind that PPP adapter, AOL adapter, and AOL dial-up adapter all refer to your modem, and not your Ethernet card. - With the Ethernet card selected, the number in the "Default Gateway" field is your default gateway.
Mac OS X
- From the Apple menu, select
System Preferences.... - In System Preferences, from the
Viewmenu, selectNetwork. - Next to "Show:", select the appropriate port. For example, choose
Built-in Ethernetfor broadband connections,AirPortfor wireless, orInternal Modemfor dial-up. - Click the
TCP/IPtab. The number next to "Router:" is your default gateway.
Mac OS 9
- From the Apple menu, select
Control Panels, and thenTCP/IP. - In the TCP/IP window, the number next to "Router address:" is your default gateway.
Also see:
- How do I determine my computer's IP address?
- In Windows 2000 or XP, how do I manually set up a wired network connection?
Last modified on May 13, 2009.






