Dear All, Saya sudah coba install HTB, dgn acuan artikel di http://efnet.linux.or.id/docs/instalasi-htb-cbq.html.
Network saya punya 64kbps downlink dan 64 kbps upstream dgn 20 client saya ingin membagi Rata bandwith tersebut.... berarti satu client dpt 3,2 kbps downstream dan 3,2 kbps uplink bisa nggak saya setting di RATE=10Kbit <------ harusnya 3,2 kbps??? bener nggak pikiran saya? QUANTUM=1500 CEIL=64Kbit LEAF=sfq RULE=192.168.10.0/24, ini saya sertakan settingan htb saya...mohon bagi master2 buat koreksinya.... Butuh banget nih... soalnya kadang2 User A lagi download User B marah2 ke saya gara2 koneksinya jd lambat :-( Regards, c3bonx --------------------------------------------------------------------------------------------------------------- [EMAIL PROTECTED] download]# cat /etc/sysconfig/htb/eth0 R2Q=1 [EMAIL PROTECTED] download]# cat /etc/sysconfig/htb/eth0-10.root RATE=64Kbit QUANTUM=1500 [EMAIL PROTECTED] download]# cat /etc/sysconfig/htb/eth0-10:20.tokai RATE=10Kbit QUANTUM=1500 CEIL=64Kbit LEAF=sfq RULE=192.168.10.0/24, [EMAIL PROTECTED] download]# cat /etc/sysconfig/htb/eth1 R2Q=1 [EMAIL PROTECTED] download]# cat /etc/sysconfig/htb/eth1-10.root RATE=64Kbit QUANTUM=1500 [EMAIL PROTECTED] download]# cat /etc/sysconfig/htb/eth1-10:20.tokai RATE=10Kbit QUANTUM=1500 CEIL=64Kbit LEAF=sfq RULE=192.168.10.0/24 ----------------------------------------------------------------- [EMAIL PROTECTED] download]# /sbin/htb.init-v0.8.5 Usage: htb.init-v0.8.5 {start|compile|stop|restart|timecheck|list|stats} [EMAIL PROTECTED] download]# /sbin/htb.init-v0.8.5 compile /sbin/tc qdisc del dev eth0 root /sbin/tc qdisc add dev eth0 root handle 1 htb default 0 r2q 1 /sbin/tc qdisc del dev eth1 root /sbin/tc qdisc add dev eth1 root handle 1 htb default 0 r2q 1 find: warning: you have specified the -maxdepth option after a non-option argument (, but options are n ot positional (-maxdepth affects tests specified before it as well as those specified after it). Pleas e specify options before other arguments. find: warning: you have specified the -maxdepth option after a non-option argument (, but options are n ot positional (-maxdepth affects tests specified before it as well as those specified after it). Pleas e specify options before other arguments. /sbin/tc class add dev eth0 parent 1: classid 1:10 htb rate 64Kbit /sbin/tc class add dev eth0 parent 1:10 classid 1:20 htb rate 10Kbit ceil 64Kbit /sbin/tc qdisc add dev eth0 parent 1:20 handle 20 sfq perturb 10 quantum 1500 /sbin/tc filter add dev eth0 parent 1:0 protocol ip prio 100 u32 match ip src 192.168.10.0/24 classid 1 :20 /sbin/tc class add dev eth1 parent 1: classid 1:10 htb rate 64Kbit /sbin/tc class add dev eth1 parent 1:10 classid 1:20 htb rate 10Kbit ceil 64Kbit /sbin/tc qdisc add dev eth1 parent 1:20 handle 20 sfq perturb 10 quantum 1500 /sbin/tc filter add dev eth1 parent 1:0 protocol ip prio 100 u32 match ip dst 192.168.10.0/24 classid 1 :20 [EMAIL PROTECTED] download]# /sbin/htb.init-v0.8.5 start find: warning: you have specified the -maxdepth option after a non-option argument (, but options are n ot positional (-maxdepth affects tests specified before it as well as those specified after it). Pleas e specify options before other arguments. find: warning: you have specified the -maxdepth option after a non-option argument (, but options are n ot positional (-maxdepth affects tests specified before it as well as those specified after it). Pleas e specify options before other arguments. -------------------------------------------------------------------------------------------------------- [EMAIL PROTECTED] download]# tail -f /var/log/messages Aug 4 08:33:40 proxy sshd(pam_unix)[8551]: session opened for user remote by (uid=0) Aug 4 08:33:46 proxy su(pam_unix)[8576]: session opened for user root by (uid=500) Aug 4 09:01:01 proxy crond(pam_unix)[8611]: session opened for user root by (uid=0) Aug 4 09:01:01 proxy crond(pam_unix)[8611]: session closed for user root Aug 4 10:01:01 proxy crond(pam_unix)[8621]: session opened for user root by (uid=0) Aug 4 10:01:01 proxy crond(pam_unix)[8621]: session closed for user root Aug 4 10:27:34 proxy kernel: u32 classifier Aug 4 10:27:34 proxy kernel: Perfomance counters on Aug 4 10:27:34 proxy kernel: OLD policer on Aug 4 10:27:34 proxy kernel: input device check on ----------------------------------------------------------------------------------------- [EMAIL PROTECTED] download]# lsmod Module Size Used by cls_route 8129 0 cls_u32 8261 2 cls_fw 4929 0 sch_sfq 5825 2 sch_htb 18497 2 ___________________________________________________________ To help you stay safe and secure online, we've developed the all new Yahoo! Security Centre. http://uk.security.yahoo.com -- www.itcenter.or.id - Komunitas Teknologi Informasi Indonesia Info, Gabung, Keluar, Mode Kirim : [EMAIL PROTECTED] ::: Hapus bagian yang tidak perlu (footer, dst) saat reply! ::: ## Jobs: itcenter.or.id/jobs ## Bursa: itcenter.or.id/bursa ## $$ Iklan/promosi : www.itcenter.or.id/sponsorship $$ Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/ITCENTER/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/