FaizBlog LogoFaizBlog
Back to all articles
mikrotikip-addressnetworkingtutorial

Cara Setting IP Static di MikroTik (Konfigurasi Manual Lengkap)

Panduan lengkap konfigurasi IP address static di MikroTik lewat Winbox — cocok untuk LAN, server, dan koneksi ISP yang memakai IP tetap.

AI Insights

Generate a summary and suggested tags for this post.

IP Static adalah konfigurasi IP address yang di-input manual dan tidak berubah-ubah. Di MikroTik, ini pola paling umum untuk interface LAN, koneksi ke server, atau ISP yang kasih IP publik statis.

Artikel ini membahas cara setting IP Static di MikroTik lewat Winbox dari nol.

Struktur IP Address dan Subnet

Kapan Pakai IP Static?

SkenarioCocok untuk Static?
Interface LAN MikroTik✅ Wajib
Server (web, database)✅ Ya
ISP leased line✅ Ya
Access Point management✅ Ya
Laptop biasa❌ Cukup DHCP
Modem consumer❌ Pakai DHCP Client

Memahami Notasi CIDR

Sebelum input IP, kamu harus paham notasi /24 (CIDR):

  • /24 = 255.255.255.0 (254 host per subnet)
  • /25 = 255.255.255.128 (126 host)
  • /16 = 255.255.0.0 (65k host)

Contoh: 192.168.1.1/24 artinya IP 192.168.1.1 dengan subnet 255.255.255.0.

Langkah Setting IP Static

Konfigurasi IP Address di Winbox

1. Buka Winbox → IP → Addresses

Klik + (add).

2. Isi Konfigurasi

  • Address: 192.168.1.1/24 (IP + prefix)
  • Network: (biarkan auto-fill)
  • Interface: ether2 (port yang mau di-set)

Klik Apply → OK.

3. Verifikasi

Cek daftar IP:

/ip address print

Kalau muncul di list dengan flag (no flags) — artinya sudah aktif.

Contoh Topology dengan IP Static

Topology dengan IP Static

PerangkatIPInterface MikroTik
MikroTik (gateway)192.168.1.1ether2
Laptop kantor192.168.1.10ether2 (via switch)
PC admin192.168.1.11ether2 (via switch)
Server file192.168.1.20ether2 (via switch)

Setting IP Static di Client (Windows)

Supaya laptop bisa terhubung ke MikroTik:

  1. Control Panel → Network → Change adapter settings
  2. Klik kanan adapter → Properties → IPv4
  3. Pilih Use the following IP address:
    • IP: 192.168.1.10
    • Subnet: 255.255.255.0
    • Gateway: 192.168.1.1
    • DNS: 8.8.8.8, 1.1.1.1

Common Mistake

KesalahanAkibatSolusi
Lupa prefix /24IP dianggap /32 (host only)Selalu tulis prefix
Salah subnet maskClient tidak bisa pingSamakan subnet
IP conflictPerangkat drop koneksiPastikan IP unik
Gateway beda subnetNo internetGateway harus 1 subnet

Kesimpulan

Setting IP Static di MikroTik intinya cuma satu perintah di menu IP → Addresses. Yang penting kamu paham konsep subnet dan prefix (CIDR) supaya tidak salah alokasi IP.

Lanjut ke artikel setting DNS, NAT Masquerade, dan Gateway untuk menyempurnakan konfigurasi router.