Basic Configurasi Mikrotik: Perbedaan antara revisi
Loncat ke navigasi
Loncat ke pencarian
(←Membuat halaman berisi 'Basik Config ====Memberikan nama perangkat==== <nowiki>/system identity set name=pcrouter</nowiki> ====Set Time Zone, Tanggal dan Waktu di Mikrotik==== <nowiki>/syste...') |
kTidak ada ringkasan suntingan |
||
Baris 1: | Baris 1: | ||
Basik Config | == '''Basik Config''' == | ||
====Memberikan nama perangkat==== | ====Memberikan nama perangkat==== | ||
< | <code>/system identity set name=pcrouter</code> | ||
====Set Time Zone, Tanggal dan Waktu di Mikrotik==== | ====Set Time Zone, Tanggal dan Waktu di Mikrotik==== | ||
< | <code>/system clock | ||
set time-zone-autodetect=no | set time-zone-autodetect=no | ||
set time=21:32:00 | set time=21:32:00 | ||
set date=oct/05/2019 | set date=oct/05/2019 | ||
set time-zone-name=Asia/Jakarta</ | set time-zone-name=Asia/Jakarta</code> | ||
====Memberi Nama Interface Mikrotik==== | ====Memberi Nama Interface Mikrotik==== | ||
< | <code>/interface ethernet set ether1 name=ether1-internet</code> | ||
====Configurasi IP Address==== | ====Configurasi IP Address==== | ||
Perintah : | Perintah<span> </span>: | ||
< | |||
/ip address add address 192.168.2.1/24 interface=ether2 | <code>/ip address add address 192.168.1.2/24 interface=ether1</code> | ||
/ip address add address 192.168.3..1/24 interface=ether3 | |||
Configurasi IP Gateway | <code>/ip address add address 192.168.2.1/24 interface=ether2</code> | ||
/ip route add gateway=192.168.1.1</ | |||
<code>/ip address add address 192.168.3..1/24 interface=ether3 | |||
Configurasi IP Gateway</code> | |||
<code>/ip route add gateway=192.168.1.1</code> | |||
====Configurasi DNS==== | ====Configurasi DNS==== | ||
< | <code>/ip dns set servers=1.1.1.1 8.8.8.8 | ||
set servers=1.1.1.1 8.8.8.8 | set allow-remote-requests=yes</code> | ||
set allow-remote-requests=yes</ | |||
====Configurasi NAT==== | ====Configurasi NAT==== | ||
< | <code>/ip firewall nat add chain=srcnat src-address=172.16.1.0/24 out-interface=ether1-internet action=masquerade</code> | ||
====Backup & Restore Setingan Mikrotik==== | ====Backup & Restore Setingan Mikrotik==== | ||
=====Backup : ===== | =====Backup<span> </span>:===== | ||
< | <code>/system backup save name="basic-config-051019"</code> | ||
Restore : | |||
/system backup load name="basic-config-051019"</ | '''Restore<span> </span>:''' | ||
<code>/system backup load name="basic-config-051019"</code> |
Revisi per 7 Februari 2021 09.00
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"