From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Ferdinando Formica" Date: Mon, 11 Sep 2006 11:47:27 +0000 Subject: [LARTC] simple question Message-Id: MIME-Version: 1 Content-Type: multipart/mixed; boundary="===============0276159710==" List-Id: References: In-Reply-To: To: lartc@vger.kernel.org --===============0276159710== Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: 8bit

Hello everybody,
I'm trying to set up netem on a SuSE box (kernel 2.6.16), but I'm having some weird problems, considering that on my Gentoo laptop (kernel 2.6.17) it worked fine.
 
If I write:
 
# tc qdisc add dev eth0 root netem delay 20ms loss 20%
 
and then try pinging another machine over eth0, I get a 24ms delay but no packet loss (while on my laptop I get 21ms and a correct packet loss).
 
But what I'm sure you'll be able to clarify is this: what's wrong with this command:
 
# tc qdisc add dev eth0 root handle 1: netem delay 20ms
# tc qdisc add dev eth0 parent 1:1 handle 10: netem loss 20%
 
That is what phpnetemgui tries to do, and as far as I read it should be the same as the previous command, but in both the box and my laptop I get only the packet loss...
 
Can anyone help me?
Thanks in advance.
 
Ferdinando
 
--===============0276159710== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc --===============0276159710==--