All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] problem using rshaper
@ 2002-03-18  7:56 Project Work
  2002-03-20 23:00 ` Alessandro Rubini
  0 siblings, 1 reply; 2+ messages in thread
From: Project Work @ 2002-03-18  7:56 UTC (permalink / raw)
  To: lartc


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 / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

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

* Re: [LARTC] problem using rshaper
  2002-03-18  7:56 [LARTC] problem using rshaper Project Work
@ 2002-03-20 23:00 ` Alessandro Rubini
  0 siblings, 0 replies; 2+ messages in thread
From: Alessandro Rubini @ 2002-03-20 23:00 UTC (permalink / raw)
  To: lartc


Hello.
>         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).

> 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?

> 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 / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

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

end of thread, other threads:[~2002-03-20 23:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-03-18  7:56 [LARTC] problem using rshaper Project Work
2002-03-20 23:00 ` Alessandro Rubini

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.