On Windows OS, the IP address is termed default gateway address. You may use a graphical way to find the address as well as the ipconfig command in a command prompt window.
Start a command prompt (Start > Search Box > cmd) and type in
ipconfig to find the default gateway. On Windows 7 and Windows XP, the output will resemble:
In case the computer is using Wi-Fi, identify ‘Wireless Network Connection’ instead of ‘Local Area Connection’. On Windows 8, a wireless connection is termed ‘Wireless LAN adapter Wi-Fi’, while a wired connection is called ‘Ethernet adapter Ethernet’.
The Graphical Way
The first step is to open the ‘Control Panel’. On Windows 10 or 8.1, this can be done by right-clicking the Start button and then selecting ‘Control Panel’. Under Network and Internet, click ‘View network status and tasks’. To the right of ‘Connections’ click the name of appropriate connection. Now, click the ‘Details’ button. You will find the router’s IP address to the right of IPv4 Default Gateway.
On Windows 7, open Control Panel via the Start button. Click the icon ‘Network and Sharing Center’ and then ‘New network status and tasks’. From the menu at the left hand, choose the link ‘Change adapter settings’. Double click on the connection that is currently active. Inactive connections are generally marked with red X or greyed out. A dialogue box will appear with connection details including speed, duration, etc. Click on the button ‘Details…’. You can find the router address in IPv4 Default Gateway line.
Finding IP address from the Control Panel does require some effort. Anyone who is not used to it may not feel that confident through the process. Many people prefer the ipconfig command to determine computer’s IP address and other information, including the address of its default gateway.
To initiate the process, open a Command Prompt window and type ipconfig. The system will display a list of all the network connections the machine is using.
If you are connected to a wired network, look under Ethernet adapter local area connection. In case you are connected to Wi-Fi, look under wireless LAN adapter.
When DNS Server is Changed
In case DNS server is changed, you must use ipconfig /flushdns to flush your DNS resolver cache. On the event of a change in DNS server, the effects do not drill down immediately. Windows has a mechanism of using a cache that remembers DNS responses received. The purpose is to save time when the same addresses are accessed again later.
If you do not run the ipconfig /flushdns command after altering the DNS server, Windows would fetch old, cached entries instead of getting addresses from the new DNS servers.
If there is trouble in network connection, there are commands such as ping and tracert that help you identify problems. Ping lets you find if there is traffic loss and the time data packets are taking to reach destination. tracert command traces the route taken the packets to reach the destination.
For more information about these commands, you can refer to a document detailing troubleshooting Internet connection problems.