All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stephen Hemminger <shemminger@osdl.org>
To: George Nychis <gnychis@cmu.edu>
Cc: linux-kernel@vger.kernel.org, netdev@vger.kernel.org,
	matt.keenan@btinternet.com
Subject: Re: want to randomly drop packets based on percent
Date: Mon, 17 Apr 2006 09:46:34 -0700	[thread overview]
Message-ID: <20060417094634.7191fea5@localhost.localdomain> (raw)
In-Reply-To: <4444171B.90507@cmu.edu>

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.

  reply	other threads:[~2006-04-17 16:46 UTC|newest]

Thread overview: 11+ 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 [this message]
2006-04-17 17:05       ` George Nychis
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
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=20060417094634.7191fea5@localhost.localdomain \
    --to=shemminger@osdl.org \
    --cc=gnychis@cmu.edu \
    --cc=linux-kernel@vger.kernel.org \
    --cc=matt.keenan@btinternet.com \
    --cc=netdev@vger.kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.