All of lore.kernel.org
 help / color / mirror / Atom feed
From: George Nychis <gnychis@cmu.edu>
To: Stephen Hemminger <shemminger@osdl.org>
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 18:30:51 -0400	[thread overview]
Message-ID: <4444171B.90507@cmu.edu> (raw)
In-Reply-To: <20060417091915.67e28361@localhost.localdomain>



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%
>>    
>>
>
>Most likely, you the version of the kernel you are running was not
>configured with netem enabled.
>
>  
>
Hey Stephen,

I have netem enabled in the kernel... I've checked this numerous times.  
I enabled it under Networking Options -> QoS -> Network emulator.  I 
even did a make clean, make mrproper, and rebuilt from scratch.

Maybe I'll try compiling it as a module and see if anything changes.

Any other ideas?

----

In response to Matt:
Thank you!

One last question, if I take this route, what is the easiest way to 
allow me to change the packet loss without hard coding a percent into 
the kernel?

  reply	other threads:[~2006-04-17 16:35 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 [this message]
2006-04-17 16:46     ` Stephen Hemminger
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=4444171B.90507@cmu.edu \
    --to=gnychis@cmu.edu \
    --cc=linux-kernel@vger.kernel.org \
    --cc=matt.keenan@btinternet.com \
    --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 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.