[wellylug] traffic shaping

Glen Ogilvie nelg at linuxsolutions.co.nz
Thu Aug 8 20:47:40 NZST 2002


Hi, 

Does anyone know about using cbq?  I want to do some traffic shaping and 
having problems making it work.  Here is a page I've been looking at.  Got 
cbq from sourceforge, read the readme, setup a config file, and tested it.. 
and it does not limit the traffic..

Thanks; Glen

I was testing with FTP traffic, limit heaps, to test, using this test file 

/etc/sysconfig/cbq/cbq-10.ftp-network

DEVICE=eth0,128Kbit, 11Kbit
RATE=1Kbit
WEIGHT=100bps
PRIO=5
BOUNDED=yes
RULE=:21,192.168.0.0/24
RULE=:20,192.168.0.0/24



this is the output of the stat's that it's loaded as the bandwidth rules
[root at wizards cbq]# ../../rc.d/cbq.init-v0.7 stats
### eth0: queueing disciplines

qdisc cbq 1: rate 128Kbit (bounded,isolated) prio no-transmit
 Sent 0 bytes 0 pkts (dropped 0, overlimits 0)
  borrowed 0 overactions 0 avgidle 49999 undertime 0


### eth0: traffic classes

class cbq 1: root rate 128Kbit (bounded,isolated) prio no-transmit
 Sent 0 bytes 0 pkts (dropped 0, overlimits 0)
  borrowed 0 overactions 0 avgidle 49999 undertime 0

### eth0: filtering rules

filter parent 1: protocol ip pref 100 u32
filter parent 1: protocol ip pref 100 u32 fh 800: ht divisor 1
filter parent 1: protocol ip pref 100 u32 fh 800::800 order 2048 key ht 800 
bkt 0 flowid 1:10
  match 00150000/ffff0000 at 20
  match c0a80000/ffffff00 at 16
filter parent 1: protocol ip pref 100 u32 fh 800::801 order 2049 key ht 800 
bkt 0 flowid 1:10
  match 00140000/ffff0000 at 20
  match c0a80000/ffffff00 at 16


Information about this at
http://www.tldp.org/HOWTO/Bandwidth-Limiting-HOWTO/cbq.html#AEN266

------------------------ Yahoo! Groups Sponsor ---------------------~-->
4 DVDs Free +s&p Join Now
http://us.click.yahoo.com/pt6YBB/NXiEAA/Ey.GAA/0XFolB/TM
---------------------------------------------------------------------~->

  .-.   Wellington
  /V\   Linux
 // \\  Users       
/(   )\ Group
 ^^-^^
        http://wlug.paradise.net.nz/

To unsubscribe from this group, send an email to:
wellylug-unsubscribe at egroups.com
  

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 




More information about the wellylug mailing list