From: "George Peverill" Date: Wed, 05 Mar 2003 13:32:45 +0000 Subject: [LARTC] I must become a bandwidth nazi. MIME-Version: 1 Content-Type: multipart/mixed; boundary="----=_NextPart_000_0006_01C2E2FA.30C16FC0" Message-Id: List-Id: To: lartc@vger.kernel.org This is a multi-part message in MIME format. ------=_NextPart_000_0006_01C2E2FA.30C16FC0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Was wondering if someone can more or less come up with something newbie'ish for me to quickly and easily limit traffic to one host on my Nat'd network (192.168.0.60 for instance is using 90% of the bandwidth most of the time in our 12 machine network) mostly DCC's on IRC. Is there a quick and super simple way to do it with tc/cbq etc ? eth0 - global interface to net (10mps card) eth1 - local (to switch feeding NAT'd machines) (100mps card) using a cable modem connect (2670 kbps downstream, 1156 kbps upstream, measured via dslreports.com) Need a way to limit bandwidth to one particular machine on the 192.168.x.x network.Don't even need to divide up bandwidth like most cbq tutorials discuss. I think it involves the ingress filter but not sure. If someone could write a simple tc script that would limit bandwidth to an ip (ie:192.168.0.61) on our network to say 25-50k/s or there abouts. I've used the wondershaper script here at home but no overly useful in the case of work and the need for me to become a Bandwidth Nazi. I've used IPTraf and it pretty much tells the tale. ------=_NextPart_000_0006_01C2E2FA.30C16FC0 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Message
Was = wondering if=20 someone can more or less come up with something newbie'ish for me to = quickly and=20 easily limit
traffic to one host=20 on my Nat'd network (192.168.0.60 for instance is using 90% of the = bandwidth=20 most of the time in our
12 = machine network)=20 mostly DCC's on IRC. Is there a quick and super simple way to do it = with=20 tc/cbq etc ?
 
eth0 - = global=20 interface to net (10mps card)
eth1 - = local (to=20 switch feeding NAT'd machines) (100mps card)
 
 
using = a cable modem=20 connect (2670 kbps downstream, 1156 kbps upstream, measured via=20 dslreports.com)
 
 
Need a = way to limit=20 bandwidth to one particular machine on the 192.168.x.x network.Don't = even need=20 to divide up bandwidth
like = most cbq=20 tutorials discuss. I think it involves the ingress filter but not sure. = If=20 someone could write a simple tc script that = would
limit = bandwidth to=20 an ip (ie:192.168.0.61) on our network to say 25-50k/s or there abouts. I've used the wondershaper=20 script
here = at home but no=20 overly useful in the case of work and the need for me to become a = Bandwidth=20 Nazi. I've used IPTraf and
it = pretty much tells=20 the tale.
 
 
------=_NextPart_000_0006_01C2E2FA.30C16FC0-- _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/