ipconfig is a windows tool that display various IP configurations on each of the Ethernet Network and Wireless adapters installed on the computer. ipconfig works in Windows 2000, Windows 2003, Windows XP operating systems. The most commonly used for reason is to display the IP Address and the default Gateway, DHCP and DNS settings. From the command prompt, simply type ipconfig to show the IP address, Subnet mask and Default Gateway on all the ethernet network and wireless adapters.
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.
this is not at helpful from any angle