Re: HTB metro/international

Linux Advanced Routing and Traffic Control

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

 



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@xxxxxxxxxxxxxxx http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/



_______________________________________________
LARTC mailing list / LARTC@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

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