COSC 3300 Networks and Internets

Fall 2011

Homework Assignment #5

Address Resolution Protocol
"Soon silence will have passed into legend.
Man has turned his back on silence.
Day after day he invents machines and devices that increase noise
and distract humanity from the essence of life, contemplation, meditation."
-- Jean Arp
Due: Friday, October 7th, 11:59pm CDT
Submit: Turn in your entire kernel source code using the turnin command on the Systems Lab machines.
Work is to be completed in teams. Only one team member should turnin, but it would be courteous to notify your teammate(s) when you do this. Names of authors should be included in all work. You may submit multiple times, but only the last turnin will be kept. The automatic submission system will not accept work after the deadline.

Address Resolution Protocol

Building upon your Embedded Xinu kernel from the previous assignment, implement a basic ARP component for the system.

Your new component should go in a network/arp subdirectory, and should feature the following:

  • A statically allocated table of discovered mappings from IP addresses to MAC addresses,
  • A shell command "arp" that can be used to display the current table, to request a new mapping, or to eliminate an existing mapping.
  • An "ARP Daemon" process that replies to ARP requests destined for your router.
  • See Xinu Wiki Shell Page for instructions on adding an arp command to the XinuShell. See the source files already under network/ in your tarball for some examples of working with packet data.

    [Revised 2011 Sep 30 11:45 DWB]