When you use the IPCONFIG /ALL command, it displays the configuration information for all your interfaces, as in:
Windows IP Configuration Host Name . . . . . . . . . . . . : jsi001 Primary Dns Suffix . . . . . . . : JSIINC.COM Node Type . . . . . . . . . . . . : Unknown IP Routing Enabled. . . . . . . . : Yes WINS Proxy Enabled. . . . . . . . : No DNS Suffix Search List. . . . . . : JSIINC.COM Ethernet adapter Internet: Connection-specific DNS Suffix . : Description . . . . . . . . . . . : 3Com EtherLink XL 10/100 PCI TX NIC (3C905B-TX) Physical Address. . . . . . . . . : 00-51-AD-67-1A-3E DHCP Enabled. . . . . . . . . . . : No IP Address. . . . . . . . . . . . : xxx.xxx.xxx.xxx Subnet Mask . . . . . . . . . . . : 255.255.255.248 Default Gateway . . . . . . . . . : yyy.yyy.yyy.yyy DNS Servers . . . . . . . . . . . : zzz.zzz.zzz.zzz aaa.aaa.aaa.aaa NetBIOS over Tcpip. . . . . . . . : Disabled Ethernet adapter JSIINC: Connection-specific DNS Suffix . : Description . . . . . . . . . . . : 3Com EtherLink Server 10/100 PCI (3C980B-TX) Physical Address. . . . . . . . . : 00-51-AD-27-1E-813 DHCP Enabled. . . . . . . . . . . : No IP Address. . . . . . . . . . . . : 192.168.0.1 Subnet Mask . . . . . . . . . . . : 255.255.255.0 Default Gateway . . . . . . . . . : DNS Servers . . . . . . . . . . . : 192.168.0.1When you use the netsh interface ip show config command, it shows configuration information for all your interfaces, like"
Configuration for interface "Internet" DHCP enabled: No IP Address: xxx.xxx.xxx.xxx SubnetMask: 255.255.255.248 Default Gateway: yyy.yyy.yyy.yyy GatewayMetric: 0 InterfaceMetric: 1 Statically Configured DNS Servers: zzz.zzz.zzz.zzz aaa.aaa.aaa.aaa Statically Configured WINS Servers: None Register with which suffix: None Configuration for interface "JSIINC" DHCP enabled: No IP Address: 192.168.0.1 SubnetMask: 255.255.255.0 InterfaceMetric: 0 Statically Configured DNS Servers: 192.168.0.1 Statically Configured WINS Servers: None Register with which suffix: Primary onlyIf you wish to display IP configuration information for a specific interface, use:
netsh interface ip show config "Interface Name"
Example
Typing netsh interface ip show config "JSIINC" returns:Configuration for interface "JSIINC" DHCP enabled: No IP Address: 192.168.0.1 SubnetMask: 255.255.255.0 InterfaceMetric: 0 Statically Configured DNS Servers: 192.168.0.1 Statically Configured WINS Servers: None Register with which suffix: Primary onlyNOTE: How can I rename an interface (Local Area Connection) from the command-line?
NOTE: How do I retrieve an interface \{GUID\}?
NOTE: How can I locate the registry key for the TCPIP service parameters interface for my LAN?
0 comments
Hide comments