Config Mikrotik R1: Difference between revisions
(Created page with "=== Setting Identity === <code>system - identy - name=R1</code> File:Identity R1.png === Setting Dhcp-Client === <code>ip - dhcp-client - add -interface=ether1</code> File:Dhcp-client R1.png === Setting IP Address === <code>ip - address - add - address=172.16.200.1/29 - interface=ether2</code> <code>ip - address - add - address=10.200.200.1/30 - interface=ether3</code> File:Ip address R1.png hasilnya seperti dibawah File:Ip addres hasil R1.png ==...") |
No edit summary |
||
| (One intermediate revision by the same user not shown) | |||
| Line 24: | Line 24: | ||
[[File:Dns server R1.png]] | [[File:Dns server R1.png]] | ||
=== Setting NAT === | |||
<code>ip - firewall - tab NAT - add - chain=srcnat - out-interface=ether1 - Tab Action - action=masquerade</code> | |||
[[File:Nat R1.png]] | |||
=== Setting Route === | |||
<code>ip - route - add - dst-address=172.17.200.0/28 - gateway=10.200.200.2</code> | |||
[[File:Router R1.png]] | |||
== Config CLI R1 == | |||
=== Setting Identitas === | |||
<code>system identity set name=R1</code> | |||
=== Setting dhcp client === | |||
<code>ip dhcp-client add interface=ether1 disabled=no</code> | |||
=== Setting ip Address === | |||
<code>ip address add address=172.16.200.1/29 interface=ether2</code> | |||
<code>ip address add address=10.200.200.1/30 interface=ether3</code> | |||
=== Setting dns server === | |||
<code>ip dns set servers=8.8.8.8 allow-remote-requests=yes</code> | |||
=== Setting Nat === | |||
<code>ip firewall nat add chain=srcnat out-interface=ether1 action=masquerade</code> | |||
=== Setting Route Static === | |||
<code>ip route add dst-address=172.17.200.0/28 gateway=10.200.200.2</code> | |||
Latest revision as of 04:02, 16 April 2026
Setting Identity
system - identy - name=R1
Setting Dhcp-Client
ip - dhcp-client - add -interface=ether1
Setting IP Address
ip - address - add - address=172.16.200.1/29 - interface=ether2
ip - address - add - address=10.200.200.1/30 - interface=ether3
hasilnya seperti dibawah
Setting DNS
ip - dns - server=8.8.8.8 - centang allow remote request
Setting NAT
ip - firewall - tab NAT - add - chain=srcnat - out-interface=ether1 - Tab Action - action=masquerade
Setting Route
ip - route - add - dst-address=172.17.200.0/28 - gateway=10.200.200.2
Config CLI R1
Setting Identitas
system identity set name=R1
Setting dhcp client
ip dhcp-client add interface=ether1 disabled=no
Setting ip Address
ip address add address=172.16.200.1/29 interface=ether2
ip address add address=10.200.200.1/30 interface=ether3
Setting dns server
ip dns set servers=8.8.8.8 allow-remote-requests=yes
Setting Nat
ip firewall nat add chain=srcnat out-interface=ether1 action=masquerade
Setting Route Static
ip route add dst-address=172.17.200.0/28 gateway=10.200.200.2






