In networking, the device used as an access point to a local or remote network is the gateway. The first gateway device on a home network is usually a router. When Windows is connected to a network through a router, it typically obtains all network address configurations from the software on your router. When you need to obtain your router's IP address for configuration or troubleshooting purposes, query your network adapter for the default gateway address.
Press and hold the "Windows" then "R" keys to open a Run box. Type "Cmd.exe" in the "Open" field and click "OK." This runs the Windows Command Prompt.
Type "Ipconfig" and press "Enter." This command displays your current network configuration in the prompt.
Locate the "Ethernet adapter Local Area Connection" section if you are connected to your router through an Ethernet cable. Look for the "Wireless LAN adapter Wireless Network Connection" section if you are connected to a wireless router.
Look at the numbers next to "Default Gateway." This is your router's IP address.