Linux Advanced Routing and Traffic Control list
 help / color / mirror / Atom feed
* [LARTC] need BIG help
@ 2002-12-21 19:58 Toth Szabolcs
  2002-12-21 20:20 ` Stef Coene
  0 siblings, 1 reply; 2+ messages in thread
From: Toth Szabolcs @ 2002-12-21 19:58 UTC (permalink / raw)
  To: lartc


Hello all!

I hope you can help to solve my problem.

I would emulate an ADSL line for users.  The number of the users can be  1 , 2 , 5 or 100 ,...

I have an Internet line with 2Mbit /the ethernet card is 10Mbit/  and a
LAN interface width 10Mbit. /dev eth1 10Mbit/

I would use 1Mbit from the 2MBit for limited bandwidthing.
The download rate should be 384Kbit/s the upload 64Kbit/s for each limited
users.

I made the limitation. Every user who I marked width iptables was limited,
they downloaded with 384Kbit.

But when more than 3 users downloaded on same time with the max
limitted (384Kbit/s) bw  the 1Mbit was overrun.

It would be good for me when the traffic overrun the 1Mbit limit tc prog
share the 1MBit equal.  I mean (1Mbit/5,  1Mbit/100, ...  )
and in other case the limit would be (384Kbit/s) 

I tried many variation but I couldn't make that.
Please if you have any idea or know the solution write me.

totya@ajkanet.hu

Szabolcs Tóth


_______________________________________________
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] need BIG help
  2002-12-21 19:58 [LARTC] need BIG help Toth Szabolcs
@ 2002-12-21 20:20 ` Stef Coene
  0 siblings, 0 replies; 2+ messages in thread
From: Stef Coene @ 2002-12-21 20:20 UTC (permalink / raw)
  To: lartc

On Saturday 21 December 2002 20:58, Toth Szabolcs wrote:
> Hello all!
>
> I hope you can help to solve my problem.
>
> I would emulate an ADSL line for users.  The number of the users can be  1
> , 2 , 5 or 100 ,...
>
> I have an Internet line with 2Mbit /the ethernet card is 10Mbit/  and a
> LAN interface width 10Mbit. /dev eth1 10Mbit/
>
> I would use 1Mbit from the 2MBit for limited bandwidthing.
> The download rate should be 384Kbit/s the upload 64Kbit/s for each limited
> users.
>
> I made the limitation. Every user who I marked width iptables was limited,
> they downloaded with 384Kbit.
>
> But when more than 3 users downloaded on same time with the max
> limitted (384Kbit/s) bw  the 1Mbit was overrun.
>
> It would be good for me when the traffic overrun the 1Mbit limit tc prog
> share the 1MBit equal.  I mean (1Mbit/5,  1Mbit/100, ...  )
> and in other case the limit would be (384Kbit/s)
>
> I tried many variation but I couldn't make that.
> Please if you have any idea or know the solution write me.
Can you give us some more info?
If you use htb, the parent ceil and rate is not respected.  So each subclass 
can ue it's rate even if the sum is exceeding the parent rate/ceil.

Stef

-- 

stef.coene@docum.org
 "Using Linux as bandwidth manager"
     http://www.docum.org/
     #lartc @ irc.oftc.net

_______________________________________________
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-12-21 20:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-12-21 19:58 [LARTC] need BIG help Toth Szabolcs
2002-12-21 20:20 ` Stef Coene

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox