From: Andy Furniss <andy.furniss@dsl.pipex.com>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] internet traffic from tbf
Date: Wed, 03 Aug 2005 14:22:05 +0000 [thread overview]
Message-ID: <42F0D30D.6030107@dsl.pipex.com> (raw)
In-Reply-To: <20050802084503.90135.qmail@web54703.mail.yahoo.com>
Alaios wrote:
> Hi have set the following tbf
> tc qdisc add dev eth0 root tbf rate 0.5mbit \
> burst 5kb latency 70ms peakrate 1mbit \
> minburst 1540
>
> I want to add a filter so the ip traffic pass from
> it.. plz help me
That will shape all traffic leaving eth0 as it is.
If you mean that you don't want to shape arp or other traffic aswell as
ip then you will need to add PRIO as root so you can use filters and add
tbf to one of the PRIO classes.
TBF tends to tweak the parameters you pass to it so it's best to check
what you got after adding it and modify your settings. eg with the above
I see -
tc -s -d qdisc ls dev eth0
qdisc tbf 8007: rate 500000bit burst 5Kb/8 mpu 0b peakrate 1000Kbit mtu
1539b/8 mpu 0b lat 39.2ms
...
note the latency.
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
prev parent reply other threads:[~2005-08-03 14:22 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-08-02 8:45 [LARTC] internet traffic from tbf Alaios
2005-08-03 14:22 ` Andy Furniss [this message]
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=42F0D30D.6030107@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.