Tuesday 4 April 2006

Networking Basics - Ipconfig

Use Ipconfig to display IP information or perform limited DNS/DHCP functionality associated with the network adaptor.

IPCONFIG - display basic IP configuration
IPCONFIG /? - display options

Most useful

IPCONFIG /ALL - display detailed IP configuration
IPCONFIG /RENEW - get fresh ip from DHCP.
IPCONFIG /FLUSHDNS - if you suspect DNS caching.

Examples -

C:\>ipconfig

Windows IP Configuration

Ethernet adapter Local Area Connection:

Connection-specific DNS Suffix . : it.domain.co.uk
IP Address. . . . . . . . . . . . : 10.4.1.7
Subnet Mask . . . . . . . . . . . : 255.255.0.0
Default Gateway . . . . . . . . . : 10.4.0.1


C:\>ipconfig /all

Windows IP Configuration

Host Name . . . . . . . . . . . . : desktop007
Primary Dns Suffix . . . . . . . : it.domain.co.uk
Node Type . . . . . . . . . . . . : Hybrid
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No
DNS Suffix Search List. . . . . . : it.domain.co.uk
it.domain.co.uk
domain.co.uk
co.uk

Ethernet adapter Local Area Connection:

Connection-specific DNS Suffix . : it.domain.co.uk
Description . . . . . . . . . . . : Intel(R) PRO/100 VM Network Connection
Physical Address. . . . . . . . . : 00-0B-CD-A2-E1-0A
Dhcp Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
IP Address. . . . . . . . . . . . : 10.4.1.7
Subnet Mask . . . . . . . . . . . : 255.255.0.0
Default Gateway . . . . . . . . . : 10.4.0.1
DHCP Server . . . . . . . . . . . : 10.4.255.2
DNS Servers . . . . . . . . . . . : 172.16.254.9
172.16.254.8
Primary WINS Server . . . . . . . : 172.16.254.9
Secondary WINS Server . . . . . . : 172.16.254.8
Lease Obtained. . . . . . . . . . : 16 March 2006 17:38:36
Lease Expires . . . . . . . . . . : 24 March 2006 17:38:36

No comments: