<div id="_htmlarea_default_style_" DEFANGED_style="font:10pt arial,helvetica,sans-serif"><DIV><BR>Hi
everybody,</DIV>
<DIV>Some time ago I set up netem on my Gentoo laptop and it worked fine, now I'm trying to set it up on a SUSE box (kernel 2.6.16) and I'm facing a problem I don't really
understand.</DIV>
<DIV>The command I&nbsp;enter is:</DIV>
<DIV>&nbsp;</DIV>
<DIV># tc qdisc add dev eth0 root netem delay 20ms loss 20%</DIV>
<DIV>&nbsp;</DIV>
<DIV>Then I try pinging my laptop, which is connected to eth0, and while I get a 24.1ms delay (on my laptop I got 21ms) there isn't any packet loss (on my laptop I got values between 18 and 22%). The weird thing is that if I try pinging the box from my laptop the packets get lost in the right percentage. How is this
possible?</DIV>
<DIV>&nbsp;</DIV>
<DIV>As a side note, is the following command correct?</DIV>
<DIV>&nbsp;</DIV>
<DIV># tc qdisc add dev eth0 root handle 1: netem delay 20ms</DIV>
<DIV># tc qdisc add dev eth0 parent 1:1 handle 10: netem loss 20%</DIV>
<DIV>&nbsp;</DIV>
<DIV>If I try running this, I get only the packet loss when pinged (still no packet loss when pinging), and&nbsp;less than 1ms of delay, but shouldn't it be the same than the above? A similar behaviour happens also on my laptop, when the first command
works.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Thanks in advance,</DIV>
<DIV>Ferdinando Formica</DIV>
<DIV>&nbsp;</DIV></div>