This document summarizes a network simulation program written in NS2 that studies the Aloha protocol. The program creates 6 nodes connected in a network topology with duplex links of varying bandwidths and distances. It defines agents, applications and traffic to generate and receive packets. The simulation runs for 5 seconds of simulation time and traces are recorded to analyze the performance of the Aloha protocol under the different network conditions defined in the program.