TCP Traffic - Computer Networking Lab 3
Resources
Description
- This module gives students experience generating and analyzing TCP flows. Students will use iperf to create a flow and view the sawtooth behavior. A second flow will then be introduced to show how TCP flows share a link.
- Use iperf to generate TCP traffic
- Start the iperf server; this allows the node to receive iperf traffic. The ampersand(&) allows the command to run in the background while the console is in use.
- iperf -s &
- Start the iperf client; this opens a TCP connection to the iperf server on the server node and begins sending packets. The (-c) indicates that iperf should run in clinet mode and it should connect to the host named "server." The "-i 10" tell iperf to print updates every 10 seconds and "-t 180" indicates that the client should run for 180 seconds before closing the connection.
- iperf -c server -i 10 -t 180 &
- Have an understanding of how TCP utilizes and shares a link's capacity
- TCP uses the link's capacity with bandwidth need going up and down stream
- Be able to adjust the MTU on an interface
- A GRE tunnel is used to connect nodes from different aggregates. When a GRE tunnel is used, it is necessary to adjust the Maximum Transmission Unit (MTU) size for the interfaces.
- sudo ifconfig <interface name> mtu 1400
New Vocab
- iperf
- tool for measuring TCP and UDP bandwidth performance
Comments
Post a Comment