Charles-

I am in awe.

"Bandwidth limiting is easy!  Just do this:"

<command> <40+ args>

I had to chuckle.


Brent Gardner
Network Administrator
IPRO Tech, Inc.
www.iprocorp.com 


> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of 
> Charles Steinkuehler
> Sent: Tuesday, March 07, 2006 3:25 PM
> To: Chris Carbaugh
> Cc: LEAF
> Subject: Re: [leaf-user] Traffic Shaping
> 
> 
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Chris Carbaugh wrote:
> > Hi all,
> > 
> > I'm trying to simulate a satellite link for testing 
> purposes.  All the 
> > guides I've found so far deal with prioritizing traffic in order to 
> > get the most efficient use of the link.
> > 
> > I'm trying to do the opposite;  I want to to limit traffic down to 
> > 1.5Mbps/256Kbps and throw in some high latency.
> > 
> > Can anyone point me in the right direction?
> 
> Bandwidth limiting on output is easy...just use the token 
> bucket filter (the following caps TX bandwidth to 50 MBits/s 
> and RX bandwidth to 20
> MBits/s):
> 
> tc qdisc add dev eth0 root tbf rate 50mbit latency 10ms burst 
> 50kb tc qdisc add dev eth0 handle ffff: ingress tc filter add 
> dev eth0 parent ffff: protocol ip prio 50 u32 match ip \
>   src 0/0 police rate 20mbit burst 20k drop flowid :1
> 
> For more realistic simulation, you may want to check into 
> something like
> NetEm:
> http://linux-net.osdl.org/index.php/Netem
> http://developer.osdl.org/shemminger/netem/LCA2005_paper.pdf
> 
> With netem you can add large (and variable) delays, random 
> packet loss/duplication, out-of-order delivery, and various 
> other 'real-world' conditions.
> 
> - --
> Charles Steinkuehler
> [EMAIL PROTECTED]
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.0 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
> 
> iD8DBQFEDghYLywbqEHdNFwRAuCJAJ0UP6BN2wRH8YJ0nsoogYtR0Z67+gCfbQ2+
> wNkbsKnyDqIs0is09XO6/lE=
> =OB3Z
> -----END PGP SIGNATURE-----
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by xPML, a groundbreaking 
> scripting language that extends applications into web and 
> mobile media. Attend the live webcast and join the prime 
> developer group breaking into this new coding territory! 
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&;
dat=121642
------------------------------------------------------------------------
leaf-user mailing list: [email protected]
https://lists.sourceforge.net/lists/listinfo/leaf-user
Support Request -- http://leaf-project.org/



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
------------------------------------------------------------------------
leaf-user mailing list: [email protected]
https://lists.sourceforge.net/lists/listinfo/leaf-user
Support Request -- http://leaf-project.org/

Reply via email to