Homework 1

Due 9/8

A. Page 61. Questions: (3, 7), 8, (9), (10), 11, (13), (14), 19, (20), (21), (22), (23). Page 63. Problems: 2, (3), 6, 7, 8, (10), (11), (12) (The questions in parentheses do not need to be turned in.)

B. Use trace route to determine the number of hops between 3 destinations of your choice. (Try to include destinations not in the US.) Turn in a listing of the destination IP and the IP of each router between you and the destination. If possible, include the name of the company that owns each router.

C. Use ping to determine the propagation delay. Specifically, send 10 very small packets (these will be 24 bytes) to a particular destination and recoder the average round-trip time (RTT). Then use ping to send 10 packets with larger payload (type "ping" then press enter for help with ping) and compute the average RTT. Compare the difference in the RTTs and determine the transmission time. How might need to try this with various sized packets.

D. Do links have time-varying delay? To answer this questions run trace route and ping at different times of the day (e.g., the middle of the night, morning, afternoon, etc., or maybe just run ping for an entire day) and compare the delay times. (Make sure to include destinations not in the US. Also, use IP addresses instead of names. Use nslookup to translate between names an IP addresses.) Use packet sizes less than 1450. One way to do this is use "ping XXXX.com -t > PingData.txt." Then open the file in a text editor to remove the first few lines and last few lines and remove the letters "ms" (use the replace function for this). So, when you are done, the file has many lines of

...
Reply from 66.218.71.198: bytes=32 time=79 TTL=243
Reply from 66.218.71.198: bytes=32 time=80 TTL=243

...

Then open this file in excel (or matlab) and make a plot of RTT.