Windows

Troubleshoot with Windows 2000 Server's Ipconfig and NetDiag

Ipconfig and NetDiag are two of the TCP/IP troubleshooting tools that's invaluable when troubleshooting basic connectivity and DHCP problems -- but that's not all. Get the lowdown on these Windows 2000 Server support tool and what it can do for you.

Ipconfig is one of the TCP/IP troubleshooting tools that's invaluable when troubleshooting basic connectivity and DHCP problems on your Windows 2000 Server. The primary task of Ipconfig is to display TCP/IP settings. By default, it displays the connection-specific DNS suffix, IP address, subnet mask, and default gateway. If you enter ipconfig /all, you'll get even more information, such as physical (MAC) address, automatic IP status, and DNS servers.

Other important Ipconfig options include /release and /renew, which control DHCP release and renew events, as well as the /flushdns, /displaydns, and /registerdns options. The /flushdns option purges the local DNS cache, and /displaydns displays its contents. The /registerdns option refreshes all DHCP leases and registers names in the DNS. The options /showclassid and /setclassid can be used to set and display DHCP user option classes.

NetDiag is included in Windows 2000 Support Tools, located in the Support.cab in the \support\tools directory on the Windows 2000 Server CD. This diagnostic tool not only displays status information -- it also performs various network tests. When troubleshooting network connectivity, you really don't even have to know other tools because NetDiag tests the network functionality itself.

After running this tool, it will perform several networking tests, such as a default gateway ping, NetBT name test, WINS ping, domain membership test, IP loopback ping, and more. Advanced administrators can do everything that NetDiag does, but when you're troubleshooting a problem and don't know where to start, NetDiag should be your first choice. Because NetDiag is a command line tool, you can easily script it.

Miss a column?

Check out the Windows 2000 Server archive, and catch up on the all the Windows 2000 Server columns.

Want more Windows 2000 Server tips and tricks? Automatically sign up for our free Windows 2000 Server newsletter, delivered each Tuesday!

1 comments
Lei Fan
Lei Fan

They are all extremely useful troubleshooting utilities in my daily life.Simplest one is Ping...hehe,others include tracert, netstat,nbtstat,net use... ...