How to check the IP address on a Windows system using command prompt? The Windows operating systems provide ipconfig
command to view local system IP address and other interface details.
What is an IP Address?
A Internet Protocol address (IP address) is the numerical label assigned to each hardware devices connected to a computer network that uses the Internet Protocol to identify the devices. In general terms, it is an identity of any devices. An IP address allows a device to communicate with other devices over an IP-based network like the LAN or Internet.
How to Check Windows IP Address
Launch the Windows command prompt by typing cmd on run window.
Then use ipconfig command on Windows system command prompt. This will show you the details of all network interfaces configured on your Windows system.
c:\> ipconfig
Sample output:
Windows IP Configuration Ethernet adapter Ethernet: Connection-specific DNS Suffix . : Link-local IPv6 Address . . . . . : fe80::9121:66bc:8eb9:a58f%3 IPv4 Address. . . . . . . . . . . : 192.168.1.5 Subnet Mask . . . . . . . . . . . : 255.255.255.0 Default Gateway . . . . . . . . . : 192.168.1.1 Tunnel adapter isatap.{BCC1ECE9-D9A3-4AC4-95CC-9F51D28E8AD6}: Media State . . . . . . . . . . . : Media disconnected Connection-specific DNS Suffix . :
As per the above output, this system has IP address 192.168.1.5 on Ethernet adapter. The default gateway is set to 192.168.1.1. The Gateway is a network device (eg: router) in Local area network directly connected to the internet.
You can also view the detailed information of the network interfaces by specifying /all command line parameters with ipconfig command. For example:
c:\> ipconfig /all
Sample output:
Windows IP Configuration Host Name . . . . . . . . . . . . : TecAdmin-PC Primary Dns Suffix . . . . . . . : Node Type . . . . . . . . . . . . : Hybrid IP Routing Enabled. . . . . . . . : No WINS Proxy Enabled. . . . . . . . : No Ethernet adapter Ethernet: Connection-specific DNS Suffix . : Description . . . . . . . . . . . : Realtek PCIe GBE Family Controller Physical Address. . . . . . . . . : D4-3D-7E-B6-24-22 DHCP Enabled. . . . . . . . . . . : No Autoconfiguration Enabled . . . . : Yes Link-local IPv6 Address . . . . . : fe80::9121:66bc:8eb9:a58f%3(Preferred) IPv4 Address. . . . . . . . . . . : 192.168.1.5(Preferred) Subnet Mask . . . . . . . . . . . : 255.255.255.0 Default Gateway . . . . . . . . . : 192.168.1.1 DHCPv6 IAID . . . . . . . . . . . : 64241022 DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-22-41-AD-6D-D4-3D-7E-B6-24-22 DNS Servers . . . . . . . . . . . : 8.8.8.8 192.168.1.1 NetBIOS over Tcpip. . . . . . . . : Enabled Tunnel adapter isatap.{BCC1ECE9-D9A3-4AC4-95CC-9F51D28E8AD6}: Media State . . . . . . . . . . . : Media disconnected Connection-specific DNS Suffix . : Description . . . . . . . . . . . : Microsoft ISATAP Adapter Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0 DHCP Enabled. . . . . . . . . . . : No Autoconfiguration Enabled . . . . : Yes