Skip to contentSkip to conversation

problem using rshaper

LARTC Project Work 2 participants 2 messages Mar 18, 2002 – Mar 20, 2002

lore
Share & tools
lore
#0 lore raw

Hello,
We are managing the control of outgoing bandwidth using HTB. We are
trying to use rshaper to control our incoming bandwidth. But the bandwidth doesn't seem to come under the specified limit. We are not sure what we did is right. This is what we did.

       insmod rshaper.o
       rshaperctl 192.168.1.20 500

There were no errors.
192.168.1.20 is our IP in a LAN. Our kernel version is 2.4.7. We
monitored the incoming bandwidht using IPtraf. But the rate shown goes much above what we have given. We are trying in an independent machine, but we want to implement it in a router. Any idea on where the problem lies? or Any other solution for limiting incoming bandwidth based on IP address/protocol?

Regards,
Viswanath,
Pramod,
Leetha.

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp.

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

#1 lore raw

Hello.

Quoted 2 lines

We are managing the control of outgoing bandwidth using HTB. We are
trying to use rshaper to control our incoming bandwidth.

If you already mastered HTB, I think you don't need rshaper (obviously, I may be wrong).

Quoted 6 lines

But the bandwidth
doesn't seem to come under the specified limit. We are not sure what we did is right. This is what we did.

       insmod rshaper.o
       rshaperctl 192.168.1.20 500

Do you really want as low as 500 bytes per second?

Quoted 2 lines

We monitored the incoming bandwidht using IPtraf. But the rate shown goes much above what we have given.

rshaper works by delaying incoming packets, or dropping them if the queue is too long. The packes still travel across the network, so if you measure traffic on another host you won't measure immediate shaping. However, the TCP stack adapts transmission rates to acknowledgement rate, so you'll see reduction after a while.

Also, you give too little information to diagnose the problem. Please write me offlist with more details of your setup.

/alessandro

PS: it's unfair to send separate messages to the maintainer and a mailing list (and possibly several other lists). If I weren't subscribed I couldn't know you sent it and couldn't reply. Please use
Cc: instead. Besides, rshaper is offtopic for this list.

PS2, to lartc-admin: please allow posts from non subscribers, otherwise replies to crossposts (person+lists) won't get through if person is not subscribed.

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/