Facebook Twitter Instagram
    TecAdmin
    • Home
    • Ubuntu 20.04
      • Upgrade Ubuntu
      • Install Java
      • Install Node.js
      • Install Docker
      • Install LAMP Stack
    • Tutorials
      • AWS
      • Shell Scripting
      • Docker
      • Git
      • MongoDB
    • FeedBack
    • Submit Article
    • About Us
    Facebook Twitter Instagram
    TecAdmin
    Home»Windows Tutorials»How To Check IP Address on Windows via Command Prompt

    How To Check IP Address on Windows via Command Prompt

    RahulBy RahulNovember 11, 20184 Mins ReadUpdated:December 15, 2018

    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.

    • Read: How to Flush/Clear DNS Cache on Windows?

    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
    
    ip address ipconfig windows
    Share. Facebook Twitter Pinterest LinkedIn Tumblr Email WhatsApp
    Previous ArticleHow to close terminal without killing running processes on Linux
    Next Article How to Install and Configure pgAdmin4 on Ubuntu 18.04 & 16.04

    Related Posts

    How to Clear the ASP.NET Temporary files in Windows

    Updated:June 15, 20221 Min Read

    Creating Python Virtual Environment on Windows

    Updated:June 3, 20222 Mins Read

    Configuring the Static IPv4 Address on Ubuntu using Netplan

    3 Mins Read

    How to Enable / disable Firewall in Windows

    Updated:May 17, 20222 Mins Read

    How to Check IPv4 Address on Ubuntu 22.04

    2 Mins Read

    How to Start & Stop Windows Service via Command Line

    Updated:March 29, 20222 Mins Read

    Leave A Reply Cancel Reply

    Recent Posts
    • How to run “npm start” through docker
    • Filesystem Hierarchy Structure (FHS) in Linux
    • How to accept user input in Python
    • What is difference between var, let and const in JavaScript?
    • What is CPU? – Definition, Types and Parts
    Facebook Twitter Instagram Pinterest
    © 2022 Tecadmin.net. All Rights Reserved | Terms  | Privacy Policy

    Type above and press Enter to search. Press Esc to cancel.