plugin-ITL-S01-lab6

plugin-ITL-S01-lab6 - Lab 6 Transport Layer Protocols: UDP...

Info iconThis preview shows pages 1–4. Sign up to view the full content.

View Full Document Right Arrow Icon
Transport Layer Protocols: UDP and TCP What you will learn in this lab: How UDP and TCP react to IP Fragmentation. How to do detailed throughput measurements for a TCP connection. TCP interactive data flow and TCP bulk data flow. How TCP schedules retransmissions. Copyright 2001, Jörg Liebeherr. All Rights Reserved. Lab 6
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
ITL LAB 6 - PAGE 2 SPRING 2001 Table of Content Prelab 6 .................................................................................................................... 3 Lab 6 ............................................................................................................................ 5 Setup for Lab 6 . .............................................................................................................. 6 Part 1. Setting up the network topology and routing table. ........................................ 7 Part 2. Learning how to use ttcp ................................................................................ 8 Part 3. MTU and Fragmentation. ................................................................................. 9 Part 4. TCP connection management. ...................................................................... 12 Part 5. TCP data exchange. ........................................................................................ 13 Part 6. TCP retransmission and throughput measurement. ................................... 14 Check List for Lab 6 ..................................................................................... 18 Feedback Form for Lab 6 ...................................................................... 19
Background image of page 2
ITL LAB 6 - PAGE 3 SPRING 2001 Prelab 6 1. Go to the ITLab web page www.cs.virginia.edu/~itlab/prelab/tcp , download the man file of ttcp , ttcp -man.doc or -man.txt. Read the man file of . Provide the syntax of the ttcp command for both client and server which executes the following scenario: A TCP server is on 10.0.2.6 and a TCP client is on 10.0.2.7. The TCP server is waiting on port number 2222 for a connection request. The client connects to the server and transmits 2000 bytes to the server, which are sent as 4 write operations with each 500 bytes. In the lab exercises, you will capture traffic, and subsequently process and visualize the captured data. tcpdump awk script gnuplot or ethereal The data capture is done using . The processing of the data is done using . The visualization of the data is performed by . The following prelab exercises ask you to become familiar with awk and gnuplot. 2. Login to a computer where you have a Unix account. Read the man page of and solve the following problems: 2.1. Assume you have a file named test.data containing 4 columns of integers. Provide the syntax for awk for extracting the first and third field of each row from the input file test.data. 2.2. Consider the file www.cs.virginia.edu/~itlab/prelab/tcpdump.data The file contains the traffic of a TCP connection, which transfers a file. Write an awk script, which takes the above file, and generates from it a file as shown in www.cs.virginia.edu/~itlab/prelab/plot.data . The file plot.data has two columns. The first column has a timestamp at which a data segment was transmitted, and the second column contains the relative sequence numbers of the highest sequence number in the transmitted segment divided by 1024. The timestamp is normalized, so that the first timestamp is at time 0 sec. Further, the sequence numbers are normalized and start with “0” for the first byte of the transfer. The awk script should skip over acknowledgement packets and all packets with flag S, F or R. 3. Refer to the tutorial on available at http://www.cs.uni.edu/Help/gnuplot/. In the lab you will use gnuplot for generating and modifying 2-D plots. 3.1. The following is a set of gnuplot commands which plot the results of the content of the file “plot.data”.
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 4
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 19

plugin-ITL-S01-lab6 - Lab 6 Transport Layer Protocols: UDP...

This preview shows document pages 1 - 4. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online