CS 457 - Fall 2008

Homework 2

Date assigned: Sept 23, 2008
Date due: Sept 30, 2007 in class (you may also email your answer before class)
Submission tag: HW2

  1. Problem 1 (10pts): Exercise 39 (p.159)
  2. Problem 2 (10pts): Exercise 40 (p.159)
  3. Problem 3 (15pts): Exercise 41 (p. 159)
  4. Problem 4 (15pts): Exercise 43 (p.160)
  5. Problem 5 (25pts): Exercise 44 (p.160)
  6. Problem 6 (10pts): Exercise 58 (p.164) Note that the description of early vs. delayed release is on page 128.
  7. Problem 7 (15pts): ARP (Address resolution protocol): Read the manual page for  the command "arp" to understand the different options. Make sure you explain at least the following options: -v, -n, -a -d -s, -i. Run the command on the machines in the lab. Explain what you see. Then, use the "ping" command to ping another machine in the lab. Make sure that there is no arp entry for that machine. Run the arp command again and explain what happened. Log on the machine you just pinged and use the ifconfig command to justify what you saw using arp. Finally, ping a machine outside the lab (such as cnn.com) and explain the output of the arp command. You must produce printouts of the results of each command you run. Use either the script commnd or redirection to save the output to a file and theninclude it in your report.
Note: All homework assignments are individual assignments. Please do your own work.