Information Technology Reference
In-Depth Information
Using a Command-Line Interface
The following commands will repair a Windows Server 2003 network connection. The first
command releases and renews your IP address with a DHCP server:
> ipconfig /renew
> arp -d *
> nbtstat -R
> nbtstat -RR
> ipconfig /flushdns
> ipconfig /registerdns
We'll discuss each of these commands in the following section.
How It Works
Beginning with Windows Server 2003 and Windows XP, the Network Connections GUI has
provided a quick shortcut to help you troubleshoot a misbehaving network connection. When
you select the Repair button, the local computer automatically performs the following tasks:
￿
Releases the currently leased IP address, and then contacts the DHCP server to obtain a
new lease ( ipconfig /renew ).
￿
Deletes the contents of the local Address Resolution Protocol (ARP) cache. Each local
computer maintains a cache of IP address to MAC address mappings of remote computers
that have recently been contacted; deleting this cache allows the local computer to start
fresh ( arp -d * ).
Deletes the contents of the local NetBIOS cache ( nbtstat -R ).
￿
￿
Sends a release notification to the WINS server, and then reregisters the local NetBIOS
name in WINS ( nbtstat -RR ).
Deletes the contents of the local DNS cache ( ipconfig /flushdns ).
￿
￿
Refreshes the DHCP lease one more time, and reregisters its DNS name with the locally
configured DNS server ( ipconfig /registerdns ).
￿
Restarts the 802.1X Authentication service.
See Also
￿
Recipe 1-12 for more on managing dynamic DNS configuration
￿
Microsoft KB 314850: “The Syntax and Options for Using the IPConfig Diagnostic Utility
for Network Connections”
9-7. Troubleshooting NetBIOS Name Resolution
Problem
You want to troubleshoot NetBIOS name resolution on your Windows Server 2003 network.
Search WWH ::




Custom Search