simple question

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




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
 
_______________________________________________
LARTC mailing list
LARTC@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux