Mata Pelajaran - PKPJ • MikroTik Hotspot - Budiman

Praktik: Hotspot WLAN1 • WAN DHCP Client • DNS • NAT

Skema singkat:
ether1 = DHCP Client dari Gateway Lab/ISP → wlan1 IP 10.10.100.1/24 → SSID format NamaLengkap_@alamincikut.sch.id → Hotspot → NAT → Internet.
Waktu Praktek
40 menit
Langkah Konfigurasi dengan Winbox / Terminal
  1. Set Identity Router:
    Terminal → /system identity set name="Router-NamaLengkap"
  2. ether1 sebagai DHCP Client (WAN):
    IP → DHCP Client → Add → Interface ether1 → Apply → pastikan status = bound.
  3. Set IP untuk wlan1:
    IP → Addresses → Add → 10.10.100.1/24 → Interface wlan1.
  4. Aktifkan Wireless + Mode ap-bridge:
    Wireless → wlan1:
    Mode = ap-bridge,
    SSID = NamaLengkap_@alamincikut.sch.id
    Security: password kosong (karena untuk Hotspot).
  5. DNS Router:
    IP → DNS:
    Servers: 8.8.8.8, 1.1.1.1
    Centang: Allow Remote Requests.
  6. Hotspot Setup pada wlan1:
    IP → Hotspot → Hotspot Setup →
    - Interface: wlan1
    - Address: otomatis (10.10.100.1/24)
    - Pool: otomatis (10.10.100.x)
    - DNS: gunakan DNS router
    - DNS Name: wifi.alamincikut.sch.id (atau bebas)
    - User & Password: boleh default / custom.
  7. Firewall NAT (Masquerade):
    IP → Firewall → NAT → Add:
    Chain = srcnat
    Out Interface = ether1
    Action = masquerade
Pengujian
  • Client tersambung ke SSID hotspot.
  • Mendapat IP 10.10.100.x.
  • Halaman login hotspot muncul otomatis.
  • Login berhasil.
  • Ping google.com sukses.
Latihan Interaktif
Apa fungsi firewall NAT masquerade dalam konfigurasi hotspot?
A. Memberikan IP otomatis ke client
B. Menyembunyikan IP private agar bisa akses internet
C. Mengarahkan client ke login page
D. Membuat SSID hotspot
Catatan: siswa wajib screenshot: DHCP Client, Wireless, IP Address, DNS, Hotspot Setup, NAT, dan hasil ping.