Skip to contentSkip to conversation

restricting bandwidth using TC

LARTC Mike Pearson 2 participants 2 messages Jan 17, 2007 – Jan 19, 2007

lore
Share & tools
lore
#0 lore raw

Hello,

I am trying to get the TC command to work on our debian box to limit traffic in and out to 12 Meg. The command I am using is:

tc qdisc add dev eth0 root tbf rate 12000kbit latency 25ms burst 1600 tc qdisc add dev eth1 root tbf rate 12000kbit latency 25ms burst 1600

The problem I am having is that the bandwidth exceeds the 12 Meg by almost 5 Meg.
Any help is appreciated.

Thanks

Mike Pearson

_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

#1 lore raw
Quoted 8 lines · Mike Pearson

Hello,

I am trying to get the TC command to work on our debian box to limit traffic in and out to 12 Meg. The command I am using is:

tc qdisc add dev eth0 root tbf rate 12000kbit latency 25ms burst 1600 tc qdisc add dev eth1 root tbf rate 12000kbit latency 25ms burst 1600

Quoted 7 lines

The problem I am having is that the bandwidth exceeds the 12 Meg by almost 5 Meg.
Any help is appreciated.

Thanks

Mike Pearson

You're question can't be answered until you explain to us what you are truly trying to do.
What does in and out mean to you? Does it mean download and upload? Download and upload to another machine/network or to the box on which you run tc?
Please complete the dotted lines...
_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc