Networking Forums

Networking Forums > Computer Networking > Linux Networking > IPTABLES limit bandwidth?

Reply
Thread Tools Display Modes

IPTABLES limit bandwidth?

 
 
Supercell
Guest
Posts: n/a

 
      03-11-2005, 07:45 PM
Hi,

I am trying to limit the bandwidth of a particular port and hoped I
could use iptables for this. I am aware of the --limit parameter, but I
don't know how to set it up to say, limit the outgoing throughput to
say 512Kbits/sec. Is this possible with IPTALBES or am I going to have
to try something else?

Thanks,

Mike

 
Reply With Quote
 
 
 
 
Jose Maria Lopez Hernandez
Guest
Posts: n/a

 
      03-11-2005, 07:54 PM
Supercell wrote:
> Hi,
>
> I am trying to limit the bandwidth of a particular port and hoped I
> could use iptables for this. I am aware of the --limit parameter, but I
> don't know how to set it up to say, limit the outgoing throughput to
> say 512Kbits/sec. Is this possible with IPTALBES or am I going to have
> to try something else?


You should look for QoS and the tc command. Take a look at
the LARTC howto at http://lartc.org.

> Thanks,
>
> Mike


Regards.

--

Jose Maria Lopez Hernandez
Director Tecnico de bgSEC
(E-Mail Removed)
bgSEC Seguridad y Consultoria de Sistemas Informaticos
http://www.bgsec.com
ESPAÑA

The only people for me are the mad ones -- the ones who are mad to live,
mad to talk, mad to be saved, desirous of everything at the same time,
the ones who never yawn or say a commonplace thing, but burn, burn, burn
like fabulous yellow Roman candles.
-- Jack Kerouac, "On the Road"
 
Reply With Quote
 
abhtiw
Guest
Posts: n/a

 
      03-11-2005, 10:02 PM
iptables --limit option is used only to limit the number of times a
particular rule is applied in a given time. I dont see how that can be
used to limit the bandwidth. Use tc to limit and iptraf/stakrate/bwm etc
to monitor.

-Abhishek
Drishti Soft
www.drishti-soft.com

 
Reply With Quote
 
Ole Borup
Guest
Posts: n/a

 
      03-14-2005, 12:47 PM
Jose Maria Lopez Hernandez wrote:
> Supercell wrote:
>
>> Hi,
>>
>> I am trying to limit the bandwidth of a particular port and hoped I
>> could use iptables for this. I am aware of the --limit parameter, but I
>> don't know how to set it up to say, limit the outgoing throughput to
>> say 512Kbits/sec. Is this possible with IPTALBES or am I going to have
>> to try something else?

>
>
> You should look for QoS and the tc command. Take a look at
> the LARTC howto at http://lartc.org.


I can in particular recommend Wonder Shaper http://lartc.org/wondershaper/

Regards,
Ole Borup
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to Limit bandwidth for certain PCs in a network?? Beginer0746 Broadband 0 03-07-2012 03:26 PM
tc & bandwidth limit problem pardo Linux Networking 3 05-12-2006 03:06 PM
bandwidth LImit ByteSurfer Windows Networking 0 12-07-2004 03:32 PM
Bandwidth limit and QoS Przemo Karlikowski Windows Networking 0 02-08-2004 02:08 PM
limit bandwidth? Mark Linux Networking 2 10-31-2003 06:30 AM



1 2 3 4 5 6 7 8 9 10 11