This guide will show you how to find your private IP address and router’s default gateway address.

Jump to…

Find your private IP address
Find your default gateway address


Find your private IP address

When you are connected to the internet, your device is assigned a private IP address by the router in your local network. In other words, different devices connected to the same local network have different private IP addresses. A device’s private IP address is not the same as its public IP address, which is used to address it by devices outside your local network.

Knowing your private IP address is helpful for configuring network-related settings.

On Windows

1. Press Windows Start button. on your keyboard and the R button to open the Run dialog box. Type cmd and click OK.The Run window on Windows, showing a "cmd" command2. In the Command Prompt, type ipconfig and hit Enter.The Command Prompt window on Windows, showing the "ipconfig" command.3. Your device’s private IP address will appear next to IPv4 Address. If your device uses IPv6, your IPv6 address will appear next to IPv6 Address.The IPv6 Address and IPv4 Address fields in Command Prompt on Windows.Need help? Contact the ExpressVPN Support Team for immediate assistance.

Back to top

On Mac

  1. Click "Apple" icon. in the upper-left corner of the screen. Then select System Settings.MacOS's menu, showing the System Settings option.
  2. Select Network > Wi-Fi, and click Details under your current Wi-Fi connection.The Network tab in macOS settings, showing the "Details" button highlighted.
  3. Click the TCP/IP tab. Your device’s private IP address will appear next to IP Address.The TCP/IP tab on macOS, showing the IP address field highlighted.

Need help? Contact the ExpressVPN Support Team for immediate assistance.

Back to top

On iOS

  1. Go to Settings and tap Wi-Fi.iOS's Settings menu, highlighting the 'Wi-Fi" option.
  2. Tap the name of the Wi-Fi network your device is connected to.The "i" option next to the current active Wi-Fi network on iOS.
  3. Your device’s private IP address will appear next to IP address.The IP Address field in iOS Wi-Fi settings.

Need help? Contact the ExpressVPN Support Team for immediate assistance.

Back to top

On Android

Note: Different Android versions may show a slightly different interface, but the steps are generally the same.
  1. Open the Settings menu and tap Wi-Fi.The Settings menu on Android, showing the Wi-Fi option highlighted
  2. Tap your current active Wi-Fi network.The current Wi-Fi connection on Android highlighted in Wi-Fi settings.
  3. Your device’s private IP address will appear under IP address.The IP address field in Wi-Fi settings on Android

On Linux

  1. From the app menu, open the Terminal.The Terminal app in the app menu on Linux highlighted.
  2. Type ip addr and find the line that starts with inet. The numbers next to it are your private IP address.The "ip addr" command in Linux and the "inet" line highlighted.

Find your router’s default gateway address

When you are connected to the internet, your router (often called the default gateway) has an IP address. Your default gateway transfers traffic from your local network to other networks or the internet and back to you.

Knowing how to access your default gateway is helpful for troubleshooting network issues and accessing your router’s settings.

On Windows

  1. Press the Windows icon and the R button to open the Run dialog box. Type cmd and click OK.The Run window on Windows, showing a "cmd" command
  2. Type ipconfig in the Command Prompt window and press Enter.The Command Prompt window on Windows, showing the "ipconfig" command.
  3. Your default gateway will appear in the bottom line.The "Default gateway" field in Command Prompt on Windows.

Need help? Contact the ExpressVPN Support Team for immediate assistance.

Back to top

On Mac

  1. Click "Apple" icon. in the upper-left corner of the screen. Then select System Settings.MacOS's menu, showing the System Settings option.
  2. Select Network > Wi-Fi, and then click Details next to your current Wi-Fi connection.The Network tab in macOS settings, showing the "Details" button highlighted.
  3. Click the TCP/IP tab. Your router’s gateway will appear next to Router.The Router field highlighted in the TCP/IP Wi-Fi settings on macOS.

Need help? Contact the ExpressVPN Support Team for immediate assistance.

Back to top

On iOS

  1. Go to Settings. Tap Wi-Fi.The "Wi-Fi" option in iOS settings menu highlighted.
  2. Tap the info (i) icon next to the network name.The current Wi-Fi connecton on iOS, with the "i" next to it highlighted.
  3. You’ll find the default gateway next to Router.The "Router" field in the Wi-Fi settings on iOS highlighted

Need help? Contact the ExpressVPN Support Team for immediate assistance.

Back to top

On Android

Note: The exact layout of your settings may vary depending on your Android version, but the information can be found in the same location.
  1. Open the Settings menu and tap Wi-Fi.The Settings menu on Android, highlighting the Wi-Fi option.
  2. Tap the current Wi-Fi network connection.The current Wi-Fi network highlighted on Android in settings.
  3. The default gateway is listed under Router.The "Router" field highlighted in Android Wi-Fi settings.

On Linux

  1. Open the Terminal from the app menu.The Terminal app on Linux highlighted in the app menu.
  2. Type ip route.The "ip route" command on Linux.
  3. Look for the line that starts with default via. The numbers next to it are your default gateway address.The "default via" line on Linux, with a highlighted default gateway.

Need help? Contact the ExpressVPN Support Team for immediate assistance.

Back to top

Was this article helpful?

We're sorry to hear that. Let us know how we can improve.

Which router model do you need help with?

Examples: Linksys WRT1200AC, Asus RT-AC56R

A member of our Support Team will follow up on your issue.