[ASK] HTB + Lusca r14809 di Ubuntu Server 12.04 LT

Diskusi tentang Ubuntu Server baik webserver, database server, samba server dan service lainnya serta jaringan menggunakan Sistem Operasi Ubuntu.
User avatar
qbond
Posts: 8
Joined: 31 Mar 2012, 15:29

[ASK] HTB + Lusca r14809 di Ubuntu Server 12.04 LT

Postby qbond » 10 Mar 2013, 12:08

ada pepatah mengatakan malu bertanya sesat di jalan, ga nanya2 ya ga jalan2 dah punya ane hehehe :grin:

kasus ane HTB+Luscar14809 di Ubuntu Server 12.04 LTS
unutk HTB berjalan dengan baik sebagai bw management. nah yg jadi masalah nya kenapa untuk kontent2 yg sudah tercache HIT pas HTB nya di jalankan malah menjadi MISS, padahal klo HTB nya di stop kontentnya tetap HIT.
ini potongan config HTB & squid.conf ane
------------------------------------------------------------------------
eth0-qos.cfg
--------------------
################
# eth0-qos.cfg #
################
# for how to configure and use see docs/HowTo/

class management {
bandwidth 1024;
limit 2048;
burst 2;
priority 1;

client server {
bandwidth 128;
limit 256;
burst 2;
upload 80;
priority 1;
dst {
192.168.0.1/32;
};
};

client pc1 {
bandwidth 128;
limit 256;
burst 2;
upload 80;
priority 1;
dst {
192.168.0.2/32;
};
};
};

class default { bandwidth 8; };

------------------------------------------------------------------------
eth0-qos.sh
-----------------
$TC qdisc add dev $DEV root handle 1: htb default 10
echo Add root class
$TC class add dev $DEV parent 1: classid 1:1 htb rate 1250kbps ceil 1250kbps burst 2k quantum 1536
echo Add default class
$TC class add dev $DEV parent 1:1 classid 1:0x10 htb rate 1kbps ceil 1kbps burst 2k quantum 1536
$TC qdisc add dev $DEV parent 1:0x10 handle 0x10: pfifo limit 5
$TC class add dev $DEV parent 1:1 classid 1:0x15 htb rate 10Mbit
$TC filter add dev $DEV parent 1:0 protocol ip prio 1 u32 match ip protocol 0x6 0xff match ip tos 0x30 0xff flowid 1:15

echo ""
echo Add class management, que pfifo limit 5
$TC class add dev $DEV parent 1:1 classid 1:0x20 htb rate 64kbps ceil 128kbps burst 2k prio 1 quantum 1536
echo -e -n "
" Add client server" "
$TC class add dev $DEV parent 1:0x20 classid 1:0x21 htb rate 16kbps ceil 32kbps burst 2k prio 1 quantum 1536
$TC ${U32} match ip dst 192.168.0.1/32 flowid 1:0x21
$TC ${U32u} match ip src 192.168.0.1/32 police rate 64kbit burst 19k drop flowid :1
$TC qdisc add dev $DEV parent 1:0x21 handle 0x21: pfifo limit 5
echo -e -n "
" Add client pc1" "
$TC class add dev $DEV parent 1:0x20 classid 1:0x22 htb rate 16kbps ceil 32kbps burst 2k prio 1 quantum 1536
$TC ${U32} match ip dst 192.168.0.2/32 flowid 1:0x22
$TC ${U32u} match ip src 192.168.0.2/32 police rate 64kbit burst 19k drop flowid :1
$TC qdisc add dev $DEV parent 1:0x22 handle 0x22: pfifo limit 5
echo -e -n "
echo ""

------------------------------------------------------------------------
squid.conf
-------------------------
tcp_outgoing_tos 0x30 localnet
zph_mode tos
zph_local 0x30
zph_parent 0
zph_option 136
------------------------------------------------------------------------

mohon pencerahan dari para suhu :hajarpc:
User avatar
q_p
Posts: 3109
Joined: 14 Oct 2012, 13:01
Contact:

Re: [ASK] HTB + Lusca r14809 di Ubuntu Server 12.04 LT

Postby q_p » 11 Mar 2013, 20:41

Sudah coba pakai webHTB mas ?
http://opikdesign.com/kios/tutorial_ubu ... n_INTL.pdf

OOT=
TS wrote:ada pepatah mengatakan malu bertanya sesat di jalan, ga nanya2 ya ga jalan2 dah punya ane hehehe
Banyak bertanya, memalukan :)
User avatar
qbond
Posts: 8
Joined: 31 Mar 2012, 15:29

Re: [ASK] HTB + Lusca r14809 di Ubuntu Server 12.04 LT

Postby qbond » 12 Mar 2013, 20:32

bisa aj nih hehehehe :grin:
ngomong2 alamatnya ga bisa di buka nih om :confused:
User avatar
q_p
Posts: 3109
Joined: 14 Oct 2012, 13:01
Contact:

Re: [ASK] HTB + Lusca r14809 di Ubuntu Server 12.04 LT

Postby q_p » 12 Mar 2013, 20:47

bisa, barusan saya coba bisa kok. link tsb, link download. jadi begitu anda click tdk terbuka tapi nge-download mas :)

Return to “Ubuntu Server”

Who is online

Users browsing this forum: No registered users and 4 guests