From: George Nychis <gnychis@cmu.edu>
To: Stephen Hemminger <shemminger@osdl.org>
Cc: linux-kernel@vger.kernel.org, netdev@vger.kernel.org
Subject: Re: want to randomly drop packets based on percent
Date: Mon, 17 Apr 2006 13:05:21 -0400 [thread overview]
Message-ID: <4443CAD1.9050701@cmu.edu> (raw)
In-Reply-To: <20060417094634.7191fea5@localhost.localdomain>
Stephen Hemminger wrote:
>On Mon, 17 Apr 2006 18:30:51 -0400
>George Nychis <gnychis@cmu.edu> wrote:
>
>
>
>>Stephen Hemminger wrote:
>>
>>
>>
>>>On Mon, 17 Apr 2006 03:38:33 -0400
>>>George Nychis <gnychis@cmu.edu> wrote:
>>>
>>>
>>>
>>>
>>>
>>>>Hey,
>>>>
>>>>I'm using the 2.4.32 kernel with madwifi and iproute2 version
>>>>2-2.6.16-060323.tar.gz
>>>>
>>>>I wanted to insert artificial packet loss based on a percent so i found:
>>>>network emulab qdisc could do it, so i compiled support into the kernel
>>>>and tried:
>>>>tc qdisc change dev eth0 root netem loss .1%
>>>>
>>>>
> ^^^^^^
>
>You need to do add not change. Add will set the queue discipline
>to netem (default is pfifo_fast). Change is for changing netem parameters
>after it is loaded.
>
>
>
bahhh I see... the wiki has "change" instead of add. Now i'm running
into another problem, I have an XCP qdisc that I have already added via:
tc qdisc add dev ath0 root xcp capacity 54Mbit size 500
therefore when I also try to incorperate loss:
tcq disc add dev ath0 root netem loss .1%
I get:
RTNETLINK answers: File exists
Is it possible to use two qdiscs on the same interface?
Thanks!
George
next prev parent reply other threads:[~2006-04-17 17:05 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-04-17 7:38 want to randomly drop packets based on percent George Nychis
2006-04-17 14:21 ` Jan Engelhardt
2006-04-17 16:19 ` Stephen Hemminger
2006-04-17 22:30 ` George Nychis
2006-04-17 16:46 ` Stephen Hemminger
2006-04-17 17:05 ` George Nychis [this message]
2006-04-17 17:32 ` Stephen Hemminger
2006-04-17 23:04 ` George Nychis
2006-04-17 23:08 ` George Nychis
[not found] <62wv1-U5-1@gated-at.bofh.it>
2006-04-17 10:45 ` Bodo Eggert
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4443CAD1.9050701@cmu.edu \
--to=gnychis@cmu.edu \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=shemminger@osdl.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).