RE: Help? Router/Bandwidth throttle needed.

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> The webpage was helpful in some ways, but I think it is a step too 
advanced
> for me at this time.
> 
> I guess what I want to know is if the 'plan' I have is sound?
> 
> I want to put a linux box between my cable modem and my lan.  It'll go 
from
> the cablemodem into eth0 then from eth1 to the LAN.
> 
> I just want to do complete passthrough (with packets intact) if possible
> from one side to the other.  This machine doesn't have to do NAT or
> anything.
> 
> Then I want to throttle the bandwidth through that box intelligently (I 
kind
> of know how to do that from the Advanced Routing Howto.  I've done it on 
the
> other three servers to throttle the bandwidth down).
> 
> Once all that is working, I'll deal with using iptables to firewall.
> 
> 
> If this plan is sound, I guess I need to know the vague steps involved 
to
> accomplish the routing.  The throttling I can figure out myself.
> 
> -Michael 
> 

Michael,

You're on the right list. Your plan is very doable. A solution would be

--------     ---------    -------
| cable|-----| linux |----| LAN |
|modem |     | bridge|    -------
--------     | w/QoS |
             ---------

Just so happens I have a HOWTO on my website. You'll need to tweak the 
shaping for your own needs. For your servers you could do a total max 
limit (so users still always get some bandwidth) and implement SFQ 
(fairness queuing) so that if multiple servers are getting hit, they 
divide the bandwidth up as fairly as possible. Using src and dest IP the 
servers could be isolated. Then you could lump all other traffic together. 
Or my preference is to create another class for say port 80, or any other 
apps, that is above the default (bulk traffic).

Here's the HOWTO

http://www.burnpc.com/website.nsf/all/3a64a6369757819686256f960068ad75!OpenDocument


HTH,
-Ron
_______________________________________________
LARTC mailing list
LARTC@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux