To find ipaddress on windows OS, we have a command “ipconfig”
Start | Run | cmd and enter ipconfig
Microsoft Windows [Version 6.1.7601] Copyright (c) 2009 Microsoft Corporation. All rights reserved. C:\Users\myUser>ipconfig Windows IP Configuration Wireless LAN adapter Wireless Network Connection: Media State . . . . . . . . . . . : Media disconnected Connection-specific DNS Suffix . : Ethernet adapter Local Area Connection: Connection-specific DNS Suffix . : Link-local IPv6 Address . . . . . : ff10::1139:18de:1aab:aa5e%11 IPv4 Address. . . . . . . . . . . : 192.160.10.32 Subnet Mask . . . . . . . . . . . : 255.255.255.0 Default Gateway . . . . . . . . . : 192.160.10.1
wifi is disconnected, so the result says “media disconnected”
ipconfig will display all ip addresses of the LANs, Virtual box, interfaces etc connected.
For more detailed information inluding ip address
C:\Users\myUser>ipconfig/all
To display only ip address details from the result, then
C:\Users\myUser>ipconfig | findstr /c:Address Link-local IPv6 Address . . . . . :ff10::1139:18de:1aab:aa5e%11 IPv4 Address. . . . . . . . . . . :192.160.10.32
This above command will only display the result containing the word “Address”
Reference – https://technet.microsoft.com/en-in/library/bb490907.aspx
Leave a Reply