[Netem] enable delay and loss at the same time?
Li, Ji
ji.li3 at hp.com
Tue Jul 12 08:30:23 PDT 2005
Thank you all a lot! Both methods work!
Best,
-Ji
-----Original Message-----
From: netem-bounces at lists.osdl.org [mailto:netem-bounces at lists.osdl.org]
On Behalf Of stephen.earl at bt.com
Sent: Tuesday, July 12, 2005 10:02 AM
To: netem at lists.osdl.org
Subject: RE: [Netem] enable delay and loss at the same time?
Try:
tc qdisc add dev eth0 root handle 1: netem delay 100ms
tc qdisc add dev eth0 parent 1:1 handle 10: netem loss .1%
-----Original Message-----
From: Julio Kriger [mailto:juliokriger at gmail.com]
Sent: Tuesday, July 12, 2005 10:04 AM
To: Li, Ji
Cc: netem at lists.osdl.org; jli at mit.edu
Subject: Re: [Netem] enable delay and loss at the same time?
Hi,
You should use:
tc qdisc change dev eth0 root netem delay 100ms loss .1%
Regards,
Julio
-----Original Message-----
From: netem-bounces at lists.osdl.org
[mailto:netem-bounces at lists.osdl.org]On Behalf Of Li, Ji
Sent: 12 July 2005 14:46
To: netem at lists.osdl.org
Cc: jli at mit.edu
Subject: [Netem] enable delay and loss at the same time?
Hi,
I want to use NetEm to simulate delay and packet loss at the same time,
but if I simply do the following, the second command will overwrite the
first command.
# tc qdisc add dev eth0 root netem delay 100ms # tc qdisc change dev
eth0 root netem loss .1%
I guess it's more a tc question rather than NetEm question, but if any
one would tell me the correct tc commands, your help is highly
appreciated!
Thanks,
-Ji
_______________________________________________
Netem mailing list
Netem at lists.osdl.org
https://lists.osdl.org/mailman/listinfo/netem
More information about the Netem
mailing list