Langkah Konfigurasi dengan Winbox
- DHCP Client di ether1: Buka menu IP → DHCP Client, tambahkan interface
ether1, lalu klik Apply. Pastikan status = bound. - IP LAN ether2: Masuk ke IP → Addresses, tambahkan
10.10.10.1/24untuk interfaceether2. - DHCP Server: Pergi ke IP → DHCP Server, gunakan wizard → pilih interface
ether2, buat pool10.10.10.10-10.10.10.100, gateway 10.10.10.1, DNS 8.8.8.8 & 1.1.1.1. - DNS: Buka menu IP → DNS, isi servers: 8.8.8.8, 1.1.1.1, lalu centang Allow Remote Requests.
- NAT: Masuk ke IP → Firewall → NAT, tambahkan rule baru: Chain=srcnat, Out Interface=ether1, Action=masquerade.
Pengujian
Langkah uji dari Client:
- Pastikan client dapat IP otomatis (10.10.10.x).
- Ping 8.8.8.8 → harus sukses.
- Ping www.google.com → harus sukses (cek DNS).
Latihan Interaktif
Jika router mendapat IP dynamic dari ISP di
ether1, lalu client dapat internet melalui ether2, konfigurasi apa yang bertanggung jawab menerjemahkan alamat private ke public?A. DHCP Server
B. DNS Server
C. NAT (Masquerade)
D. IP Pool