...
We'll see host-1 start to send data to host-2. The transfer will show us an update every second (-i 1) and will terminate after 10 seconds (-t 10). On host-1 and host-2, we can see the number of packets that failed to make it from host-1 to host-2. We should see that all packets make it – (0 lost)/(total transferred).
Questions
Please limit your responses to at most three sentences each. Don't write run-on sentences either; less is mor
- What do the results tell us about the utilization of the queueing system on the switch?
- What is the service rate of the switch? You do not have to give an exact answer.
...
To set up our queue, we'll use a program called tc, or traffic control. This is a relatively nice and high level way to manipulate queueing on our VM network interfaces.
Code Block | ||
---|---|---|
| ||
switch$ sudo tc qdisc replace dev ethX handle 2:0 parent root tbf rate 1512Bps burst 1512B limit 1512 |
The queue above should be installed on ethX, where ethX is the interface leading from switch to host-2.
Question
- We want to control the flow of traffic with our queue from host-1 to host-2. On which network interface of the switch should we set up the queue – the one connected to the LAN leading to host-1 or the one connected to the LAN leading to host-2? Hint: What is the "server" or resource of the queueing system our packets are trying to access at the switch VM with respect to host-1-to-host-2 traffic flow?
...