Find the answer to your Linux question:
Results 1 to 2 of 2
Hi, hope you want to answer some questions from me recently i configured my linux box as bandwidth limiting (i use cbq init ver. 0.7.3) and do this in /etc/sysconfig/cbq ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Feb 2004
    Location
    Indonesia
    Posts
    84

    CBQ init questions


    Hi, hope you want to answer some questions from me

    recently i configured my linux box as bandwidth limiting (i use cbq init ver. 0.7.3) and do this in /etc/sysconfig/cbq

    cbq-2001.64.downstrim (as follow

    DEVICE=eth1,100Mbit,10Mbit
    RATE=32Kbit
    WEIGHT=3.2Kbit
    LEAF=sfq
    RULE=192.168.0.208/32

    cbq-2001.64.upstrim (as follow

    DEVICE=eth1,100Mbit,10Mbit
    RATE=32Kbit
    WEIGHT=3.2Kbit
    LEAF=sfq
    RULE=192.168.0.208/32

    i read from indonesian linux if you ran
    #cbq.init-0.7.3 start
    and then you do
    #lsmod --> and you see this module is succeed

    cls_route 4336 0 (unused)
    cls_u32 5072 2
    cls_fw 2720 0 (unused)
    sch_sfq 3856 6
    sch_tbf 2672 1
    sch_cbq 11728 2

    and as you see from my config above that i have bandwidth form my ISP is only 32Kbit/s (at indonesia it cost arround US $250/month), and i have 2 NIC 10/100 Mbit, i installed on RH 9.0 (i don't have to compile my kernel to shape my bandwidth - its support), and to monitor, i use MRTG + web server (apache) of course and my questions is :

    1. if this shaping is succeed is my download average rate is arround
    4 - 5 Kbit/s ?
    2. and from MRTG is point at 32 - 40 Kbit/s maximum write on graph ?
    3. is there any method to prove it that i have been succeed to shaping
    this bandwidth ?
    4. from lsmod, is my shaping succeed

  2. #2
    Just Joined!
    Join Date
    Feb 2004
    Location
    Indonesia
    Posts
    84
    ho-ho

    after half an hour i tested this box, i saw from my MRTG is like i what expected before, yeah man i am succeed, and download rate (i am using download & tucows) is no more than 5 Kb/s

    may be i'd like to use HTB to company the CBQ init

    hope this could help you about bandwidth limiting
    Indonesian ? see this link http://efnet.linux.or.id/docs

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •