The GEC4 Demo (Part 3)
while ( true ) do ./fltr --cmd update_result --fpid 0 --fid 6 --txdaddr 10.1.32.2 --txdport 20000 --qid 12 --sindx 49 sleep 10 ./fltr --cmd update_result --fpid 0 --fid 6 --txdaddr 10.1.16.2 --txdport 20000 --qid 9 --sindx 6 sleep 10 done
In the last part of the experiment, we demonstrate the effect of installing a filter that sends traffic from H1 to H4 via R3-R2 rather than directly through R2 and then restoring the filter that uses the original route directly through R2. The script change1Filter.sh is shown above. It repeatedly modifies (--cmd update_result) filter 6 (--fid 6) so that the destination queue and destination socket cause the packets from H1 to H4 to go through R3 for 10 seconds and then R2 for 10 seconds before repeating the same sequence.
[ [ NEED FIGURE Effect of Filter Changes ] ]
The effect of installing the filter is shown in the figure (right). When the new filter is installed, the Packet Rates chart shows traffic now flowing in the plot labeled H1 to H4 PostQ via Rtr 3 and H1 to H4 PreQ via Rtr 3 instead of the ones labeled without the words via Rtr 3. Furthermore, a backlog develops in queue 12 (H1 to H4 output Q on Rtr1 (via Rtr3)) instead of queue 9 (H1 to H4 output Q on Rtr1).