Linux Netfilter discussions
 help / color / mirror / Atom feed
* Iptables as packet shaper
@ 2005-05-14 11:51 Wennie V. Lagmay
  2005-05-14 15:39 ` Jason Opperisano
  0 siblings, 1 reply; 4+ messages in thread
From: Wennie V. Lagmay @ 2005-05-14 11:51 UTC (permalink / raw)
  To: netfilter

Hi all,

Im using iptables to filter, translate IP address and forward traffic,  Im 
using squid delay_pool to limit client access per user and per network, but 
im having a limitation with the squid delay_pool. I want to have a packet 
shaper that can can allow my user to have 32 kbps during peer time and 256 
during off peek time. Delay_pool is not capable of that. Can IPTABLES do 
this kind of shaping?

Thank you very much,

wennie 



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Iptables as packet shaper
  2005-05-14 11:51 Iptables as packet shaper Wennie V. Lagmay
@ 2005-05-14 15:39 ` Jason Opperisano
  2005-05-15  5:58   ` Wennie V. Lagmay
  0 siblings, 1 reply; 4+ messages in thread
From: Jason Opperisano @ 2005-05-14 15:39 UTC (permalink / raw)
  To: netfilter

On Sat, May 14, 2005 at 02:51:55PM +0300, Wennie V. Lagmay wrote:
> Hi all,
> 
> Im using iptables to filter, translate IP address and forward traffic,  Im 
> using squid delay_pool to limit client access per user and per network, but 
> im having a limitation with the squid delay_pool. I want to have a packet 
> shaper that can can allow my user to have 32 kbps during peer time and 256 
> during off peek time. Delay_pool is not capable of that. Can IPTABLES do 
> this kind of shaping?

no--bandwidth management is not the job of iptables, it is the job of tc
from the iproute2 package.  details are at:

  http://lartc.org/howto/lartc.qdisc.html

lartc also has their own ML:

  http://lartc.org/#mailinglist

-j

--
"Peter: Wow, is that really the blood of Christ?
 Preacher: Yes, it is.
 Peter: Holy crap, that guy must've been wasted 24 hours a day."
        --Family Guy


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Iptables as packet shaper
  2005-05-14 15:39 ` Jason Opperisano
@ 2005-05-15  5:58   ` Wennie V. Lagmay
  2005-05-15  6:48     ` Robert Vangel
  0 siblings, 1 reply; 4+ messages in thread
From: Wennie V. Lagmay @ 2005-05-15  5:58 UTC (permalink / raw)
  To: Jason Opperisano, netfilter

If  im not mistaken TC require iptroute 2. If im already using iptables for 
my routing, firewall and NAT, do I need to disable iptables for iproute2 or 
iptables and iproutes works hand in hand

thanks,

wennie

----- Original Message ----- 
From: "Jason Opperisano" <opie@817west.com>
To: <netfilter@lists.netfilter.org>
Sent: Saturday, May 14, 2005 6:39 PM
Subject: Re: Iptables as packet shaper


> On Sat, May 14, 2005 at 02:51:55PM +0300, Wennie V. Lagmay wrote:
>> Hi all,
>>
>> Im using iptables to filter, translate IP address and forward traffic, 
>> Im
>> using squid delay_pool to limit client access per user and per network, 
>> but
>> im having a limitation with the squid delay_pool. I want to have a packet
>> shaper that can can allow my user to have 32 kbps during peer time and 
>> 256
>> during off peek time. Delay_pool is not capable of that. Can IPTABLES do
>> this kind of shaping?
>
> no--bandwidth management is not the job of iptables, it is the job of tc
> from the iproute2 package.  details are at:
>
>  http://lartc.org/howto/lartc.qdisc.html
>
> lartc also has their own ML:
>
>  http://lartc.org/#mailinglist
>
> -j
>
> --
> "Peter: Wow, is that really the blood of Christ?
> Preacher: Yes, it is.
> Peter: Holy crap, that guy must've been wasted 24 hours a day."
>        --Family Guy
> 



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Iptables as packet shaper
  2005-05-15  5:58   ` Wennie V. Lagmay
@ 2005-05-15  6:48     ` Robert Vangel
  0 siblings, 0 replies; 4+ messages in thread
From: Robert Vangel @ 2005-05-15  6:48 UTC (permalink / raw)
  To: netfilter

[-- Attachment #1: Type: text/plain, Size: 369 bytes --]

Wennie V. Lagmay wrote:
> If  im not mistaken TC require iptroute 2. If im already using iptables 
> for my routing, firewall and NAT, do I need to disable iptables for 
> iproute2 or iptables and iproutes works hand in hand
> 
> thanks,
> 
> wennie
> 

In a nutshell, iptables is for filtering, iproute for routing. They 
don't clash & you use both of them together.


[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/x-pkcs7-signature, Size: 3166 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2005-05-15  6:48 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-05-14 11:51 Iptables as packet shaper Wennie V. Lagmay
2005-05-14 15:39 ` Jason Opperisano
2005-05-15  5:58   ` Wennie V. Lagmay
2005-05-15  6:48     ` Robert Vangel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox