Difference between revisions of "Assignment: IP-ICMP-ARP Applications"

From Embedded Xinu
Jump to navigation Jump to search
Line 22: Line 22:
  
 
== Student Outcomes ==
 
== Student Outcomes ==
Upon completion of this assignment students should understand how to implement various shell commands that interact with the underlying network interface.  Implementing the shell commands should give the student a better grasp of how the protocol's actually work and how various user commands, that they have used elsewhere, disguise this reality.
+
Upon completion of this assignment students should understand how to implement various shell commands that interact with the underlying network interface.  Implementing the shell commands should give the student a better grasp of how the various protocols actually work and how user commands, that they have used elsewhere, disguise this reality.
  
 
== Potential References ==
 
== Potential References ==

Revision as of 02:11, 19 December 2008

Overview

This assignment is part of the Networking With Xinu track for professors that are Teaching With Xinu and it is intended to be completed in groups of two or three.

Preparation

A new tar-ball is provided with a solution to the previous assignment. If your solution is similar to the one presented, you may choose to continue on with it; but it is suggested that you untar the new project files in a fresh working directory:

   tar xvzf <tar-ball location>

Shell Commands

We have implemented three protocols within our networking portion of Embedded Xinu. In this assignment we will add shell commands to create useful interaction with those protocols. We will be adding four shell commands: arp, ping, snoop and ethstat.

Upon completion of the assignment the students' implementation should have all the required shell commands properly implemented and well tested.

Required Assignment Parts
  • shell command: 'arp'
  • shell command: 'ethstat'
  • shell command: 'ping'
  • shell command: 'snoop'
Optional Assignment Parts
  • respond to received traceroute packets with the proper ICMP packet

If you choose not to implement the optional assignment parts then placing test case code within the shell's 'test' command will allow you to run one or more tests on your implementation at run-time. Optional portions to an assignment may be required portions of a later assignment.

Student Outcomes

Upon completion of this assignment students should understand how to implement various shell commands that interact with the underlying network interface. Implementing the shell commands should give the student a better grasp of how the various protocols actually work and how user commands, that they have used elsewhere, disguise this reality.

Potential References