Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to limit iptables bandwidth of each units

Status
Not open for further replies.

dekcool

Programmer
Oct 2, 2002
231
PH
hi!
i have succesfully created linux inet server using iptables.
how can i adjust each bandwidth of each connection.
coz some unit getting all the bandwidth and it suffer all other connected unit in the server.

any idea or advice will appreciated thanks in advance


____________________________________________________
Invest your time in learning, Not just practicing.

DEK
 
Try using Shaper if you intend to do any sort of bandwidth allocation or limiting. Haven't personally implemented it yet, but the general idea is to:
- install shaper
- configure your limits/allocations
- replace references of your int. interface with shp0 in your iptables routing script
 
hi! thanks

im new w/ linux could you explain more.
thanks again

____________________________________________________
Invest your time in learning, Not just practicing.

DEK
 
Since you are using a 2.4 kernel I would suggest using the kernels net schedualing functionality. This works like shaper but you don't have to use the shaper pseudo devices and control can be more granular. All that needs to be installed is the iproute2 package. In general you would use the tc command to setup the queues, etc. Here is a HOWTO,
. Most useful would be chapters 9 and 14.

Hope thtah helps.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top