From: gypsy <gypsy@iswest.com>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] Simple traffic shaping
Date: Tue, 12 Jul 2005 03:25:49 +0000 [thread overview]
Message-ID: <42D3383D.ACCA086@iswest.com> (raw)
In-Reply-To: <Pine.LNX.4.62.0507111937090.18851@andretta.apf.it>
"Barbara M." wrote:
>
> My needs is limiting the outbound traffic of an smtp mail server.
> It is connected to a gateway via 100Mbit ethernet. I want limits its
> outbound traffic to max 3 Mbit.
>
> I have read lot of docs and tried various script without great results.
>
> Any simplest solutions?
>
> TIA.
> Regards, B.
HTB:
tc qdisc add dev $DEV root handle 1: htb default 20
tc class add dev $DEV parent 1: classid 1:1 htb rate 3000kbit burst 6k
tc class add dev $DEV parent 1:1 classid 1:20 htb rate 3000kbit \
burst 6k quantum 1500 prio 1
tc filter add dev $DEV parent 1: protocol ip prio 5 u32 \
match ip sport 25 0xffff flowid 1:20
TRICKLE:
http://monkey.org/~marius/trickle
But I doubt the above will suit you because you don't tell us anything else
about the traffic on your mail server.
--
gypsy
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
next prev parent reply other threads:[~2005-07-12 3:25 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-07-11 17:41 [LARTC] Simple traffic shaping Barbara M.
2005-07-11 17:47 ` ICI Support
2005-07-11 22:45 ` Barbara M.
2005-07-12 0:53 ` nix4me
2005-07-12 3:25 ` gypsy [this message]
2005-07-12 11:59 ` Barbara M.
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=42D3383D.ACCA086@iswest.com \
--to=gypsy@iswest.com \
--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 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.