RSS Feeds

24.4.09

Config Mikrotik

Config Mikrotik Rafanet

HANYA UNTUK MENGINGAT

====================================================================================
[Rafanet@RAFANET] > interface pr
Flags: X - disabled, D - dynamic, R - running
# NAME TYPE RX-RATE TX-RATE MTU
0 R lan ether 0 0 1500
1 R public ether 0 0 1500
[Rafanet@RAFANET] >

====================================================================================
[Rafanet@RAFANET] > ip address pr
Flags: X - disabled, I - invalid, D - dynamic
# ADDRESS NETWORK BROADCAST INTERFACE
0 192.168.0.20/24 192.168.0.0 192.168.0.255 lan
1 D private
privasi privasi public
[Rafanet@RAFANET] >

====================================================================================
[Rafanet@RAFANET] > ip route pr
Flags: X - disabled, A - active, D - dynamic,
C - connect, S - static, r - rip, b - bgp, o - ospf
# DST-ADDRESS PREF-SRC G GATEWAY DISTANCE INTERFACE
0 ADC
privasi privasi public
1 ADC 192.168.0.0/24 192.168.0.20 lan
2 AD 0.0.0.0/0 r
privasi 0 public
[Rafanet@RAFANET] >

====================================================================================
[Rafanet@RAFANET] > ip fi nat pr
Flags: X - disabled, I - invalid, D - dynamic
0 chain=srcnat out-interface=public action=masquerade

1 chain=srcnat out-interface=public action=masquerade

2 ;;; REDIRECT TO PROXY
chain=dstnat in-interface=lan src-address=192.168.0.0/24 protocol=tcp dst-port=80
action=redirect to-ports=3128

3 chain=dstnat in-interface=lan src-address=192.168.0.0/24 protocol=tcp dst-port=81
action=redirect to-ports=3128

4 X chain=dstnat in-interface=lan src-address=!192.168.0.21 protocol=tcp dst-port=80
src-address-list=ipakses action=redirect to-ports=3128

5 ;;; CREATE DOTA
chain=srcnat src-address=192.168.0.0-192.168.0.24 action=netmap
to-addresses=
privasi to-ports=6000-6120

6 chain=dstnat dst-address=
privasi protocol=udp dst-port=6001 action=dst-nat
to-addresses=192.168.0.21 to-ports=6001

7 chain=dstnat dst-address=
privasi protocol=tcp dst-port=6001 action=dst-nat
to-addresses=192.168.0.21 to-ports=6001

8 chain=dstnat dst-address=
privasi protocol=tcp dst-port=6002 action=dst-nat
to-addresses=192.168.0.2 to-ports=6002

9 chain=dstnat dst-address=
privasi protocol=udp dst-port=6002 action=dst-nat
to-addresses=192.168.0.2 to-ports=6002

10 chain=dstnat dst-address=
privasi protocol=udp dst-port=6003 action=dst-nat
to-addresses=192.168.0.3 to-ports=6003

11 chain=dstnat dst-address=
privasi protocol=tcp dst-port=6003 action=dst-nat
to-addresses=192.168.0.3 to-ports=6003

12 chain=dstnat dst-address=
privasi protocol=tcp dst-port=6004 action=dst-nat
to-addresses=192.168.0.4 to-ports=6004

13 chain=dstnat dst-address=
privasi protocol=udp dst-port=6004 action=dst-nat
to-addresses=192.168.0.4 to-ports=6004

14 chain=dstnat dst-address=
privasi protocol=udp dst-port=6005 action=dst-nat
to-addresses=192.168.0.5 to-ports=6005

15 chain=dstnat dst-address=
privasi protocol=tcp dst-port=6005 action=dst-nat
to-addresses=192.168.0.5 to-ports=6005

16 chain=dstnat dst-address=
privasi protocol=tcp dst-port=6006 action=dst-nat
to-addresses=192.168.0.6 to-ports=6006

17 chain=dstnat dst-address=
privasi protocol=udp dst-port=6006 action=dst-nat
to-addresses=192.168.0.6 to-ports=6006

18 chain=dstnat dst-address=
privasi protocol=tcp dst-port=6007 action=dst-nat
to-addresses=192.168.0.7 to-ports=6007

19 chain=dstnat dst-address=
privasi protocol=udp dst-port=6007 action=dst-nat
to-addresses=192.168.0.7 to-ports=6007

20 chain=dstnat dst-address=
privasi protocol=tcp dst-port=6008 action=dst-nat
to-addresses=192.168.0.8 to-ports=6008

21 chain=dstnat dst-address=
privasi protocol=udp dst-port=6008 action=dst-nat
to-addresses=192.168.0.8 to-ports=6008

22 chain=dstnat dst-address=
privasi protocol=tcp dst-port=6009 action=dst-nat
to-addresses=192.168.0.9 to-ports=6009

23 chain=dstnat dst-address=
privasi protocol=udp dst-port=6009 action=dst-nat
to-addresses=192.168.0.9 to-ports=6009

24 X chain=dstnat dst-address=118.137.198.164 protocol=udp dst-port=6010 action=dst-nat
to-addresses=192.168.0.10 to-ports=6010

25 X chain=dstnat dst-address=118.137.198.164 protocol=tcp dst-port=6010 action=dst-nat
to-addresses=192.168.0.10 to-ports=6010

26 X chain=dstnat dst-address=118.137.198.164 protocol=tcp dst-port=6011 action=dst-nat
to-addresses=192.168.0.11 to-ports=6011

27 X chain=dstnat dst-address=118.137.198.164 protocol=udp dst-port=6011 action=dst-nat
to-addresses=192.168.0.11 to-ports=6011

28 X chain=dstnat dst-address=118.137.198.164 protocol=tcp dst-port=6012 action=dst-nat
to-addresses=192.168.0.12 to-ports=6012

29 X chain=dstnat dst-address=118.137.198.164 protocol=udp dst-port=6012 action=dst-nat
to-addresses=192.168.0.12 to-ports=6012

[Rafanet@RAFANET] >
====================================================================================
[Rafanet@RAFANET] > ip dns pr
primary-dns : 202.73.99.8
secondary-dns : 61.247.0.8
allow-remote-requests : yes
cache-size : 2048KiB
cache-max-ttl : 1w
cache-used : 784KiB
[Rafanet@RAFANET] >

====================================================================================
[Rafanet@RAFANET] > ip dhcp-server pr
Flags: X - disabled, I - invalid
# NAME INTERFACE RELAY ADDRESS-POOL LEASE-TIME ADD-ARP
0 dhcp1 lan dhcp_pool3 3d
[Rafanet@RAFANET] >

====================================================================================
[Rafanet@RAFANET] > ip dhcp-server network pr
# ADDRESS GATEWAY DNS-SERVER WINS-SERVER DOMAIN
0 192.168.0.0/24 192.168.0.20
[Rafanet@RAFANET] >

====================================================================================
[Rafanet@RAFANET] > ip web-proxy pr
Enabled : yes
src-address : 0.0.0.0
port : 3128
hostname : "Rafanet"
transparent-proxy : yes
parent-proxy : 0.0.0.0:3128
cache-administrator : "omalber@Rafanet.com"
max-object-size : 4096KiB
cache-drive : system
max-cache-size : none
max-ram-cache-size : unlimited
status : running
reserved-for-cache : 0KiB
reserved-for-ram-cache: 90112KiB
[Rafanet@RAFANET] >

====================================================================================
[Rafanet@RAFANET] > queue simple pr
Flags: X - disabled, I - invalid, D - dynamic
0 X name="Client_1-IIX" target-addresses=192.168.0.1/32 dst-address=0.0.0.0/0
interface=all parent=none packet-marks=Packet-IIX direction=both priority=8
queue=default-small/default-small limit-at=0/0 max-limit=64000/90000
total-queue=default-small

1 X name="Client_1-INTL" target-addresses=192.168.0.1/32 dst-address=0.0.0.0/0
interface=all parent=none packet-marks=Packet-Intl direction=both priority=8
queue=default-small/default-small limit-at=0/0 max-limit=64000/90000
total-queue=default-small

2 X name="Client_2-IIX" target-addresses=192.168.0.2/32 dst-address=0.0.0.0/0
interface=all parent=none packet-marks=Packet-IIX direction=both priority=8
queue=default-small/default-small limit-at=0/0 max-limit=64000/90000
total-queue=default-small

3 X name="Client_2-INTL" target-addresses=192.168.0.2/32 dst-address=0.0.0.0/0
interface=all parent=none packet-marks=Packet-Intl direction=both priority=8
queue=default-small/default-small limit-at=0/0 max-limit=64000/90000
total-queue=default-small

4 X name="Client_3-IIX" target-addresses=192.168.0.3/32 dst-address=0.0.0.0/0
interface=all parent=none packet-marks=Packet-IIX direction=both priority=8
queue=default-small/default-small limit-at=0/0 max-limit=64000/90000
total-queue=default-small

5 X name="Client_3-INTL" target-addresses=192.168.0.3/32 dst-address=0.0.0.0/0
interface=all parent=none packet-marks=Packet-Intl direction=both priority=8
queue=default-small/default-small limit-at=0/0 max-limit=64000/90000
total-queue=default-small

6 X name="Client_4-IIX" target-addresses=192.168.0.4/32 dst-address=0.0.0.0/0
interface=all parent=none packet-marks=Packet-IIX direction=both priority=8
queue=default-small/default-small limit-at=0/0 max-limit=32000/90000
total-queue=default-small

7 X name="Client_4-INTL" target-addresses=192.168.0.4/32 dst-address=0.0.0.0/0
interface=all parent=none packet-marks=Packet-Intl direction=both priority=8
queue=default-small/default-small limit-at=0/0 max-limit=32000/90000
total-queue=default-small

8 X name="Client_5-IIX" target-addresses=192.168.0.5/32 dst-address=0.0.0.0/0
interface=all parent=none packet-marks=Packet-IIX direction=both priority=8
queue=default-small/default-small limit-at=0/0 max-limit=64000/90000
total-queue=default-small

9 X name="Client_5-INTL" target-addresses=192.168.0.5/32 dst-address=0.0.0.0/0
interface=all parent=none packet-marks=Packet-Intl direction=both priority=8
queue=default-small/default-small limit-at=0/0 max-limit=64000/90000
total-queue=default-small

10 X name="Client_6-IIX" target-addresses=192.168.0.6/32 dst-address=0.0.0.0/0
interface=all parent=none packet-marks=Packet-IIX direction=both priority=8
queue=default-small/default-small limit-at=0/0 max-limit=64000/90000
total-queue=default-small

11 X name="Client_6-INTL" target-addresses=192.168.0.6/32 dst-address=0.0.0.0/0
interface=all parent=none packet-marks=Packet-Intl direction=both priority=8
queue=default-small/default-small limit-at=0/0 max-limit=64000/90000
total-queue=default-small

12 X name="Client_7-IIX" target-addresses=192.168.0.7/32 dst-address=0.0.0.0/0
interface=all parent=none packet-marks=Packet-IIX direction=both priority=8
queue=default-small/default-small limit-at=0/0 max-limit=32000/90000
total-queue=default-small

13 X name="Client_7-INTL" target-addresses=192.168.0.7/32 dst-address=0.0.0.0/0
interface=all parent=none packet-marks=Packet-Intl direction=both priority=8
queue=default-small/default-small limit-at=0/0 max-limit=64000/90000
total-queue=default-small

14 X name="Client_8-IIX" target-addresses=192.168.0.8/32 dst-address=0.0.0.0/0
interface=all parent=none packet-marks=Packet-IIX direction=both priority=8
queue=default-small/default-small limit-at=0/0 max-limit=64000/90000
total-queue=default-small

15 X name="Client_8-INTL" target-addresses=192.168.0.8/32 dst-address=0.0.0.0/0
interface=all parent=none packet-marks=Packet-Intl direction=both priority=8
queue=default-small/default-small limit-at=0/0 max-limit=64000/90000
total-queue=default-small

16 X name="Client_9-IIX" target-addresses=192.168.0.9/32 dst-address=0.0.0.0/0
interface=all parent=none packet-marks=Packet-IIX direction=both priority=8
queue=default-small/default-small limit-at=0/0 max-limit=64000/90000
total-queue=default-small

17 X name="Client_9-INTL" target-addresses=192.168.0.9/32 dst-address=0.0.0.0/0
interface=all parent=none packet-marks=Packet-Intl direction=both priority=8
queue=default-small/default-small limit-at=0/0 max-limit=64000/90000
total-queue=default-small

18 X name="Client_10-IIX" target-addresses=192.168.0.10/32 dst-address=0.0.0.0/0
interface=all parent=none packet-marks=Packet-IIX direction=both priority=8
queue=default-small/default-small limit-at=0/0 max-limit=64000/90000
total-queue=default-small

19 X name="Client_10-INTL" target-addresses=192.168.0.10/32 dst-address=0.0.0.0/0
interface=all parent=none packet-marks=Packet-Intl direction=both priority=8
queue=default-small/default-small limit-at=0/0 max-limit=64000/90000
total-queue=default-small

20 X name="Client_11-IIX" target-addresses=192.168.0.11/32 dst-address=0.0.0.0/0
interface=all parent=none packet-marks=Packet-IIX direction=both priority=8
queue=default-small/default-small limit-at=0/0 max-limit=64000/90000
total-queue=default-small

21 X name="Client_11-INTL" target-addresses=192.168.0.11/32 dst-address=0.0.0.0/0
interface=all parent=none packet-marks=Packet-Intl direction=both priority=8
queue=default-small/default-small limit-at=0/0 max-limit=64000/90000
total-queue=default-small

22 X name="Client_12-IIX" target-addresses=192.168.0.12/32 dst-address=0.0.0.0/0
interface=all parent=none packet-marks=Packet-IIX direction=both priority=8
queue=default-small/default-small limit-at=0/0 max-limit=64000/90000
total-queue=default-small

23 X name="Client_12-INTL" target-addresses=192.168.0.12/32 dst-address=0.0.0.0/0
interface=all parent=none packet-marks=Packet-Intl direction=both priority=8
queue=default-small/default-small limit-at=0/0 max-limit=64000/90000
total-queue=default-small

24 X name=""trafikshaping"" target-addresses=192.168.0.0/24 dst-address=0.0.0.0/0
interface=all parent=none direction=both priority=1 queue=default/default
limit-at=0/0 max-limit=0/0 total-queue=default

25 X name="queue1" target-addresses=192.168.0.21/32 dst-address=0.0.0.0/0 interface=al>
parent=none packet-marks=Packet-IIX direction=both priority=8
queue=default-small/default-small limit-at=0/0 max-limit=16000/16000
total-queue=default-small time=0s-23h,sun,mon,tue,wed,thu,fri,sat

26 X name="queue2" target-addresses=192.168.0.21/32 dst-address=0.0.0.0/0 interface=al>
parent=none packet-marks=Packet-Intl direction=both priority=8
queue=default-small/default-small limit-at=0/0 max-limit=16000/16000
total-queue=default-small time=0s-0s,

[Rafanet@RAFANET] >

====================================================================================
[Rafanet@RAFANET] > queue interface pr
# INTERFACE QUEUE
0 lan ethernet-default
1 public ethernet-default
[Rafanet@RAFANET] >

====================================================================================
[Rafanet@RAFANET] > queue type pr
0 name="default" kind=pfifo pfifo-limit=50

1 name="ethernet-default" kind=pfifo pfifo-limit=50

2 name="wireless-default" kind=sfq sfq-perturb=5 sfq-allot=1514

3 name="synchronous-default" kind=red red-limit=60 red-min-threshold=10
red-max-threshold=50 red-burst=20 red-avg-packet=1000

4 name="hotspot-default" kind=sfq sfq-perturb=5 sfq-allot=1514

5 name="DOWNSTREAM" kind=pcq pcq-rate=0 pcq-limit=50 pcq-classifier=dst-address
pcq-total-limit=2000

6 name="UPSTREAM" kind=pcq pcq-rate=0 pcq-limit=50 pcq-classifier=src-address
pcq-total-limit=2000

7 name="default-small" kind=pfifo pfifo-limit=10
[Rafanet@RAFANET] >

====================================================================================

7 komentar:

  1. Maaf aku oon nih, tolong diberi penjelasannya ya dan maksudnya...biar aku nambah ilmu...

    BalasHapus
  2. @buwel
    ini router mikrotik yg sudah berjalan di salah satu network yg aku kerjakan karena seringnya error (aku ga pake backup)jadi ktulis disini, maklum aku pelupa orang nya

    BalasHapus
  3. wah kang.aq g mudeng ma postinganya akang yang gt.gt maklum masih pemula....oya gimana kabarnya nie...

    BalasHapus
  4. wah .. nggak ngerti sob. Pernah denger ttg mikrotik sih tp Mikrotik itu apa, gimana? masih nggak ngerti. Btw sobat ni ahli jaringan ya?

    BalasHapus
  5. @Dwi
    lama lama nanti ngerti juga kok, baik mas

    @angga
    mikrotik itu os berbasis linux untuk keperluan router networking, di bertugas membagi bandwith dalam satu atau lebih suatu jaringan, ahli jaringan ngga juga cuma lumayan ngerti aja

    mari kita belajar jaringan bersama bila ada yg di tanyakan monggo silahkeun selama dapat membantu tema2 aku sudah sangat senang

    BalasHapus
  6. OOoh gitu ya......
    Masih nggak ngerti juga nihhh...hehehe
    Ditunggu ya pelajaran selanjutnya, biar aku tambah ilmu...
    postingan keren..

    BalasHapus
  7. wah keren
    komen balik ya

    BalasHapus