OprekPC.com Forum Index
  Modifikasi - Tweak - Overclock      FAQ      Memberlist      Download      Album      Chat      Statistics  
  · Log in Register · Profile · Log in to check your private messages · Usergroups   Smilie Album 
                 
 Announcement 
saat ini anda sudah bisa menikmati layanan RSS Feed di forum OprekPC.selamat bergabung dengan kami melalui offline mailing news.

Previous topic «» Next topic
Membagi Bandwidth Tanpa Mikrotik
Author Message
MAS 
Juru Kunci


Helped: 61 times
Age: 41
Joined: 16 Jan 2005
Posts: 13683
Location: Jakarta-Purwokerto PP
Posted: Thu Apr 05, 2007 5:34 pm   Membagi Bandwidth Tanpa Mikrotik

"Mas, bisa gak dengan peralatan kita yang sekarang untuk membagi Bandwidth untuk setiap klient?". itu kutipan pertanyaan yang sering dilontarkan baik di milis or di forum ini. Kemudian saya mencoba mencari referensi dar teman-teman yang sudah lebih dahulu terjun ke dunia internet tapi kebayanyakan dari mereka merekomendasikan menggunakan mikrotik. Wah selain harus beli saya pikir lebih baik saya mencari alternatif lain yang open source dan tentunya gatis ya saya salah seorang yg suka seusatu yang gratis, semoga anda juga demikian


berkat bantuan rekan saya Google.com akhirnya saya mendapatkan apa yang saya inginkan. ternyata sangat banyak tool yang dapat digunakan untuk membagi bandwidth dan penggunaannya sangat mudah sekali. Bahkan kalo anda menggunakan fedora core 5 anda tidak perlu susah-susah menginstallnya. Nah apa saja sih yang dapat digunakan? berikut adalah tool yang dapat digunakan:

CBQ
HTB
Webmin/CBQ
P2P Grab
Bluestar

pada kesempatan ini saya akan men-sharing kepada anda bagaimana membagi bandwidth mengunakan point yang paling atas (CBQ)

1. Saya asumsikan anda menggunakan Fedora Core 5

2. [root@oprekhouse ~]# cd /etc/sysconfig/cbq
[root@oprekhouse cbq ~]# ls -l
...
-rw-r--r-- 1 root root 11 Feb 12 2006 avpkt
-rw-r--r-- 1 root root 79 Feb 12 2006 cbq-0000.example

3. rename cbq-0000.example misalnya menjadi cbq-256.lansatu

4. edit file cbq-256.lansatu

contoh 1 :

DEVICE=eth1,10Mbit,1Mbit
RATE=256Kbit
WEIGHT=25.6Kbit
PRIO=5
RULE=192.168.1.1/32

contoh 2:
DEVICE=eth1,10Mbit,1Mbit
RATE=512Kbit
WEIGHT=51.2Kbit
PRIO=5
RULE=192.168.1.1/32

Isi file seperti di atas itu artinya anda memberikan bandwidth 256 kepada semua client yang koneksi internet melalui gateway 192.168.1.1. jadi misalnya anda memiliki klien 100 yang terkoneksi itu berarti bandwith 256 itu di share oleh 100 client tersebut.

5. [root@oprekhouse ~]# /sbin/cbq start

kali anda mendapatkan pesan seperti berikut, lakukan langkah ke 6:

find: warning: you have specified the -maxdepth option after a non-option argument (, but options are not positional (-maxdepth affects tests specified before it as well as those specified after it). Please specify options before other arguments.

find: warning: you have specified the -maxdepth option after a non-option argument (, but options are not positional (-maxdepth affects tests specified before it as well as those specified after it). Please specify options before other arguments.

6. [root@oprekhouse ~]# /sbin/cbq restart

7. Selesai

Sekarang silahkan anda cek apakah CBQ sudah benar-benar berjalan dengan baik. Kalau saya menggunakan cari ini


[root@oprekhouse ~]# iftop -i eth1 (eth satu adalah yg ber ip 192.168.1.1)

Semoga bermanfaat

_________________


Driver database Powered by OprekPC
Supported my new project!
Last edited by MAS on Thu Apr 05, 2007 5:35 pm; edited 1 time in total  
 
     
OprekPC Ads

wesnoth 
baru ng-Oprek


Age: 19
Joined: 05 Apr 2008
Posts: 3
Posted: Sat Apr 05, 2008 8:42 pm   

mikrotik yang 1 jutaan itu ya,
_________________
Lemah Itu Indah
 
     
sly 
Oprek Soldier



Helped: 7 times
Age: 40
Joined: 18 Jan 2006
Posts: 2931
Location: -6.167Latitude,106.8Longitude
Posted: Sat Apr 05, 2008 11:17 pm   

wow. lebih praktis nih.....tp... :D
_________________

 
     
sLumpia 
baru ng-Oprek



Age: 67
Joined: 18 Jan 2008
Posts: 60
Posted: Sat Apr 05, 2008 11:25 pm   

bisa juga pake tc (traffic control). klo tc sudah mendukung algoritma prio, cbq, htb, hfsc, dll.
klo /me sih lebih suka pake altq pada *BSD :peace:

_________________
Bacaan Sehat
 
     
BlankOn_Me 
belajar ng-Oprek



Joined: 07 Apr 2008
Posts: 144
Posted: Tue Apr 08, 2008 8:46 am   

ketinggalan satu di linux BW Managemen yang agak susah sintaxnya "QDISC" Queue Dicipline
 
     
OprekPC Ads
duck_tape 
baru ng-Oprek


Joined: 19 Aug 2008
Posts: 1
Posted: Tue Aug 19, 2008 11:24 pm   

sLumpia wrote:
bisa juga pake tc (traffic control). klo tc sudah mendukung algoritma prio, cbq, htb, hfsc, dll.
klo /me sih lebih suka pake altq pada *BSD :peace:


Ane juga suka pake ipfw+dummynet di FreeBSD

 
     
Display posts from previous:   
Reply to topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Add this topic to your bookmarks
Printable version

Jump to:  



Powered by phpBB modified by Przemo © 2003 phpBB Group
Template modified by Mich@³
Customized by OprekPC @ 2007
Page generated in 2.28 seconds. SQL queries: 15
OprekPC.com topic RSS feed