Menu

#6 bandwidth fear sharing

open
nobody
None
5
2003-02-27
2003-02-27
No

Hi to all I need to share 1Mbit betwin 10 clients but I
can't understand why nothing works. Hear is an example:

CBQ-1.shaper
DEVICE=eth1,100Mbit,100Mbit
RATE=1Mbit
WEIGHT=128Kbit
PRIO=5
BOUNDED=yes
ISOLATED=yes

CBQ-2.shaper
DEVICE=eth1,100Mbit,100Mbit
RATE=10Kbit
WEIGHT=10Kbit
PRIO=5
PARENT=1
BOUNDED=no
LEAF=none

CBQ-1.shaper
DEVICE=eth1,100Mbit,100Mbit
RATE=10Kbit
WEIGHT=10Kbit
PRIO=5
PARENT=1
BOUNDED=no
LEAF=none

I cant make 2 clases to split parent bandwidth ekual the
one whit more sesions gets 90% the other 10% is there
a way to make this...

Discussion

  • Nobody/Anonymous

    Logged In: NO

    if your wanting to split the access across two sets, you will
    need to create the primary and two secondary accounts.

    the primary will have to be leaf=sfq to share the access
    across the secondary equally.

    then each secondary will have to have X amount of rate
    allocated to them and not be able to borrow from the parent
    anymore then it already has,

    BOUNDED=yes

    this way when one side gets filled up, it will not take any from
    the main or the other.

     
  • Nobody/Anonymous

    Logged In: NO

    you should also add the LEAF=sfq so the traffic will be
    shared amoung the classes that are attached to the main
    one.

    and if you want to inssure the traffic is shaped you need to
    add the ip address ranges you want to shape

    RULE=192.168.1.23 # from this address
    RULE=192.168.1.23, # to this address

    of
    RULE=192.168.1.0/24 # from all of these IP's
    RULE=192.168.1.0/24, # to all of these IP's

    do a tcpdump -i eth1 and see the traffic that is actually
    going on

     

Log in to post a comment.