Septa Ibnu Shina
Modul Praktik TKJ

Konfigurasi Mikrotik 1 (Router Utama & Wireless)

Penulis: Chafidz Ega Ar Rosyid • Dokumentasi Praktik Lengkap

A. Topologi Jaringan

  • ISP: → Ether 1 Mikrotik 1 (Internet)
  • Ether 4 Mikrotik 1: → PC (Konfigurasi)
  • Ether 2 Mikrotik 1: → Ether 1 Mikrotik 2 (Mikrotik Sebagai Switch)
  • Ether 2 Mikrotik 2: → PC (Client VLAN 1-siswa)
  • Ether 3 Mikrotik 2: → PC (Client VLAN 2-guru)

B. Konfigurasi Mikrotik 1 (Router Utama & Wireless)

1. Bersihkan Semua Konfigurasi

  1. Klik SystemReset Configuration
  2. Centang (✓) "No Default Configuration"
  3. Klik ApplyOK

2. Berikan Identitas pada Mikrotik 1

  1. Klik SystemIdentity
  2. Masukkan nama Wifi Routerboard
  3. Klik ApplyOK

3. Nyalakan Wireless

  1. Masuk ke wireless
  2. Klik wlan1 1x
  3. Klik centang (✓)

4. Membuat VLAN 1 & 2

a. VLAN 1:
  1. Klik Interface → VLAN → Klik "+"
  2. Atur:
    • a) Name: vlan1-siswa
    • b) VLAN ID: 10
    • c) Interface: ether2
  3. Klik ApplyOK
b. VLAN 2:
  1. Klik Interface → VLAN → Klik "+"
  2. Atur:
    • a) Name: vlan2-guru
    • b) VLAN ID: 20
    • c) Interface: ether2
  3. Klik ApplyOK

5. Memberi Mikrotik Internet dari ISP

  1. Klik IPDHCP Client → Klik "+"
  2. Interface: ether1
  3. Klik ApplyOK

6. Memberi IP Address (Alamat IP) pada vlan dan wlan

a. WLAN1:
  1. Klik IPAddresses → Klik "+"
  2. Atur:
    • a) Interface: wlan1
    • b) Address: 192.168.20.1/24
  3. Klik ApplyOK
b. VLAN 1:
  1. Klik IPAddresses → Klik "+"
  2. Atur:
    • a) Interface: vlan1-siswa
    • b) Address: 192.168.40.1/24
  3. Klik ApplyOK
c. VLAN 2:
  1. Klik IPAddresses → Klik "+"
  2. Atur:
    • a) Interface: vlan2-guru
    • b) Address: 192.168.60.1/24
  3. Klik ApplyOK

7. Memberi DHCP Server WLAN & VLAN

a. WLAN:
  1. Klik IPDHCP ServerDHCP Setup
  2. Atur:
    • a) Interface: wlan1
    • b) Address to Give Out: 192.168.20.10-192.168.20.50
  3. Next Sampai Selesai
b. VLAN1:
  1. Klik IPDHCP ServerDHCP Setup
  2. Atur:
    • a) Interface: vlan1-siswa
    • b) Address to Give Out: 192.168.40.10-192.168.40.50
  3. Next Sampai Selesai
c. VLAN2:
  1. Klik IPDHCP ServerDHCP Setup
  2. Atur:
    • a) Interface: vlan2-guru
    • b) Address to Give Out: 192.168.60.10-192.168.60.50
  3. Next Sampai Selesai

8. Konfigurasi WLAN

a. Membuat Security Profile (Password)
  1. Klik Wireless → Security Profiles → Klik "+"
  2. Atur:
    • a) Name: profile1 (contoh)
    • b) Mode: dynamic keys
    • c) Authentication types: WPA PSK
    • d) WPA PSK Pre Shared Keys: 12345678 (Password)
  3. Klik ApplyOK
b. Atur wlan1
  1. Klik Wireless → Wifi Interfaces → Klik 2x "wlan1"
  2. Atur:
    • a) Mode: ap bridge
    • b) Band: 2Ghz B/G/N
    • c) SSID: UKK_7 (UKK_NoAbsen)
    • d) Profile: profile1 (yang tadi kita buat)
  3. Klik ApplyOK

9. Konfigurasi Hotspot

a. Membuat Server Hotspot
  1. Klik IPHotspotServersHotspot Setup
  2. Atur:
    • a) Interface: wlan1
    • b) DNS Name: portalsmk.sch.id
    • c) username: admin
    • d) password: admin
  3. Next sampai selesai
b. Membuat User Profiles kepalasekolah, guru & siswa
  • 1) kepalasekolah
    1. Klik IPHotspotUser Profiles → Klik "+"
    2. Atur:
      • (1) Name: kepalasekolah
      • (2) Address Pool: dhcp_pool0 (atau sesuaikan dhcp pool wlan kalian, liat di IP → Pool)
      • (3) Rate Limit (rx/tx): 512k/512k
    3. Klik ApplyOK
  • 2) guru
    1. Klik IPHotspotUser Profiles → Klik "+"
    2. Atur:
      • (1) Name: guru
      • (2) Address Pool: dhcp_pool0 (atau sesuaikan dhcp pool wlan kalian, liat di IP → Pool)
      • (3) Rate Limit (rx/tx): 256k/256k
    3. Klik ApplyOK
  • 3) siswa
    1. Klik IPHotspotUser Profiles → Klik "+"
    2. Atur:
      • (1) Name: siswa
      • (2) Address Pool: dhcp_pool0 (atau sesuaikan dhcp pool wlan kalian, liat di IP → Pool)
      • (3) Rate Limit (rx/tx): 128k/128k
    3. Klik ApplyOK
c. Membuat Users (Voucher)
  • 1) kepalasekolah
    1. Klik IPHotspotUsers → Klik "+"
    2. Atur:
      • (1) Server: hotspot1
      • (2) Name: kepalasekolah
      • (3) Password: 123
      • (4) Profile: kepalasekolah
  • 2) guru
    1. Klik IPHotspotUsers → Klik "+"
    2. Atur:
      • (1) Server: hotspot1
      • (2) Name: guru
      • (3) Password: 123
      • (4) Profile: guru
  • 3) siswa
    1. Klik IPHotspotUsers → Klik "+"
    2. Atur:
      • (1) Server: hotspot1
      • (2) Name: siswa
      • (3) Password: 123
      • (4) Profile: siswa

10. Konfigurasi NAT

  1. Klik IPFirewallNAT → Klik "+"
  2. Masuk ke tab General
    • 1) Out. Interface: ether1
  3. Masuk ke tab action
    • 1) action: masquerade
  4. Klik ApplyOK