<DIV>i tried the examples given on the netem examples page. my machine has 3 ethernet interfaces. eth1(11.0.0.2) is connected to packet generator(11.0.0.1), eth2(11.0.1.2) is connected to a sink(11.0.1.1). </DIV>
<DIV>&nbsp;</DIV>
<DIV>i tried </DIV>
<DIV>tc qdisc add dev eth2 root netem loss 50%</DIV>
<DIV>&nbsp;</DIV>
<DIV>this works, i.e when i send ping from 11.0.0.1 to 11.0.1.1 then almost 50% of the pings get dropped. </DIV>
<DIV>&nbsp;</DIV>
<DIV>but when i tried</DIV>
<DIV>tc qdisc change dev eth2 root netem gap 5 latency 10ms</DIV>
<DIV>the machine freezes on the first ping packet sent. </DIV>
<DIV>&nbsp;</DIV>
<DIV>please let me know if i am doing something wrong.</DIV>
<DIV>&nbsp;</DIV>
<DIV>thanks. </DIV><p>
                <hr size=1>Do you Yahoo!?<br> 
Meet the <a href="http://my.yahoo.com">all-new My Yahoo!</a> – Try it today!