How to obtain the current IP address, Subnet Mask, Default Gateway, or Primary DNS server configuration information from the computer.
The current IP configuration can be obtained either from the Network and Sharing Center of the operating system or by using the IPCONFIG command in a Command Prompt window.
IMPORTANT: The IP configuration information listed in the Network and Sharing Center window or by using the Command Prompt window is only information about the current connection status of the computer. Should this information indicate a problem, more troubleshooting will be needed in order to fully identify and resolve connection issues.
To check the IP address of a network connection using the Network and Sharing Center:
- Press the Windows Logo + X key combination on the keyboard and, from the Right click on the Start button, click Control Panel.
NOTE: Because the Control Panel is a traditional Windows Desktop application, if you were not already there, the interface will change to the Desktop and the Control Panel window will open.
- Under Network and Internet, click View network status and tasks.
- In the Network and Sharing Center window, in the View your active networks section, next to Connections, click an active network connection.
- Click Details.
NOTE: The link name will vary depending on the network connection type and username.
- In the Network Connection Details window, next to IPv4 IP Address the IP address is listed
To check the IP address of a network connection using the IPCONFIG command in a Command Prompt window:
- Press the Windows Logo + X key combination on the keyboard and, from the Right click on the Start button, click Command Prompt.
NOTE: Because the Command Prompt is a traditional Windows Desktop application, if you were not already there, the interface will change to the Desktop and the Command Prompt window will open.
- In the Command Prompt window, type IPCONFIG and then press the ENTER key.
- The Command Prompt window will now display the computer's current IP address and additional Internet configuration information for any wired or wireless port connection.
Regardless of the method used to access the information, some of the other more notable information listed is:
- Connection-specific DNS Suffix: This is the suffix of your Internet Service Provider (ISP)
- IPv4 Address: This is the IP address, or network address, and is most often the address needed and/or requested in order to establish a Network.
- If the IP address starts with 192, this means the network is detected, the router did assign a valid IP address automatically (DHCP mode), and network connection is ok.
- If the IP address starts with 169 then either no network is detected or the router did not assign an IP address automatically (DHCP mode) and Windows assigned the default IP address internally to the computer. In either case, no network connection is established. This issue is most likely due to an issue with the network itself (a router issue).
- If the computer IP shows a 0.0.0.0 address, this means no network adapter was detected. This issue is most likely due to a problem with the computer network interface card (NIC).
- Subnet Mask: Usually expressed as 255.255.255.000 (or some variation).
NOTE: An IP address has two components, the network address and the host address. A Subnet Mask allows the host part of the address to be divided into two or more subnets.
- Default Gateway: Usually expressed as a variation of the same address listed for the IPv4 Address. In fact, the IPv4 Address is usually assigned automatically by the router (DHCP mode) and therefore is usually a derivative of the router address.
NOTE: The Default Gateway is typically the IP Address of the router that connects the internal network to an outside network (Internet).