Basic Configurasi Mikrotik

Dari Catatan Pak Samsul
Revisi sejak 7 Februari 2021 09.00 oleh Samsul (bicara | kontrib)
Loncat ke navigasi Loncat ke pencarian

Basik Config

Memberikan nama perangkat

/system identity set name=pcrouter

Set Time Zone, Tanggal dan Waktu di Mikrotik

/system clock set time-zone-autodetect=no set time=21:32:00 set date=oct/05/2019 set time-zone-name=Asia/Jakarta

Memberi Nama Interface Mikrotik

/interface ethernet set ether1 name=ether1-internet

Configurasi IP Address

Perintah :

/ip address add address 192.168.1.2/24 interface=ether1

/ip address add address 192.168.2.1/24 interface=ether2

/ip address add address 192.168.3..1/24 interface=ether3 Configurasi IP Gateway

/ip route add gateway=192.168.1.1

Configurasi DNS

/ip dns set servers=1.1.1.1 8.8.8.8 set allow-remote-requests=yes

Configurasi NAT

/ip firewall nat add chain=srcnat src-address=172.16.1.0/24 out-interface=ether1-internet action=masquerade

Backup & Restore Setingan Mikrotik

Backup :

/system backup save name="basic-config-051019"

Restore :

/system backup load name="basic-config-051019"