Basic Configurasi Mikrotik: Perbedaan antara revisi

Dari Catatan Pak Samsul
Loncat ke navigasi Loncat ke pencarian
kTidak ada ringkasan suntingan
kTidak ada ringkasan suntingan
Baris 1: Baris 1:
== '''Basik Config''' ==
=='''Basik Config'''==


====Memberikan nama perangkat====
====Memberikan nama perangkat====
Baris 5: Baris 5:


====Set Time Zone, Tanggal dan Waktu di Mikrotik====
====Set Time Zone, Tanggal dan Waktu di Mikrotik====
<code>/system clock
<code>/system clock</code>
set time-zone-autodetect=no
 
set time=21:32:00
<code>set time-zone-autodetect=no
set date=oct/05/2019
set time=21:32:00</code>
set time-zone-name=Asia/Jakarta</code>
 
<code>set date=oct/05/2019</code>
 
<code>set time-zone-name=Asia/Jakarta</code>


====Memberi Nama Interface Mikrotik====
====Memberi Nama Interface Mikrotik====
Baris 21: Baris 24:
<code>/ip address add address 192.168.2.1/24 interface=ether2</code>
<code>/ip address add address 192.168.2.1/24 interface=ether2</code>


<code>/ip address add address 192.168.3..1/24 interface=ether3
<code>/ip address add address 192.168.3..1/24 interface=ether3</code>
Configurasi IP Gateway</code>
 
'''Configurasi IP Gateway'''


<code>/ip route add gateway=192.168.1.1</code>
<code>/ip route add gateway=192.168.1.1</code>

Revisi per 7 Februari 2021 09.05

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"