Konfigurasi Router Mikrotik

Ether0 –> Internet dengan ip 202.10.10.4

Ether1 –> Local dengan ip 192.168.0.254

Gateway yang diberikan dari isp 202.10.10.1

DNS yang diberikan dari ISP 202.10.10.254 dan 202.10.10.50

Berikut langkah-langkahnya:

  1. setting ip addres dari ip tersebut

/ip address add address=202.10.10.4/28 interface=ether0

/ip address add address=192.168.0.254/24 interface=ether1

  1. setting route gateway

/ip route add gateway=202.10.10.1

  1. setting DNS /ip dns print

primary-dns: 202.10.10.254

secondary-dns: 202.10.10.50

allow-remote-requests: yes

cache-size: 2048KiB

cache-max-ttl: 1w

cache-used: 1937KiB

  1. kemudian buat NAT

/ip firewall nat add chain=srcnat src-address=192.168.0.0/24

out-interface=ether0 action=src-nat to-addresses=202.10.10.4 to-ports=0-65535

setelah itu coba ping ke GATEWAY dan DNS

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: