wiki:GENIEducation/SampleAssignments/TcpAssignment/ForInstructors

Version 3 (modified by shuang@bbn.com, 12 years ago) (diff)

--

Materials and Guidance for leading this exercise: <TCP ASSIGNMENT>

Exercise materials

Anything that the instructor might need, e.g.:

Guidance for leading the exercise

Steps by step instructions for how to do this assignment, e.g.:

  • useful commands:

Change the use of congestion control algorithm:

echo reno | sudo tee /proc/sys/net/ipv4/tcp_congestion_control
echo cubic | sudo tee /proc/sys/net/ipv4/tcp_congestion_control

Change the delay/loss of a particular interface:

sudo /sbin/tc qdisc add dev eth1 root handle 1:0 netem delay 200ms loss 5%

Restore network delay/loss on nic card:

sudo /sbin/tc qdisc del dev eth1 root

Solutions

Anything that would help grade this assignment, e.g.:

  • Answers to the source code for kernel module can be found Here

Attachments (1)

Download all attachments as: .zip