All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andy Furniss <andy.furniss@dsl.pipex.com>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] HTB metro/international
Date: Sun, 13 Feb 2005 01:08:46 +0000	[thread overview]
Message-ID: <420EA89E.9070203@dsl.pipex.com> (raw)
In-Reply-To: <200502121408.55574.gvasiliu@bitdefender.com>

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/

  parent reply	other threads:[~2005-02-13  1:08 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-02-12 12:08 [LARTC] HTB metro/international George Vasiliu
2005-02-12 15:12 ` George Alexandru Dragoi
2005-02-12 16:44 ` gypsy
2005-02-13  1:08 ` Andy Furniss [this message]
2005-02-13  8:34 ` George Vasiliu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=420EA89E.9070203@dsl.pipex.com \
    --to=andy.furniss@dsl.pipex.com \
    --cc=lartc@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.