TCP/IP Utilities - verifies and debugs TCP/IP networking problems
- ping - used to test if another computer is "alive"
- tracert - traces the route taken to another computer on the Internet
- netstat - shows static information at a given point in time; used to determine status of connections
- nslookup - checks records, domain host aliases, etc. by querying the Internet domain name servers
- route - prints the IP route table
- hostname - prints the name of the current host
- ipconfig - displays the current TCP/IP network configuration values
- arp - displays the ARP (address resolution protocol) table on the local computer
- winipcfg - displays information about the ip configuration including the NICs physical address
- nbtstat - lists the Remote Cache Name Table and the Local Name Table
Log onto the Linux or NT host to do the following:
- ping uses ICMP to send an ECHO_REQUEST to elicit an ICMP ECHO_REPONSE from the secifed host.
Use ping to test several sites on the Internet and record the average response time for each site.
- Determine the approximate distances to the following sites:
- London (www.oxford.ac.uk)
- Kota Kinabalu, Sabah, Malaysia (www.ums.edu.my)
- Bloomington, IN (www.iu.edu)
- Mexico City (www.unam.mx)
- Los Angeles (www.usc.edu)
- Las Vegas, NM (www.nmhu.edu)
- Ping each of the sites above sending 64 bytes, 10 times and record the average response time. (e.g. ping jaring.nmhu.edu -l 64 -n 10)
- Draw an X-Y graph comparing the distances with the average response times.
- Pick two of the off-campus sites and ping the sites with messages of 8, 16, 32, 64, 128, and 256 bytes. Graph the message size versus RTT for these sites as well as www.nmhu.edu
- tracert or traceroute examines the path an ICMP message takes from source to destination
Use tracert to determine the number of hops between your computer and the the six sites listed above. Graph the number of hops versus the distance.
- ftp is a file transfer program that uses the FTP protocol. File transfers are extended bursts of data and are good for analyzing network traffic.
- Log onto your account on a Linux computer, create a subdirectory ftplab and start a script file by typing
script ftplab.scr
- You will transfer the following four files from jaring.nmhu.edu to your subdirectory ftplab: (template.htm, mountain.gif, sheep.exe, and cork.zip):
- ftp jaring.nmhu.edu
- cd /ftplab
- prompt
- binary
- get each file
- bye
- end the script [CTRL+D]
- Login to three other computers and repeat this procedure.
- Use the script files (either print them or use more to extract the information to analyze the data and answer the following questions:
- How many people were logged onto the computer during your tests? (use who)
- What is the theoretical transfer rate over Ethernet?
- Which files came in quickest? Why? How does this compare to the theoretical transfer rate?
- Did any other factors affect the network traffic while you were running your tests?
- What kind of relationship does the numer of connections have to network traffic flow? Why?
- Use netstat to find the active TCP connections. Describe what you found.
- Use netstat to find information on the routing tables. Describe what you found.
- Use netstat to view the statistics for the behavior of the network protocols. Explain your observations
Click here to return to Wayne's World's
homepage:
written by Wayne Summers wsummers@nmhu.edu