Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Standard view
Full view
of .
Look up keyword
Like this
0 of .
Results for:
No results containing your search query
P. 1
Setup Mikrotik as Gateway

Setup Mikrotik as Gateway

Ratings: (0)|Views: 3,009 |Likes:
Published by Syarif Hidayatullah
Bagaimana mensetup Mikrotik sebagai gateway pada jaringan anda? disini jawabannya!
Bagaimana mensetup Mikrotik sebagai gateway pada jaringan anda? disini jawabannya!

More info:

Published by: Syarif Hidayatullah on Jul 28, 2010
Copyright:Attribution Non-commercial


Read on Scribd mobile: iPhone, iPad and Android.
download as DOCX, PDF, TXT or read online from Scribd
See more
See less





SETUP MIKROTIK AS GATEWAYNow, I will let you know how to setup MIkrotik as Gateway server.1.
First, install Mikrotik RouterOS on your server PC.2.
Login mikrotik with console.
MikroTik v2.9.7Login: adminPassword:
 After that, you can go inside on Mikrotik Server. Your username is admin and withoutpassword by default.3.
If you want to setup password:
[admin@Mikrotik] > passwordold password: ****new password: *******retype new password: *******[admin@ Mikrotik]] >
To identify your interface on your PC that installed on MIkrotik
[admin@Mikrotik] > interface printFlags: X - disabled, D - dynamic, R - running# NAME TYPE RX-RATE TX-RATE MTU0 R ether1 ether 0 0 15001 R ether2 ether 0 0 15002 R ether2 ether 0 0 1500[admin@Mikrotik] >
Give IP address on every interface that youve installed.
[admin@Mikrotik] > ip address add address= interface=ether1[admin@Mikrotik] > ip address add address= interface=ether2
To see the configuration of IP address:
[admin@Mikrotik] >ip address print
Flags: X - disabled, I - invalid, D - dynamic# ADDRESS NETWORK BROADCAST INTERFACE0 ether11 ether2[admin@Mikrotik] >
Give the default gateway. For the example, gateway for internet connection is
[admin@Mikrotik] > /ip route add gateway=
Now, see the routing table on Mikrotik System.
[admin@Mikrotik] > ip route printFlags: X - disabled, A - active, D - dynamic,C - connect, S - static, r - rip, b - bgp, o - ospf # DST-ADDRESS PREFSRC G GATEWAY DISTANCE INTERFACE0 ADC ether21 ADC ether12 A S r ether1[admin@Mikrotik] >
Test connection to gateway to make sure the configuration is correct.
[admin@Mikrotik] > ping 64 byte ping: ttl=64 time<1 ms192.168.0.254 64 byte ping: ttl=64 time<1 ms2 packets transmitted, 2 packets received, 0% packet lossround-trip min/avg/max = 0/0.0/0 ms[admin@Mikrotik] >
Setup the DNS on MIkrotik.
[admin@Mikrotik] > ip dns set primary-dns= allow-remoterequests=no[admin@Mikrotik] > ip dns set secondary-dns= allow-remoterequests=no
To see the configuration of DNS:
[admin@Mikrotik] > ip dns printprimary-dns: nocache-size: 2048KiBcache-max-ttl: 1wcache-used: 16KiB[admin@Mikrotik] >
To test the connection, just use ping command to domain:

Activity (18)

You've already reviewed this. Edit your review.
1 hundred reads
1 thousand reads
Isna Aden liked this
pajro liked this
Remo Harsono liked this
Benny S Purba liked this
Muhammad Azam liked this
Hardika Irawan liked this
cersop liked this

You're Reading a Free Preview

/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->