Config Mikrotik R2: Difference between revisions

From DAFA WIKI
Jump to navigation Jump to search
No edit summary
No edit summary
Line 23: Line 23:
server interface pilih bridge1 kemudian klik next trus dampek selesai
server interface pilih bridge1 kemudian klik next trus dampek selesai
=== Setting NAT ===
=== Setting NAT ===
<code>ip - firewal - tab NAT - add chain=srcnat - out-interface=ether1 - tab Action - action=masquerade</code>
<code>ip - firewal - tab NAT - add - Tab General  chain=srcnat - out-interface=ether1 - tab Action - action=masquerade</code>
=== Setting Route ===
=== Setting Route ===
<code>ip - route - add - Dst-addres=0.0.0.0/0 - gateway=10.200.200.1</code>
<code>ip - route - add - Dst-addres=0.0.0.0/0 - gateway=10.200.200.1</code>

Revision as of 03:24, 11 April 2026

Setting Identity

System - Identity

ganti nam dengan R2

Identity.png

Setting Bridge Interface

Bridge - Klik tombol + Trus Klik Ok

Kemudian tab pada menu port trus klik tombol +, Masukkan port ether2 dan ether3 pada Brdige

Setting ip address

ip-addess-add

address=10.200.200.2/30 - interface=ether1

address=172.17.200.1/28 - interface=bridge1

Setting DNS server

ip - dns - server = 8.8.8.8 - centang allow-remote-request

Setting DHCP Server

ip - dhcp-server - DHCP setup

server interface pilih bridge1 kemudian klik next trus dampek selesai

Setting NAT

ip - firewal - tab NAT - add - Tab General chain=srcnat - out-interface=ether1 - tab Action - action=masquerade

Setting Route

ip - route - add - Dst-addres=0.0.0.0/0 - gateway=10.200.200.1

trus add route lagi

dst-address=172.16.200.0/29 - gateway=10.200.200.1