IP address is used for communication between computers in the network. It has to be unique within the network and is assigned to each network interface in a computer that participates in a network.

You can get the IP address and other network information such as the default gateway, subnet mask, DHCP, and DNS informationYou can also see if the network interface is physically connected to the switch from the command prompt.

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

  1. Launch command prompt from the search bar.
  2. Run ipconfig command to show basic network information of your system.
    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. Run ipconfig command with /all switch to show detailed network information of your system.
    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
Discuss the article:

Comment anonymously. Login not required.