Anda di halaman 1dari 18

MODUL PELATIHAN NETWORK

MATERI

MIKROTIK SEBAGAI ROUTER DAN BRIDGE

OLEH TUNGGUL ARDHI

PROGRAM PHK K1 INHERENT UNIVERSITAS SEBELAS MARET 2007

Pendahuluan Routing memeg ng !e" n n !enting # $ m %u tu net&o"' te"ut m # $ m meng tu" ( $u" # t # "i % tu 'om!ute" 'e 'om!ute" $ in) Kom!ute" * ng +e"tug % meng tu" "outing #i %e+ut Router) M te"i ! # mo#u$ ini +e"i%i in%t $ %i # n !enggun n Si%tem O!e" %i MIKROTIK) Di%ini %eng ( #i !i$i, Si%tem O!e" %i MIKROTIK ' "en #i ! n# ng mu# , # $ m !engo!e" %i nn* # n 'e+utu, n , "#& "e * ng "e$ ti- "en# ,) Ke+utu, n , "#& "e minim $ . Pentium II RAM /0 M+ H "##i%' IDE 000 M+ Untu' % t ini MIKROTIK , n* +i% #i in%t $$ #i , "##i%' t*!e IDE1 %e# ng ' n , "##i%' #eng n t*!e S2SI # n SATA +e$um +i% #igun ' n) MIKROTIK mem!un* i + n* ' %e"3i4e t u too$ %e,ingg +i% #i( #i' n DH2P %e"3e"1 PRO56 %e"3e"1 RADIUS %e"3e"1 DNS %e"3e"1 VPN %e"3e" %e$ in %e+ g i "oute") P # mo#u$ ini1 ' n #i + , % MIKROTIK %e+ g i ROUTER # n %e+ g i BRIDGE) Di% m!ing itu (ug #i + , % %etting MIKROTIK %e+ g i !em+ gi + n#&i#t,)

MIKROTIK SEBAGAI ROUTER Instalasi 2 " in%t $ %i % ng t mu# , tingg $ %etting g " 'om!ute" +i% +oot # "i 2DROM) Kemu# in m %u''n 2D MIKROTIK) Keti' 'om!ute" #i +ooting 2D ' n mu$ i +e'e"( +ooting & $ %*%tem MIKROTI'1 +i% #i$i, t #i g m+ " #i + & , .

A! +i$ !"o%e% +ooting & $ +e"( $ n #eng n + i' 'emu#i n ' n #it m!i$' n menu in%t $ %i MIKROTIK %e!e"t +e"i'ut .

P # menu in%t $ %i #i t m!i$' n %e"3i4e ! % ( * ng ingin 'it in%t $$) Untu' $e+i, mu# ,n* 'it !i$i, %emu %e"3i4e * ng #i %e#i ' n #eng n mene' n tom+o$ 7 8) m ' %emu %e"3i4e ' n te"!i$i,

A! +i$ 'it mengin%t $$ + "u te' n tom+o$ 7n8 t u ! +i$ 'it , n* men m+ ,' n %e"3i4e + "u te' n tom+o$ 7*8 g " 'on-igu" %i * ng %u# , #i +u t ti# ' ,i$ ng) L ng' , +e"i'utn* ' n #i%i !' n "u ng , "##i%' * ng ' n #i ! ' i o$e, MIKROTIK #eng n mem-o"m tn* # n meng'o!i' n -i$e9-i$e * ng #i+utu,' n

Sete$ , !"o%e% !eng'o!i n -i$e %e$e% i 'emu#i n !"o%e% in%t $ %i mem+utu,' n "e+oot u$ ng) A! +i$ %emu !"o%e% in%t $ %i ti# ' meng $ mi e""o" %ete$ , "e+oot u$ ng #i $ * " ' n mun4u$ t m!i$ n u%e" $ogin # n ! %%&o"#1 %e!e"ti g m+ " #i + & , .

Se4 " #e- u$t u%e" * ng #i! ' i # $ , u%e" admin #eng n ! %%&o"# * ng m %i, 'o%ong) Sete$ , $ogin t m!i$ n & $ ' n %e!e"ti +e"i'ut .

Kit ti# ' ' n mem+ , % !e"int , 4omm n# $ine1 ' "en ' n % $ , "umit # n %u$it untu' meng, - $ ' nn* ) Untu' men%etting Mi'"oti' ini 'it menggun ' n too$% $ in * itu Winbo ! Too$% &in+o: ini +i% #i m+i$ %e4 " -"ee #i &e+%ite ,tt!.;;&&&)mi'"oti')4o)i#) Deng n <in+o: ini 'it +i% men#ete'%i S*%tem Mi'"oti' * ng %u# , #i in%t $$ % $' n m %i, # $ m % tu net&o"'1 * itu #eng n men#ete'%i MA2 ##"e%% # "i et,e"net * ng te"! % ng #i Mi'"oti') T m!i$ n & $ !e"t m ' $i meng 'ti-' n &in+o: # $ , %e!e"ti +e"i'ut .

Kit tingg $ !i$i, MA2 ##"e%% * ng %u# , te"#ete'%i # n '$i' tom+o$ 2onne4t) M ' ' n mun4u$ t m!i$ n %e!e"ti #i + & , .

L ng' , & $ * ng !e"$u #i$ ' u' n # $ , mem+e"i IP A##"e%%1 me$ $ui menu i" addresses) Kemu#i n ' n m %u' 'e &in#o&% * ng memun4u$' n IP ##"e%%

Untu' men m+ ,' n i! ##"e%% '$i' menu # 1 'emu#i n 'it tu$i%' n i! ##"e%% * ng ' n #igun ' n # n untu' et,e"net nomo" +e" ! ) Sete$ , itu '$i' tom+o$ o$

Sete$ , i! %u# , #i %etting m ' #i # -t " i! mun4u$ nomo" i! n*

L ng' , %e$ n(utn* # $ , menentu' n #e- u$t g te& *n* 1 * itu me$ $ui menu i" Routes 1 'emu#i n ' n #it m!i$' n &in#o&% %e!e"ti #i + & , untu' men m+ ,' n #e- u$t g te& * #eng n '$i' tom+o$ #

A' n #i t m!i$' n &in#o&% %e!e"ti #i+ & ,

I%i #i + gi n Gate%a& #eng n i! ##"e%% #e- u$t g te& *n* ) B gi n Destination #i i%i 0)0)0)0;0 * ng +e" "ti %emu "outing #i " ,' n 'e i! g te& *n* ) Sete$ , i! # n g te& * te"! % ng tingg $ !engete% n #eng n !ing g te& * ! +i$ %u# , !ing "e!$* +e" "ti % m! i + gi n ini %u# , +en "1 tingg $ mem+u t %etting g " !4 # "i LAN $o' $ +i% te"'one') Kit !e"$u mem+u t NAT #eng n 4 " '$i' i" 'ire%all NAT 1 untu' men m+ , %etting NAT te' n tom+o$ =) Kemu#i n + gi n Sr(! Adress #i%ini net&o' LAN Lo4 $ * ng ' n #i NAT9' n) B gi n Out! Inter)a(e #ii%i et,e"net #eng n i! ##"e%% * ng +e" # #i $u " net&o"' LAN)

P # T + A(tion1 #i + gi n A(tion #ii%i #eng n Mas*uerade) Kemu#i n te' n tom+o$ OK ) M ' %etting NAT ' n #i t m!i$' n ! # &in#o&% >i"e& $$)

Sete$ , %etting NAT u# , OK1 m ' # "i LAN inte"n $ %u# , +i% te"'one'%i #eng n LAN $ in me$ ui "oute" ini)

L ng' , %e$ n(utn* # $ , !eng tu" n + n#&i#t,) Menu untu' meng tu" + n#&i#t, # $ , ! # menu +ueues)

A# +e+e" ! T + ! # &in#o&% ?ueue% Li%t . 9 Sim"le +ueues P # + gi n ini !eng tu" n + n#&i#t, #eng n 'etentu n * ng %e#e", n # n +e% "n* + n#&i#t, -i: @/0'1 12A'1 2B/'1 B12'1 1M # n 2MC) B gi n T "get A##"e%% #i i%i i! ,o%t t u net&o"' * ng +e" # #i + & , "oute" ini * ng ' n #i + t %i !enggun n + n#&i#t,n* ) Di T + A#3 n4e#1 +i% #i gun ' n untu' mem+ t %i + n#&i#t, * ng #i gun ' n o$e, !2! !"og" m %e!e"ti emu$e1 e#on'e* #$$

+ueue Tree Se+e$um mem+u t ?ueue T"ee !e"$u te"$e+i, # ,u$u 'it mem+u t m ng$e #i menu >i"e& $$) 6 ng !e"$u #i +u t # #u m 4 m . m "' 4onne4tion # n m "' ! 4'et) Mem+u t M "' 2onne4tion . Menu IP 'ire%all Man,le #

Mem+u t M "' P 4'et . Menu IP 'ire%all Man,le #

Sete$ , M "4' 2onne4tion # n M "' P 4'et #i+u t 'emu#i n 'it mu$ i mem+u t ?ueue T"ee #eng n te"$ +i, # ,u$u menentu' n P "ent untu' #o&n$o # # n

! "ent untu' U!$o #) P # ! "ent ini +i% $ ng%ung #i %etting +e% "n* + n#&i#t, * ng #i $o' %i' n ! # + gi n -imit At # n Ma -imit

Sete$ , #i+u t ! "ent + "u mem+u t 4,i$# * ng # #i + & , ! "ent te"%e+ut

+ueue T&"e ?ueue t*!e # $ , #igun ' n untu' meng tu" t*!e !em+ t % n + n#&i#t, * ng #igun ' n1 ',u%u% untu' !em+ gi n + n#&i#t, g " !em+ gi n +i% me" t #i gun ' n t*!e "(*) Untu' men m+ ,' n t*!e + "u #eng n 4 " '$i' tom+o$ =

B gi n Name # $ , untu' mem+e"i n m t*!e Dueue * ng + "u1 %e# ng' n + gi n Kind t*!e * ng m u #i ! ' i) T + Settin, #igun ' n untu' meng tu" +entu' #i%t"i+u%i ! 'et * ng ' n #i tu" o$e, t*!e Dueue)

Mi$roti$ seba,ai Brid,e Untu' in%t $ %i & $ Mi'"oti' % m #eng n %e+ g i "oute"1 * ng +e"+e# # $ , 'e+utu, n et,e"net) K,u%u% %e+ g i +"i#ge #i +utu,' n E +u , et,e"net1 2 #igun ' n %e+ g i -ung%i +"i#ge # n 1 et,e"net #igun ' n %e+ g i m n gement %*%tem Mi'"oti'n* ) Untu' men%etting me$ u$i menu Brid,e 1 'emu#i n ' n mun4u$ &in#o&% & $ %etting +"i#ge) Pe"t m ' $i 'it !e"$u men#e-ini%i' n & $ n m +"i#gen* #eng n 4 " '$i' tom+o$ # ! # T + Brid,es

P # + gi n ini 'it ti# ' !e"$u mengu+ , %etting * ng %e4 " #e- u$t #i +e"i' n o$e, Mi'"oti'1 4u'u! '$i' tom+o$ OK) Kemu#i n 'it 'e T + Ports 1 #i + gi n ini 'it men#e-ini%i' n et,e"net m n % ( * ng ' n #i ( #i' n %e+ g i inte"- 4e +"i#ge) Se!e"ti +i % untu' men m+ ,' n 2 Po"t% #eng n '$i' tom+o$ = #u ' $i1 'emu#i n * ng !e"$u #i u+ , , n* #i+ gi n Inter)a(e % ( ) P"o%e% mem+u t Mi'"oti' %e+ g i B"i#ge %u# , %e$e% i) Untu' %etting !em+ gi + n#&i#t, % m #eng n %e& 'tu %e+ g i "oute")