From: Andy Furniss <andy.furniss@dsl.pipex.com>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] Limiting Bandwidth of an ppp interfaces
Date: Thu, 28 Oct 2004 22:18:02 +0000 [thread overview]
Message-ID: <4181701A.2020001@dsl.pipex.com> (raw)
In-Reply-To: <007d01c4bc07$e05953c0$95f0a8c0@intern.dunkel.de>
Florian Taeger wrote:
> Hi everyone.
>
> I'm working on a problem since some days.
>
> I have a linux router with about 100 ppp interfaces. Each interface should
> bei limited to an individual bandwidth of 1024kbit, 2048kbit or 3096kbit. Up
> AND downstream. (let's say for example 1024kbit upstream and 1024kbit
> downstream)
>
> The reason for this problem: I have to limit users to their booked
> bandwidth, because there are hard rules, who is allowed to use which kind of
> bandwidth. but some users used their 1024kbit login data with an 3096kbit
> dsl line and of course they got the whole 3mbit bandwidth for
> downloads/uploads.
>
> So i MUST limit the users to a hard limit of bandwidth. no fair dealing or
> something else. just a hardlimit for bandwidth. User X (pppX) get's 1024kbit
> of bandwidth. no more nor less.
>
> Another problem is, that behind an ppp interface there are some /29 net of
> ip-adresses. So i am not able to filter by ip address. i have to filter by
> interface.
>
> but i just don't know how to deal with the problem Traffic shaping works
> only for egress traffic, doesn't it?
>
> Did anybody worked on the same problem before or can provide a solution for
> this?
If the traffic from all the ppps leave by one interface then you could
mark packets by incoming interface and set up egress shaping with say
HTB on that interface. If the traffic leaves on > 1 interfaces then you
need to use IMQ.
Andy.
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
next prev parent reply other threads:[~2004-10-28 22:18 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-10-27 9:31 [LARTC] Limiting Bandwidth of an ppp interfaces Florian Taeger
2004-10-28 22:18 ` Andy Furniss [this message]
2004-10-28 22:25 ` Andy Furniss
2004-10-29 7:32 ` Florian Taeger
2004-10-29 8:51 ` Leslie Patrick Polzer
2004-10-29 11:45 ` Eric Leblond
2004-10-30 0:34 ` 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=4181701A.2020001@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.