Skip to contentSkip to conversation

need BIG help

LARTC Toth Szabolcs 2 participants 2 messages Dec 21, 2002

lore
Share & tools
lore
#0 lore raw

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.

[email protected]

Szabolcs Tóth

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

#1 lore raw
Quoted 20 lines · Toth Szabolcs

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.

Quoted 6 lines

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

Signature · 8 lines
[email protected]
 "Using Linux as bandwidth manager"
     http://www.docum.org/
     #lartc @ irc.oftc.net

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