ipconfig – Display and refresh IP settings
Posted on Sep 08, 2007 under IP Tools, Networking, Windows | 1 CommentTags:IP Tools Windows   
C:\Program Files\Windows Resource Kits\Tools>ipconfig
Windows IP Configuration Ethernet adapter Wireless Network Connection:
Connection-specific DNS Suffix . :
IP Address. . . . . . . . . . . . : 192.168.0.2
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.0.1
Ethernet adapter Network Connect Adapter:
Media State . . . . . . . . . . . : Media disconnected
If you a complete list of all the parameters including the MAC Address, DNS, DHCP servers, Hostname,DNS suffix etcuse ipconfig with /all switch.
C:\>ipconfig/all
Windows IP Configuration Host Name . . . . . . . . . . . . : mytestpc
Primary Dns Suffix . . . . . . . : example.com
Node Type . . . . . . . . . . . . : Hybrid
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No
DNS Suffix Search List. . . . . . : example.com
Ethernet adapter Wireless Network Connection:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Intel(R) PRO/Wireless 2200BG
Network Connection Physical Address. . . . . . . . . : xx-xx-xx-xx-xx-xx
Dhcp Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
IP Address. . . . . . . . . . . . : 192.168.0.2
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.0.1
DHCP Server . . . . . . . . . . . : 192.168.0.1
DNS Servers . . . . . . . . . . . : 192.168.0.1
Lease Obtained. . . . . . . . . . : 08 September 2007 17:34:47
Lease Expires . . . . . . . . . . : 11 September 2007 17:34:47
The other options include,
/flushdns – Flush all the DNS Cache. More info here
/displaydns – Display the DNS Cache. More info here
/registerdns – Automatic Dynamic DNS registration
/release – Release DHCP lease
/renew – Release and renew the DHCP lease
/showclassid – Display DHCP Classid for the adapters
/setclassid – Set the DHCP classid
/? – Help. Shows all the available options for the ipconfig utility.
If you're new here, you may want to subscribe to my RSS feed. Thanks for visiting!


by neha jha, on June 9 2012 @ 2:15 pm
this is not at helpful from any angle