Proxy dan Management Bandwidth Warnet serta Topology Part III
2. Bandwidth management mikrotik.
Menyambung pembahasan pada part I dan
II, pada pembahasan ini kita akan lakukan setting mikrotik sebagai
bandwith mangement iix, intl, upload. Selamat mengikuti. Login lah ke
mikrotik bandwith management:
1
2
3
4
5
6
7
8
9
10
|
[admin@bm]/interface set "ether1" name=to-router
[admin@bm]/interface set "ether2" name=to-client
[admin@bm]/interface set "ether3" name=remote
[admin@bm]/interface bridge add name=bridge-bm
[admin@bm]/interface bridge port add interface="to-router" bridge=bridge-bm
[admin@bm]/interface bridge port add interface="to-client" bridge=bridge-bm
[admin@bm]/interface bridge settings set use-ip-firewall=yes use-ip-firewall-for-pppoe=yes use-ip-firewall-for-vlan=yes
[admin@bm]/ip address add address=192.168.0.55/24 interface=remote
[admin@bm]/ip route add gateway=192.168.0.254
[admin@bm]/ip dns set primary-dns=27.124.92.92 secondary-dns=27.124.94.94 allow-remote-request=yes
|
import address-list nice cari dalam tutor ini “pentingnya urutan firewall mikrotik” dan lanjutkan setting mangle mikrotik.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
[admin@bm]/ip firewall mangle add chain=forward action=mark-packet new-packet-mark=client-1-iix passthrough=no dst-address=192.168.0.1 src-address-list=nice
[admin@bm]/ip firewall mangle add chain=forward action=mark-packet new-packet-mark=client-1-intl passthrough=no dst-address=192.168.0.1
[admin@bm]/ip firewall mangle add chain=forward action=mark-packet new-packet-mark=lient-1-up passthrough=no src-address=192.168.0.1
[admin@bm]/ip firewall mangle add chain=forward action=mark-packet new-packet-mark=client-2-iix passthrough=no dst-address=192.168.0.2 src-address-list=nice
[admin@bm]/ip firewall mangle add chain=forward action=mark-packet new-packet-mark=client-2-intl passthrough=no dst-address=192.168.0.2
[admin@bm]/ip firewall mangle add chain=forward action=mark-packet new-packet-mark=lient-2-up passthrough=no src-address=192.168.0.2
[admin@bm]/ip firewall mangle add chain=forward action=mark-packet new-packet-mark=client-3-iix passthrough=no dst-address=192.168.0.3 src-address-list=nice
[admin@bm]/ip firewall mangle add chain=forward action=mark-packet new-packet-mark=client-3-intl passthrough=no dst-address=192.168.0.3
[admin@bm]/ip firewall mangle add chain=forward action=mark-packet new-packet-mark=lient-3-up passthrough=no src-address=192.168.0.3
[admin@bm]/ip firewall mangle add chain=forward action=mark-packet new-packet-mark=client-3-iix passthrough=no dst-address=192.168.0.3 src-address-list=nice
[admin@bm]/ip firewall mangle add chain=forward action=mark-packet new-packet-mark=client-3-intl passthrough=no dst-address=192.168.0.3
[admin@bm]/ip firewall mangle add chain=forward action=mark-packet new-packet-mark=lient-3-up passthrough=no src-address=192.168.0.3
[admin@bm]/ip firewall mangle add chain=forward action=mark-packet new-packet-mark=client-4-iix passthrough=no dst-address=192.168.0.4 src-address-list=nice
[admin@bm]/ip firewall mangle add chain=forward action=mark-packet new-packet-mark=client-4-intl passthrough=no dst-address=192.168.0.4
[admin@bm]/ip firewall mangle add chain=forward action=mark-packet new-packet-mark=lient-4-up passthrough=no src-address=192.168.0.4
[admin@bm]/ip firewall mangle add chain=forward action=mark-packet new-packet-mark=client-5-iix passthrough=no dst-address=192.168.0.5 src-address-list=nice
[admin@bm]/ip firewall mangle add chain=forward action=mark-packet new-packet-mark=client-5-intl passthrough=no dst-address=192.168.0.5
[admin@bm]/ip firewall mangle add chain=forward action=mark-packet new-packet-mark=lient-5-up passthrough=no src-address=192.168.0.5
[admin@bm]/ip firewall mangle add chain=forward action=mark-packet new-packet-mark=client-6-iix passthrough=no dst-address=192.168.0.6 src-address-list=nice
[admin@bm]/ip firewall mangle add chain=forward action=mark-packet new-packet-mark=client-6-intl passthrough=no dst-address=192.168.0.6
[admin@bm]/ip firewall mangle add chain=forward action=mark-packet new-packet-mark=lient-6-up passthrough=no src-address=192.168.0.6
[admin@bm]/ip firewall mangle add chain=forward action=mark-packet new-packet-mark=client-7-iix passthrough=no dst-address=192.168.0.7 src-address-list=nice
[admin@bm]/ip firewall mangle add chain=forward action=mark-packet new-packet-mark=client-7-intl passthrough=no dst-address=192.168.0.7
[admin@bm]/ip firewall mangle add chain=forward action=mark-packet new-packet-mark=lient-7-up passthrough=no src-address=192.168.0.7
[admin@bm]/ip firewall mangle add chain=forward action=mark-packet new-packet-mark=client-8-iix passthrough=no dst-address=192.168.0.8 src-address-list=nice
[admin@bm]/ip firewall mangle add chain=forward action=mark-packet new-packet-mark=client-8-intl passthrough=no dst-address=192.168.0.8
[admin@bm]/ip firewall mangle add chain=forward action=mark-packet new-packet-mark=lient-8-up passthrough=no src-address=192.168.0.8
[admin@bm]/ip firewall mangle add chain=forward action=mark-packet new-packet-mark=client-9-iix passthrough=no dst-address=192.168.0.9 src-address-list=nice
[admin@bm]/ip firewall mangle add chain=forward action=mark-packet new-packet-mark=client-9-intl passthrough=no dst-address=192.168.0.9
[admin@bm]/ip firewall mangle add chain=forward action=mark-packet new-packet-mark=lient-9-up passthrough=no src-address=192.168.0.9
[admin@bm]/ip firewall mangle add chain=forward action=mark-packet new-packet-mark=client-10-iix passthrough=no dst-address=192.168.0.10 src-address-list=nice
[admin@bm]/ip firewall mangle add chain=forward action=mark-packet new-packet-mark=client-10-intl passthrough=no dst-address=192.168.0.10
[admin@bm]/ip firewall mangle add chain=forward action=mark-packet new-packet-mark=lient-10-up passthrough=no src-address=192.168.0.10
[admin@bm]/ip firewall mangle add chain=forward action=mark-packet new-packet-mark=op-iix passthrough=no dst-address=192.168.0.50 src-address-list=nice
[admin@bm]/ip firewall mangle add chain=forward action=mark-packet new-packet-mark=op-intl passthrough=no dst-address=192.168.0.50
[admin@bm]/ip firewall mangle add chain=forward action=mark-packet new-packet-mark=op-up passthrough=no src-address=192.168.0.50
|
A. IIX Download.
1
2
3
4
5
6
7
8
9
10
11
12
|
[admin@bm]/queue tree add name="Traffic-iix" parent=to-client packet-mark="" limit-at=1024k priority=8 max-limit=1024k
[admin@bm]/queue tree add name="client1-iix" parent="Traffic-iix" packet-mark="client-1-iix" limit-at=128k priority=8 max-limit=256k
[admin@bm]/queue tree add name="client2-iix" parent="Traffic-iix" packet-mark="client-2-iix" limit-at=128k priority=8 max-limit=256k
[admin@bm]/queue tree add name="client3-iix" parent="Traffic-iix" packet-mark="client-3-iix" limit-at=128k priority=8 max-limit=256k
[admin@bm]/queue tree add name="client4-iix" parent="Traffic-iix" packet-mark="client-4-iix" limit-at=128k priority=8 max-limit=256k
[admin@bm]/queue tree add name="client5-iix" parent="Traffic-iix" packet-mark="client-5-iix" limit-at=128k priority=8 max-limit=256k
[admin@bm]/queue tree add name="client6-iix" parent="Traffic-iix" packet-mark="client-6-iix" limit-at=128k priority=8 max-limit=256k
[admin@bm]/queue tree add name="client7-iix" parent="Traffic-iix" packet-mark="client-7-iix" limit-at=128k priority=8 max-limit=256k
[admin@bm]/queue tree add name="client8-iix" parent="Traffic-iix" packet-mark="client-8-iix" limit-at=128k priority=8 max-limit=256k
[admin@bm]/queue tree add name="client9-iix" parent="Traffic-iix" packet-mark="client-9-iix" limit-at=128k priority=8 max-limit=256k
[admin@bm]/queue tree add name="client10-iix" parent="Traffic-iix" packet-mark="client-10-iix" limit-at=128k priority=8 max-limit=256k
[admin@bm]/queue tree add name="op-iix" parent="Traffic-iix" packet-mark="op-iix" limit-at=128k priority=8 max-limit=256k
|
1
2
3
4
5
6
7
8
9
10
11
12
|
[admin@bm]/queue tree add name="Traffic-intl" parent=to-client packet-mark="" limit-at=1024k priority=8 max-limit=1024k
[admin@bm]/queue tree add name="client1-intl" parent="Traffic-intl" packet-mark="client-1-intl" limit-at=128k priority=8 max-limit=256k
[admin@bm]/queue tree add name="client2-intl" parent="Traffic-intl" packet-mark="client-2-intl" limit-at=128k priority=8 max-limit=256k
[admin@bm]/queue tree add name="client3-intl" parent="Traffic-intl" packet-mark="client-3-intl" limit-at=128k priority=8 max-limit=256k
[admin@bm]/queue tree add name="client4-intl" parent="Traffic-intl" packet-mark="client-4-intl" limit-at=128k priority=8 max-limit=256k
[admin@bm]/queue tree add name="client5-intl" parent="Traffic-intl" packet-mark="client-5-intl" limit-at=128k priority=8 max-limit=256k
[admin@bm]/queue tree add name="client6-intl" parent="Traffic-intl" packet-mark="client-6-intl" limit-at=128k priority=8 max-limit=256k
[admin@bm]/queue tree add name="client7-intl" parent="Traffic-intl" packet-mark="client-7-intl" limit-at=128k priority=8 max-limit=256k
[admin@bm]/queue tree add name="client8-intl" parent="Traffic-intl" packet-mark="client-8-intl" limit-at=128k priority=8 max-limit=256k
[admin@bm]/queue tree add name="client9-intl" parent="Traffic-intl" packet-mark="client-9-intl" limit-at=128k priority=8 max-limit=256k
[admin@bm]/queue tree add name="client10-intl" parent="Traffic-intl" packet-mark="client-10-intl" limit-at=128k priority=8 max-limit=256k
[admin@bm]/queue tree add name="op-intl" parent="Traffic-intl" packet-mark="op-intl" limit-at=128k priority=8 max-limit=256k
|
1
2
3
4
5
6
7
8
9
10
11
12
|
[admin@bm]/queue tree add name="Traffic-up" parent=to-router packet-mark="" limit-at=1024k priority=8 max-limit=1024k
[admin@bm]/queue tree add name="client1-up" parent="Traffic-up" packet-mark="client-1-up" limit-at=128k priority=8 max-limit=256k
[admin@bm]/queue tree add name="client2-up" parent="Traffic-up" packet-mark="client-2-up" limit-at=128k priority=8 max-limit=256k
[admin@bm]/queue tree add name="client3-up" parent="Traffic-up" packet-mark="client-3-up" limit-at=128k priority=8 max-limit=256k
[admin@bm]/queue tree add name="client4-up" parent="Traffic-up" packet-mark="client-4-up" limit-at=128k priority=8 max-limit=256k
[admin@bm]/queue tree add name="client5-up" parent="Traffic-up" packet-mark="client-5-up" limit-at=128k priority=8 max-limit=256k
[admin@bm]/queue tree add name="client6-up" parent="Traffic-up" packet-mark="client-6-up" limit-at=128k priority=8 max-limit=256k
[admin@bm]/queue tree add name="client7-up" parent="Traffic-up" packet-mark="client-7-up" limit-at=128k priority=8 max-limit=256k
[admin@bm]/queue tree add name="client8-up" parent="Traffic-up" packet-mark="client-8-up" limit-at=128k priority=8 max-limit=256k
[admin@bm]/queue tree add name="client9-up" parent="Traffic-up" packet-mark="client-9-up" limit-at=128k priority=8 max-limit=256k
[admin@bm]/queue tree add name="client10-up" parent="Traffic-up" packet-mark="client-10-up" limit-at=128k priority=8 max-limit=256k
[admin@bm]/queue tree add name="op-up" parent="Traffic-up" packet-mark="op-up" limit-at=128k priority=8 max-limit=256k
|
Pembahasan diatas belum termasuk
paket-paket khusus misalnya proxy-hit, browsing, p2p, game online,
streaming, dll. Untuk pembahasan beberapa paket yang penting akan kita
lanjutkan pada topik lain.
Tidak ada komentar:
Posting Komentar