[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ALTQ/FreeBSD] Limiting bandwitdh for client network



afer trying for 2 weeks to bandwitdh my client network with 64 kbps and 256 
kbs but when i try with altq.conf it seem i fail :(
because when i see mrtg to my client they can get more than i give to them

please help me

thank you

anak



my altq.conf

interface rl0 bandwidth 10M cbq
class cbq rl0 root_class NULL pbandwidth 100
class cbq rl0 default_class root_class pbandwidth 50
class cbq rl0 client_class default_class exactbandwidth 2304000 default

#--------------------------------------------------------------------#
####### paket 64kbps platinum  ######

class cbq rl0 platinum64 client_class priority 6 borrow exactbandwidth 64000 
red
     filter rl0 platinum64 62.12.24.38 0 0 0 0
     filter rl0 platinum64 0 0 0 0 62.12.24.38
     filter rl0 platinum64 62.12.24.128 netmask 0xffffffc0 0 0 0 0
     filter rl0 platinum64 0 0 62.12.24.128 netmask 0xffffffc0 0 0
     filter rl0 platinum64 62.12.24.192 netmask 0xfffffff0 0 0 0 0
     filter rl0 platinum64 0 0 62.12.24.192 netmask 0xfffffff0 0 0
#--------------------------------------------------------------------#

#--------------------------------------------------------------------#
#--------------------------------------------------------------------#

#--------------------------------------------------------------------#
######## 256kbps platinum ####
class cbq rl0 platinum256 client_class priority 1 borrow exactbandwidth 
256000 red
#######  cleint A ######
     filter rl0 platinum256 62.12.24.16 netmask 0xfffffff0 0 0 0 0
     filter rl0 platinum256 0 0 62.12.24.16 netmask 0xfffffff0 0 0
     filter rl0 platinum256 62.12.24.10 0 0 0 0
     filter rl0 platinum256 0 0 0 0 202.12.24.10
     filter rl0 platinum256 62.12.24.48 netmask 0xfffffff0 0 0 0 0
     filter rl0 platinum256 0 0 62.12.24.48 netmask 0xfffffff0 0 0
     filter rl0 platinum256 62.12.24.32 netmask 0xfffffffc 0 0 0 0
     filter rl0 platinum256 0 0 62.12.24.32 netmask 0xfffffffc 0 0
###### end cleint A #####
###### Client B #####
        filter rl0 platinum256 62.12.24.11 0 0 0 0
        filter rl0 platinum256 0 0 0 0 62.12.24.11
        filter rl0 platinum256 62.12.24.13 0 0 0 0
        filter rl0 platinum256 0 0 0 0 62.12.24.13
        filter rl0 platinum256 62.12.24.14 0 0 0 0
        filter rl0 platinum256 0 0 0 0 62.12.214.14
##### end client B  ####
######## end  256kbps platinum ####


_________________________________________________________________
MSN Photos is the easiest way to share and print your photos: 
http://photos.msn.com/support/worldwide.aspx

_________________________________________________________________
Send 'unsubscribe freebsd-altq' to listar@rofug.ro to unsubscribe