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] shape outgoing/upload traffic PER-IP.
Date: Wed, 05 May 2004 07:29:55 +0000	[thread overview]
Message-ID: <409897F3.30907@dsl.pipex.com> (raw)
In-Reply-To: <001701c4320e$8f5f1280$bd01a8c0@stillnicks>

gypsy wrote:
>>Cristiano Soares wrote:
>>
>>does anyone know a way to shape outgoing/upload traffic per ip?  I have a network and i want to limit the upload with 100kbit per user.
>>Ex:
>>192.168.1.20 ----> 1024kbit-DOWN / 100kbit-UP
>>192.168.1.21 ----> 1024kbit-DOWN / 100kbit-UP
>>
>>Ive tried CBQ and HTB, but couldnt get is right. the only thing that I
> 
> 
> Grab and read this file:
> 
> ftp://andthatsjazz.net/pub/lartc/ultimatePM.sh
> 
> The gist of the above is that you attach a u32 filter to place each IP
> where you want it.

If you are doing NAT on your shaping box then you need to mark each IP 
address rather than use u32 for outbound, as traffic shaping happens 
after NAT.

Have a look at the KPTD on www.docum.org .

Andy.


> 
> Then visit Martin Brown's site:
> http://www.linux-ip.net/html/linux-ip.html
> more specifically:
> http://www.tldp.org/HOWTO/ADSL-Bandwidth-Management-HOWTO/implementation.html
> 
> for A Better Way (thanks Martin!  I look forward to your posts because
> they are the only ones I really understand <shrug>).
> 
> 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:[~2004-05-05  7:29 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-04 19:32 [LARTC] shape outgoing/upload traffic PER-IP Cristiano Soares
2004-05-05  2:40 ` gypsy
2004-05-05  7:29 ` Andy Furniss [this message]
2004-05-05 13:01 ` Andy Furniss

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=409897F3.30907@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.