How to check IP address from CMD? Just run the command line to find the IP address. Ipconfig that’s command find to help the IP address of a system. When you run this a command ipconfig to print IP addresses for all the network adapters installed on your system device.
c:\>ipconfig Windows IP Configuration Ethernet adapter Local Area Connection: Connection-specific DNS Suffix . : IPv4 Address. . . . . . . . . . . : 192.168.1.2 Subnet Mask . . . . . . . . . . . : 255.255.255.0 Default Gateway . . . . . . . . . : 192.168.1.1 Wireless LAN adapter Wireless Network Connection: Media State . . . . . . . . . . . : Media disconnected Connection-specific DNS Suffix . :
Read Also: Find DNS address of Website
If you use findstr command and it helps to filter out unwanted details. findstr command help to just know the IP address and not show all other details printed by the command.
c:\>ipconfig | findstr /C:Address Link-local IPv6 Address . . . . . : fe80::f9d5:883c:9ae7:3af0%12 IPv4 Address. . . . . . . . . . . : 192.168.0.105 IPv6 Address. . . . . . . . . . . : 2001:0:4137:9e76:14b6:3da3:b662:d819 Link-local IPv6 Address . . . . . : fe80::14b6:3da3:b662:d819%11 c:\>
Just, here it’s showing the IP address for the different interfaces which is installed on the computer and including IPv6 interfaces.
Your system is connected to a DHCP configured by the network then you can release the IP obtained from DHCP.
ipconfig /release
To release this IPv6 address below command and above command only work for IPv4.
ipconfig /release6
Read Also: Disable LAN connection using CMD