Friday, May 5, 2017

SETING MIKROTIK LEWAT TERMINAL

SETING MIKROTIK LEWAT TERMINAL

Berikut cara konfigurasi Router Mikrotik

*config rename interface:

view interface = interface print
rename interface = interface set 0 name=blablabla

=================================================

*config ip address interface or add ip address :

ip address add address=203.142.86.252/24 interface=ether1
ip address add address=192.168.30.1/24 interface=ether2

-------------------------------------------------
*Disabling or enabling interface :

ip address disable 0
ip address enable 0

0 = # index of interfaces

==================================================

* config gateway :

ip route add dst-address=0.0.0.0/0 gateway=203.142.86.1


* config dns :

ip dns set servers=180.131.144.144,180.131.145.145 allow-remote-requests=yes

-----------------------------------------------------
Mikrotik has been connected to ip public or internet
=====================================================

*client can connected to internet, must config NAT :

ip firewall nat add chain=srcnat out-interface=ether1 action=masquerade


F|I|N|I|S|H

Semoga bermanfaat

Go to link Download