From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wingtung.Leung s965817@uia.ua.ac.be Date: Fri, 24 Nov 2000 21:37:23 +0000 Subject: SV: [LARTC] Bandwidth limiting Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org
On Fri, 24 Nov 2000, Thomas Habets wrote:
>
> Why can't it just be like:
> iptables -t shaper -A OUTPUT -s 1.2.3.0/24 --maxspeed8Kbit -j SHAPE
>

Because iptables is used for firewalling (packet filtering) functions and
tc (and ip) handle queuing and routing.

There is an options for iptables to limit rate (check the man page), but
if you need "the real stuff", I suppose tc is the way to go. It supports
more flexible setups. Too bad we are still missing a extensive reference
for tc, but Daniel is working on it.