From: Ross Skaliotis <ross@student.andover.edu>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] shaping from ethernets to adsl
Date: Sun, 10 Feb 2002 02:25:11 +0000 [thread overview]
Message-ID: <marc-lartc-101330795430610@msgid-missing> (raw)
In-Reply-To: <marc-lartc-101327339318927@msgid-missing>
What's wrong with using ingress on the ppp0 (adsl) device? Instead of
queuing packets leaving eth0 and eth1 to a combined 512, just attach
something like the following to ppp0 (remembering to make the rate a bit
under 512, experiment to find the best value):
tc qdisc del dev ppp0 ingress
tc qdisc add dev ppp0 handle ffff: ingress
tc filter add dev ppp0 parent ffff: protocol ip prio 10 u32 match ip src \
0.0.0.0/0 police rate 500kbit buffer 5k drop flowid :1
-Ross Skaliotis
On Sat, 9 Feb 2002, Martin Devera wrote:
> > I've just realised something though.... How do I allow the total download
> > bandwidth hitting eth0+eth1 from the net connection (ppp0) to be limited at
> > 512, but "pooled" it I don't want to divide 256/256 per ethernet segment.
> > All these restrictions are device specific?
>
> Unfortunately yes. If you want to limit sum of two-interface output
> then you can use my IMQ patch. Vanilla kernel can't do it.
>
> devik
> luxik.cdi.cz/~devik/qos/
>
> _______________________________________________
> LARTC mailing list / LARTC@mailman.ds9a.nl
> http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/
>
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/
next prev parent reply other threads:[~2002-02-10 2:25 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-02-09 16:49 [LARTC] shaping from ethernets to adsl Nigel Jones
2002-02-09 22:45 ` Martin Devera
2002-02-10 2:25 ` Ross Skaliotis [this message]
2002-02-10 10:40 ` Martin Devera
2002-02-11 22:22 ` Nigel Jones
2002-02-12 10:40 ` Martin Devera
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=marc-lartc-101330795430610@msgid-missing \
--to=ross@student.andover.edu \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox