DHCP SERVER, DNS & NAT di Mikrotik

|
















Preface

Tulisan ini dibuat sekedar sharing pengetahuan aj dari saya yg juga masih belajar, rachmat juga uda kangen beud mo nulis2 :D

-Ruter: Mikrotik v.2.9.6

-Workstation: Windows Xp (PC0,PC1)

-Server: Redhat (PC2)

-Modem: Huawei

Given IP

Public 202.73.99.0/24

Local 192.168.0.0/24


Konfigurasi Pada Mikrotik

[DHCP SERVER]

1. aktifkan interface yg diperlukan

[therachmat@rxnux3r]>interface ena ether1

[therachmat@rxnux3r]>interface set ether1 name=local

[therachmat@rxnux3r]>interface ena ether2

[therachmat@rxnux3r]>interface set ether2 name=public

2. setting ip Mikrotik-SW-1< [therachmat@rxnux3r]>ip add address=192.168.0.1/24 int=local

3. buat pool

[therachmat@rxnux3r]>ip pool add name=dhcp-pool-1 ranges=192.168.0.2-192.168.0.11

4. buat network address, dns-server, gateway

[therachmat@rxnux3r]>ip dhcp-server network add address=192.168.0.0/24 gateway=192.168.0.1

5. daftarkan pool ke dhcp-server

[therachmat@rxnux3r]>ip dhcp-server add address-pool=dhcp-pool-1 int=local

6. cek konfigurasi

[therachmat@rxnux3r]>ip pool print

[therachmat@rxnux3r]>ip dhcp-server print


[DNS & gateway ]

1. Set Primary DNS

[therachmat@rxnux3r]>ip dns set primary-dns=8.8.8.8

2. Set Secondary DNS

[therachmat@rxnux3r]>ip dns set secondary-dns=8.8.4.4

3. Set Gateway

[therachmat@rxnux3r]>ip route add gateway=202.73.99.8


[NAT]

1. Setting ip Mikrotik-modem-internet

[therachmat@rxnux3r]>ip add address=202.73.99.1/24 int=public

2. Buat nat

[therachmat@rxnux3r]>ip firewall nat add action=masquerade out-interface=public chain=srcnat

3. Cek Konfigurasi

[therachmat@rxnux3r]>ip firewall nat print

[Backup-Konfigurasi]

[therachmat@rxnux3r]>system backup save name=rxconf

Konfigurasi pada Workstation

1. TCP/IP Properties set auto

2. ipconfig /release , ipconfig /renew, ipconfig /all

3. cek koneksi, ping ke mikrotik, remote via SSH


























Konfigurasi pada Server

-Dalam Kondisi ini server hanya sebagai data storage saja :)


catatan tambahan:
-u/ bandwith management sobat bisa menggunakan queue tree


Insya Alloh saya akan terus menulis.

(sabar aja ya... nanti saya nulis lagi tp tergantung mood saya mo nulis apaan...wkwkwk :D )

rachmat spesial thanks to:

1. God Alloh SWT

2. Suryo at PGN, thanks udah dipinjemin hddnya, hore2.. skrg Mikrotikna ga pke virtual mesin lg :)

3. Rizqi at Metrodata, ditunggu projectna, hehe :D

4. Sobat Moenas, thanks awardna, maav belum dposting

5. Temend2 yg baca artikel rachmat ^_^

Sekian tulisan ini dibuat, semoga bermanfaat ya!

13 comments:

RCA News said...

MAKASIH SHARING ILMUNYA MAS.

Ivan Kavalera said...

Artikel mantap. Terimakasih telah berbagi ilmu, sobat.

rachmat said...

thanks ya uda komeng, heuheu :D
maav rada acak2an nulisna coz updatena via telkomnet :D

unee said...

haduh, infonya pas banged ma ank TI kaya aku, thanks banged

download software gratisan said...

Numpang links yach,,, links anda sudah kami pasang di http://bangbom.blogspot.com

Sijaketbiru said...

wuih, walau bang mamat udah pamitan kemarin dari dunia blogging. Namun masih tetep mo share ilmunya ini. Thanks bro.
btw dah gabung program terbaru, dibayar hanya dengan membaca artikel. Buruan gabung ya di http://bit.ly/article4money

Anonymous said...

hello... hapi blogging... have a nice day! just visiting here....

suryadewa said...

wah inponya berkualitas nih sobat .... tp saya masih kurang ngerti nih xixixixi maklum gada keahlian nih

Wandhe Fadilah said...

wah mksh banget infonya, wan lagi butuh banget, oia wan follow y, ,,
kerennnnn

Desti Andani Permana said...

Mampir ke sini sekalian ngeramein komentar...
Hehehe :)

Gratisan said...

Waduh, pertama kali ke sini langsung baca artikel diatas ... kagak ngerti sama sekali :D. Mo ijin buka2 archivesnya mas dan salam kenal :)

gambutku said...

bisa tukeran link lg fren???

Link Gratis said...

Mampr ah dah lama banget gak main ke tetangga.. info menarik sob

Post a Comment

leave comment here, thanks for visiting
[Friends Link] [Facebook] [Twitter]