From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andy Furniss Date: Sun, 13 Feb 2005 01:08:46 +0000 Subject: Re: [LARTC] HTB metro/international Message-Id: <420EA89E.9070203@dsl.pipex.com> List-Id: References: <200502121408.55574.gvasiliu@bitdefender.com> In-Reply-To: <200502121408.55574.gvasiliu@bitdefender.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org gypsy wrote: > George Vasiliu wrote: > >>Hi all! >>I have a problem setting up HTB on my home network. >>I have a network: 192.168.1.0/24 and I want to limit the download to 200 KB to >>every IP from my city ( I have the IP's of most ISPs). The thing is that I I >>want to limit the international traffic too (I do not use BGP) and set it >> to 15 KB. Can someone help with this setup? Thanks! >> >>Best regards, >>-- >>George > > > You cannot shape downloads, only uploads. You must "police" downloads, > which means to drop all packets that are over the specified limit. You can - it's just not perfect bacause you are at the wrong end of the bottleneck - policing doesn't do it perfectly either IMO shaping (ratelimiting) is still better than policing. > > Since you know IP ranges, sounds to me like you want one of the iptables > add ons that does rate limiting. > -- > gypsy > _______________________________________________ > LARTC mailing list / LARTC@mailman.ds9a.nl > http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/ > _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/