> > ok, I'm running a Linux system as an internet gateway for the
> > LAN. I want to put bandwith limits [ie; 5k/sec] on certain LAN IP
> > addresses and set download quotas [ie; 50mb/day] on certain LAN
> > IP's... Result being for example:
> > 192.168.0.5 can only download at a max of 5k/sec and has a limit
> > of 50mb downloads/day.
> > How can this be done???
Linux has actually very advanced routing and traffic control. It is
also very generic and low-level. This is good if you need maximum
control and is bad if you have not got the time to learn all the
intricacies. For traffic control:
<http://www.linuxdoc.org/HOWTO/Adv-Routing-HOWTO.html>
The documentation is not yet complete. If you can't figure it out
send me an email and I'll send you my TC config as a starting point.
(I am still learning this myself, so don't expect something polished.)
I have not seen anything to automatically enforce download quotas, but
it shouldn't be too hard to write a suitable script.
Quote:> This is the only program I know that will do it for linux. I wanted
> to try it out at one point but could not get a copy.
> http://www.etinc.com/bwmgr.html
Hmm, that page gives a 404, but <http://www.etinc.com/> is fine.
Without downloading it, this looks like you need to buy some hardware
if you want to use the software. Is that correct?
--
Manfred
----------------------------------------------------------------
NetfilterLogAnalyzer, NetCalc, whois at: <http://logi.cc/linux/>