From: Joel Newkirk <netfilter@newkirk.us>
To: Ivano Proietti Mucci <ipmucci@yahoo.com.br>,
netfilter@lists.netfilter.org
Subject: Re: iptables wishes
Date: Tue, 1 Apr 2003 10:35:21 -0500 [thread overview]
Message-ID: <200304011035.21340.netfilter@newkirk.us> (raw)
In-Reply-To: <006c01c2f85b$9b2d8800$1e0110ac@ausland.net.br>
On Tuesday 01 April 2003 09:32 am, Ivano Proietti Mucci wrote:
> like most peaple, i have a gateway to internet, and the thing is: how
> to limit bandwidth per internal-ip?
>
> thanks,
> Ivano
This can be achieved with advanced routing. The LARTC HowTo has some
sections relating to this at:
http://lartc.org/howto/lartc.cookbook.html
If the bandwidth allocation policy is strictly IP-based then the solution
is routing. If the policy depends on connection type as well (IE, bulk
transfers like P2P prioritized lower than interactive connections) then
the solution incorporates the TOS or MARK targets in iptables, in the
mangle-PREROUTING and mangle-OUTPUT chains.
Very powerful stuff, but I've yet to find a how-to on it that is both
clear AND thorough. (with a subject so complex, that combination is
extremely difficult to achieve...)
j
next prev parent reply other threads:[~2003-04-01 15:35 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-04-01 9:48 AW: iptables wishes mailinglists
2003-04-01 12:13 ` Stephen Frost
2003-04-01 12:29 ` iptable / packet flow Scott MacKay
2003-04-01 12:45 ` Scott MacKay
2003-04-01 14:32 ` iptables wishes Ivano Proietti Mucci
2003-04-01 15:35 ` Joel Newkirk [this message]
-- strict thread matches above, loose matches on Subject: below --
2003-04-02 16:54 Alex McCubbin
2003-04-01 9:58 Michael Klinteberg
2003-04-01 14:22 ` Joel Newkirk
2003-04-01 8:41 Joel Newkirk
2003-04-01 10:17 ` Martin Josefsson
2003-04-01 15:13 ` Joel Newkirk
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=200304011035.21340.netfilter@newkirk.us \
--to=netfilter@newkirk.us \
--cc=ipmucci@yahoo.com.br \
--cc=netfilter@lists.netfilter.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