Skip to contentSkip to conversation

Basic Question on TBF

LARTC Rajesh Revuru 2 participants 2 messages Mar 13, 2002

lore
Share & tools
lore
#0 lore raw

Hi alll..

This is Very basic question on TBF.

The rate specified for Token bucket filter is to
throttle the extra packets...

For example...
If my Etho interface receives 5mb of traffic

and if i have this following command...

tc qdisc add dev eth0 root tbf 1mbit burst 10k latency 350ms

Does this mean that remaining 4 mb will be
dropped..???

But this is not happening all the 5mb is reaching the Destination..

Any suggestions are appreciated.
Thanks
RR

__________________________________________________
Do You Yahoo!?
Try FREE Yahoo! Mail - the world's greatest free email!
http://mail.yahoo.com/
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

#1 lore raw
Quoted 10 lines · Rajesh Revuru

Hi alll..

This is Very basic question on TBF.

The rate specified for Token bucket filter is to
throttle the extra packets...

For example...
If my Etho interface receives 5mb of traffic
and if i have this following command...

This means you want to incoming bandwith.

Quoted 2 lines

tc qdisc add dev eth0 root tbf 1mbit burst 10k latency 350ms

This will limit the outgoing bandwith to 1mbit.

Quoted 4 lines

Does this mean that remaining 4 mb will be dropped..???
But this is not happening all the 5mb is reaching the Destination..

And now you want to limit the bandwith you send ?
Do you want to shape the incoming or the outgoing packets? You can only shape packets you send to somewhere else.

Stef

Signature · 7 lines
[email protected]
 "Using Linux as bandwidth manager"
     http://www.docum.org/
     #lartc @ irc.openprojects.net
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/