HW 4 Hints
- PROBLEM 2) Please use sslab02~sslab25; DO NOT use sslab01. The sender and receiver pair should be a pair of adjcaent machines (especially, sslab 2*i and sslab 2*i+1). For example, you may pick sslab02 and sslab03 or sslab04 and sslab05 and so on. The address of ping should be one of the private IP addresses (i.e., 10.0.0.102 - 10.0.0.125) of SSLAB machines. DO NOT use any packet analyzer program, e.g., tcpdump or ethereal. You are required to analyze the packets in bit(or byte) level. 'hexdump' would be a good tool for you. Show the actual contents of packets and locate the header fields (i.e., version number, IP addresses, and every other one specified in the assignment sheet) and explain what gives you the location of the fields.
- PROBLEM 3) Here is an example TCP server/client code. For benchmarking, do not ignore the microsecond part of gettimeofday().
- PROBLEM 4) Here is an example UDP sender/receiver code.