All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] internet traffic from tbf
@ 2005-08-02  8:45 Alaios
  2005-08-03 14:22 ` Andy Furniss
  0 siblings, 1 reply; 2+ messages in thread
From: Alaios @ 2005-08-02  8:45 UTC (permalink / raw)
  To: lartc

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


		
__________________________________ 
Yahoo! Mail 
Stay connected, organized, and protected. Take the tour: 
http://tour.mail.yahoo.com/mailtour.html 

_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [LARTC] internet traffic from tbf
  2005-08-02  8:45 [LARTC] internet traffic from tbf Alaios
@ 2005-08-03 14:22 ` Andy Furniss
  0 siblings, 0 replies; 2+ messages in thread
From: Andy Furniss @ 2005-08-03 14:22 UTC (permalink / raw)
  To: lartc

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-08-03 14:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-02  8:45 [LARTC] internet traffic from tbf Alaios
2005-08-03 14:22 ` Andy Furniss

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.