What is a default gateway?

In most local networks, the default gateway is the Wi-fi router. It allows you to reach servers and devices outside of your network.

What is a default gateway address?

Your default gateway address will usually be your router’s IP address. When troubleshooting, you may need to access your modem gateway and make some tweaks to your modem settings.

How to find the default gateway of your modem router?

You can find your default gateway address through a computer or on your phone. Whether you’re using Windows, MacOs, iOS, or Android, here’s everything you need to know.

For Windows

You can try any of the 2 options below:

Using Control Panel to find Default Gateway IP Address in Windows

1. Type Control Panel in the Windows search box (usually located at the bottom left of the screen), and hit Enter when it appears.

default gateway

2. Click the Network and Internet.

default gateway

3. Click the Network and Sharing Center.

default gateway

4. Under the Network and Sharing Center window, click Ethernet.

default gateway

5. Click Details.

default gateway

6. Find your gateway IP address listed next to IPv4 Default Gateway.

default gateway

Using Command Prompt to find Default Gateway IP Address in Windows

1. Press the Windows key + R keys on your keyboard.

default gateway

2. Type cmd and press Enter.

default gateway

3. Type ipconfig command in the Command Prompt window.


4. Find your gateway IP address listed next to Default Gateway.


For Mac

  1. Click the Apple icon in the upper-left corner of the screen. Then select System Preferences.

  2. Select Network.

default gateway

3. Click Advanced

4. Click the TCP/IP tab. Your router’s gateway will appear next to Router:

default gateway

How to Find Default Gateway IP Address on Linux?

1. Click the Settings icon on the left sidebar.

default gateway on linux

2. On the settings sidebar, scroll down and click the Network option. Select the connection settings icon.

Linux default gateway

3. Find your gateway IP address listed next to Default Route.

default gateway


  1. Go to your Settings and select Wi-Fi.

  2. Select the i, which appears beside the network connection.

  3. Your default gateway address will appear under Router.


  1. Select Settings and Wi-Fi.

  2. Select your network connection.

  3. Select Modify network, and Advanced options.

  4. Change your IPv4 setting to Static.

  5. Your default gateway IP address will appear under Gateway.

Back to top

Did this answer your question?