Monday, April 30, 2007

Work For Today... ipconfig/all

to show the connection status:
C:\>ipconfig /all
Windows 2000 IP Configuration
Host Name . . . . . . . . . . . . : wikipedia
Primary DNS Suffix . . . . . . . :
Node type . . . . . . . . . . . . : Hybrid
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No
DNS Suffix Search List. . . . . . : wikipedia.org
Ethernet adapter Local Area Connection 2:
Connection-specific DNS Suffix . : wikipedia.org
Description . . . . . . . . . . . : Intel(R) PRO/100 VE Netwon #3
Physical Address. . . . . . . . . : 00-D0-B7-A6-F1-11
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
IP Address. . . . . . . . . . . . : 192.168.0.100
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.0.3
DHCP Server . . . . . . . . . . . : 192.168.0.1
DNS Servers . . . . . . . . . . . : 192.168.0.1
Primary WINS Server . . . . . . . : 192.168.0.75
Lease Obtained. . . . . . . . . . : 27 May 2004 09:04:06
Lease Expires . . . . . . . . . . : 30 May 2004 09:04:06

To release and renew DHCP lease
C:\>ipconfig /release
Windows 2000 IP Configuration
IP address successfully released for adapter "Local Area Connection 2"
C:\>ipconfig /renew
Windows 2000 IP Configuration
Ethernet adapter Local Area Connection 2:
Connection-specific DNS Suffix . : wikipedia.org
IP Address. . . . . . . . . . . . : 192.168.0.100
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.0.1

To flush the DNS cache:
C:\>ipconfig /flushdns
Windows 2000 IP Configuration
Successfully flushed the DNS Resolver Cache.

To register DNS resource records:
C:\>ipconfig /registerdnsWindows 2000 IP Configuration

No comments: