MikroTik RouterOS ™ is an operating system and which can be used to make computers even become a reliable network routers, covering the full range of features for network and wireless.
Following steps to create a Mikrotik Router:
Install the Mikrotik OS :
- Prepare a PC, a minimum specification Pentium I, 64 RAM, 500MB HD.
- On the server / PC must have at least 2 ethernet, one outward and one more to the local Network.
- Download Mikrotik here.
- Burn Source CD Mikrotik OS and input into the CD-ROM.
- Boot from CD-ROM.
- Follow the instructions.
- Install the main package, much better way to mark all packages.
- After all packages marked for install then press “I”.
- After the install done, restart the PC login display will appear.
Basic Mikrotik setting :
The initial steps of all steps is setting the IP configuration mikrotik It aims to be at a remote mikrotik and with Winbox and allows us to perform a variety of configurations.
Login as admin with the default password should not be filled immediately enter.
Step Setting MikroTik TEXT
Let’s start with the assumption that the install process was successful
- Install OK
- Setting eth1 IP 222.124.xxx.xxx (from ISP)
command:
ip address add address=222.124.xxx.xxx
netmask=255.255.255.xxx interface=ether1 disable=no
The IP is a public IP / IP existing Internet connection - Setting The IP eth2 192.168.1.254
command:
ip address add address=192.168.1.254 netmask=255.255.255.0 interface= ether2 disable=no
This IP is Your Local IP
Now do a ping to and from another computer, after connect proceed to the next step, if not repeat from step 2. - Gateway settings
command:
ip route add gateway=222.124.xxx.xxx (dari ISP) - Settings Primary DNS
command:
ip dns set primary-dns=203.130.208.18 allow-remote-requests=yes (dari ISP) - Setting Secondary DNS
command:
ip dns set secondary-dns=202.134.0.155 allow-remote-requests=yes (dari ISP) - Setting Routing masquerade to eth1
command :
ip firewall nat add chain=srcnat action=masquerade out-interface=ether1
For the last ping test to the Gateway / to yahoo.com, if you connect itMikrotik dah ready to use. - DHCP settings
DHCP for Ethernet 2, namely his use its Private IP
192.168.1.1-192.168.1.253
/ip pool add name=dhcp-pool ranges=192.168.1.1-192.168.1.100
/ip dhcp-server network add address=192.168.1.0/24 gateway=192.168.1.254
Determines the output interface the DHCP
/ip dhcp-server add interface=ether2 address-pool=dhcp-pool enable 0
0 comments:
Post a Comment