Linux Advanced Routing and Traffic Control list
 help / color / mirror / Atom feed
From: Stef Coene <stef.coene@docum.org>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] Shaping
Date: Tue, 23 Apr 2002 05:23:13 +0000	[thread overview]
Message-ID: <marc-lartc-101953956701055@msgid-missing> (raw)
In-Reply-To: <marc-lartc-101950185205014@msgid-missing>

On Monday 22 April 2002 20:57, Isak Badenhorst wrote:
> Hi all
>
> I am trying to shape the e-mail going out on my network.  When i send some
> outgoing mail it just eats up all bandwidth available.  I would appreciate
> some help.  I have a 128kbit link to my provider.
>
>
> tc qdisc add dev eth0 root handle 10: cbq bandwidth 10mbit avpkt 1000
> tc class add dev eth0 parent 10:0 classid 10:2 cbq bandwidth 10mbit rate
> 128kbit allot 1514 maxburst 20 avpkt 1000 isolated bounded prio 3
> tc qdisc add dev eth0 parent 10:2 handle 20: cbq bandwidth 128kbit allot
> 1514 avpkt 1000
> tc class add dev eth0 parent 20: classid 20:10 cbq bandwidth 128kbit rate
> 16kbit weight 4 allot 1514 maxburst 20 avpkt 1000
> tc class add dev eth0 parent 20: classid 20:20 cbq bandwidth 128kbit rate
> 112kbit weight 12 allot 1514 maxburst 20 avpkt 1000
>
> tc filter add dev eth0 parent 10: protocol ip prio 3 u32 match ip src
> 0.0.0.0/32 flowid 10:2
> tc filter add dev eth0 parent 20: protocol ip prio 3 u32 match ip dport 25
> 0xffff flowid 20:10
> tc filter add dev eth0 parent 20: protocol ip prio 3 u32 match ip src
> 0.0.0.0/32 flowid 20:20
>
> Any help would be appreciated.
I suppose the setup is not working ?   :)
Change 128kbit in 120kbit.  Rule 1 for shaping : "Make sure YOU are the 
bottleneck".

Stef
>
> Thanks
>
> Isak
>
> _______________________________________________
> LARTC mailing list / LARTC@mailman.ds9a.nl
> http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

-- 

stef.coene@docum.org
 "Using Linux as bandwidth manager"
     http://www.docum.org/
     #lartc @ irc.openprojects.net
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

  reply	other threads:[~2002-04-23  5:23 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-04-22 18:57 [LARTC] Shaping Isak Badenhorst
2002-04-23  5:23 ` Stef Coene [this message]
2004-05-31 12:57 ` [LARTC] shaping Abraham van der Merwe
2004-05-31 13:17 ` Mike
2004-06-01  8:58 ` Abraham van der Merwe

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=marc-lartc-101953956701055@msgid-missing \
    --to=stef.coene@docum.org \
    --cc=lartc@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox