An IP address uniquely identifies a device within a network, enabling communication between computers. In Windows, retrieving your IP address and related network information is essential for network configuration and troubleshooting.

The ipconfig command is a straightforward tool available in the Command Prompt. It displays basic network information like the IP address, subnet mask, and default gateway. This is crucial for verifying your system's network setup.

For more detailed network information, the ipconfig /all command provides additional data, such as the MAC address, DHCP status, and DNS settings. This information is vital for IT professionals managing network configurations and diagnosing issues.

Steps to get IP address and other network information on Windows 11:

  1. Open the Command Prompt by searching for it in the Start menu or the search bar.
  2. Type ipconfig and press Enter to display basic network information.
    C:\Users\user>ipconfig
    
    Windows IP Configuration
    
    
    Ethernet adapter Ethernet0:
    
       Connection-specific DNS Suffix  . : localdomain
       Link-local IPv6 Address . . . . . : fe80::216e:245a:7a1d:e789%6
       IPv4 Address. . . . . . . . . . . : 192.168.111.189
       Subnet Mask . . . . . . . . . . . : 255.255.255.0
       Default Gateway . . . . . . . . . : 192.168.111.2
    
    Ethernet adapter Bluetooth Network Connection:
    
       Media State . . . . . . . . . . . : Media disconnected
       Connection-specific DNS Suffix  . :
  3. Review the IPv4 address, Subnet Mask, and Default Gateway listed under the active network adapter.
  4. For detailed network information, type ipconfig /all and press Enter.
    C:\Users\user>ipconfig /all
    
    Windows IP Configuration
    
       Host Name . . . . . . . . . . . . : host
       Primary Dns Suffix  . . . . . . . :
       Node Type . . . . . . . . . . . . : Hybrid
       IP Routing Enabled. . . . . . . . : No
       WINS Proxy Enabled. . . . . . . . : No
       DNS Suffix Search List. . . . . . : localdomain
    
    Ethernet adapter Ethernet0:
    
       Connection-specific DNS Suffix  . : localdomain
       Description . . . . . . . . . . . : Intel(R) 82574L Gigabit Network Connection
       Physical Address. . . . . . . . . : 00-0C-29-D1-94-0A
       DHCP Enabled. . . . . . . . . . . : Yes
       Autoconfiguration Enabled . . . . : Yes
       Link-local IPv6 Address . . . . . : fe80::216e:245a:7a1d:e789%6(Preferred)
       IPv4 Address. . . . . . . . . . . : 192.168.111.189(Preferred)
       Subnet Mask . . . . . . . . . . . : 255.255.255.0
       Lease Obtained. . . . . . . . . . : Saturday, February 19, 2022 1:38:46 PM
       Lease Expires . . . . . . . . . . : Saturday, February 19, 2022 2:23:45 PM
       Default Gateway . . . . . . . . . : 192.168.111.2
       DHCP Server . . . . . . . . . . . : 192.168.111.254
       DHCPv6 IAID . . . . . . . . . . . : 100666409
       DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-29-A3-1B-BC-00-0C-29-D1-94-0A
       DNS Servers . . . . . . . . . . . : 192.168.111.2
       Primary WINS Server . . . . . . . : 192.168.111.2
       NetBIOS over Tcpip. . . . . . . . : Enabled
    
    Ethernet adapter Bluetooth Network Connection:
    
       Media State . . . . . . . . . . . : Media disconnected
       Connection-specific DNS Suffix  . :
       Description . . . . . . . . . . . : Bluetooth Device (Personal Area Network)
       Physical Address. . . . . . . . . : F8-FF-C2-51-B8-74
       DHCP Enabled. . . . . . . . . . . : Yes
       Autoconfiguration Enabled . . . . : Yes
  5. Review additional details such as the MAC address, DHCP status, and DNS servers.
  6. Verify that the network adapter is correctly connected by checking the Media State line.
  7. Close the Command Prompt when done.
Discuss the article:

Comment anonymously. Login not required.