Client Tools


A thorough understanding of WINS and server-based resolutions is great, but it won't help diagnose problems on a client. The tools discussed in the following sectionsnbtstat, ipconfig, and netdiagare helpful in resolving name resolution problems.

nbtstat

NBT stands for NetBIOS over TCP/IP. Thus, nbtstat gives you statistics for NetBIOS over TCP/IP. The utility is used to determine which NetBIOS names the machine has cached and to which IP addresses those names resolved. You need to be aware of the options for using the nbtstat, as outlined in Table 4.1.

Table 4.1. The nbtstat Command Switches

Switch

#Description

-a

Displays the name table of a remote machine given its name. Figure 4.22 shows the results of nbtstat -a.

-A

Displays the name table of a remote machine given its IP address.

-c

Displays the cache of NetBIOS names held by the local machine. This is useful for determining which names the local client has requested recently and how they were resolved. Figure 4.23 shows the results of NBTSTAT -c.

-n

Displays a list of local NetBIOS names.

-r

Displays a list of names that have been resolved by broadcast and via WINS.

-R

Purges and reloads the remote cache name table.

-s

Displays a sessions table, showing the names of remote machines. Figure 4.24 shows the results of NBTSTAT -s.

-S

Displays a sessions table, showing only IP addresses for remote machines.

-RR

Performs a release and refresh by sending Name Release packets to the WINS and then starting a Refresh.


Figure 4.22. nbtstat -a shows the machine's NetBIOS table.


Figure 4.23. nbtstat -c shows the local NetBIOS cache.


Figure 4.24. nbtstat -s shows the current NetBIOS sessions.


ipconfig

Perhaps the most widely used TCP/IP utility is the ipconfig utility. It is the only way to display all the dynamic information retrieved from a DHCP server. It also allows you to update DHCP and name resolution information. ipconfig is the primary utility you will use when attempting to diagnose and fix IP configuration problems, and it was discussed in depth in Chapter 1.

Exam Alert: ipconfig

Know the options for the ipconfig utility, and, more importantly, know what they do. You'll be expected to know which option to use in a given situation.


netdiag

Unlike the other tools discussed in this chapter, netdiag is not included as a part of the standard Windows Server 2003 installation. To install neTDiag, you must install the Windows Server 2003 Support tools or download it as a separate update. The netdiag utility is available from the Microsoft Web site for free.

For the exam, you need to know that the netdiag tool is used to diagnose all types of connectivity problems. It automatically runs a series of tests to help you determine where your connectivity problems lay.

Note: netdiag

You can get more information about the Windows Server 2003 SP1 Support Tools by visiting the following Knowledge Base article: http://support.microsoft.com/kb/892777. This article also provides a link to the download. Alternatively, you can find the Windows Server 2003 Support Tools on your Windows Server 2003 product CD; it's the file named suptools.msi located in the "\SUPPORT\TOOLS" folder.





MCSA(s)MCSE 70-291(c) Implementing, Managing, and Maintaining a Microsoft Windows Server 2003 Network Infrastructure
MCSA/MCSE 70-291: Implementing, Managing, and Maintaining a Microsoft Windows Server 2003 Network Infrastructure (Exam Prep)
ISBN: 0789736497
EAN: 2147483647
Year: 2006
Pages: 196
Authors: Will Schmied

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net