Answers to Review Questions
1. C. Although all utilities can be used to test the functionality of an IP host in one way or another, the ping utility is used specifically to test whether an IP host is up and responding.
2. A. The ARP utility is used to display the contents of the ARP cache, which tracks the resolution of IP addresses to physical (MAC) addresses and will produce the displayed output.
3. A. The nbt in nbtstat stands for “NetBIOS over TCP/IP.” The purpose of nbtstat is to display
the NetBIOS over TCP/IP statistics for a computer running both protocols.
4. B. The purpose of the ping utility is to test the communications channel between two IP hosts
as well as how long it takes the packets to get from one host to another.
5. B. The winipcfg utility is for Windows 95/98. It displays information like the MAC and TCP/
IP address of your workstation as well as other TCP/IP configuration information for your
workstation.
6. B, D. The address 127.0.0.1 is the special IP address designated for the local TCP/IP interface.
The host name localhost is the host name given to the local interface. Therefore, pinging either
the IP address or the host name for the local interface will tell you whether or not the local interface
is working.
7. A. The command nbtstat –r displays all the name resolutions performed by the local client as
well as their associated IP addresses. The –R switch will reload the cache.
8. D. The only utility listed that can be used to download files from a UNIX server is the ftp utility.
9. B. To purge and reload the remote NetBIOS name cache, you must use nbtstat –R. Remember that the R must be uppercase and it will not work correctly without the hyphen before it.
10. B. The ipconfig utility is similar to the Windows 95/98 utility winipcfg in that it displays the current TCP/IP configuration of a station. However, ipconfig is a Windows NT based–only
utility, with a limited version available for 98.
11. B. The tracert utility traces the route from the source IP host to the destination host.
12. C. The tracert utility will tell you which router is having the performance problem and how long it takes to move between each host. Tracert can be used to locate problem areas in a network.
13. A. The ipconfig /all switch will display the most complete listing of TCP/IP configuration information for a Windows NT computer.
14. C. The tracert utility returns all router names and addresses through which a packet passes on its way to a destination host.
15. E. The Telnet utility can be used to test if a particular IP host is responding on a particular TCP port.
16. C. The arp –a command will display the current contents of the ARP cache on the local workstation. 202 Chapter 4 TCP/IP Utilities
17. B. The get command, followed by the name of the file you want to download, will initiate the download of that particular file.
18. A, D. The arp utility’s –a and –g switches perform the same function. They both show the current ARP cache.
19. C. The –s switch will enable you to view the statistics about how many of a particular TCP/IP protocol’s packets have been sent and received.
20. C. nbtstat –s will list all NetBIOS sessions, incoming and outgoing, from that PC.