Ads 468x60px

Pages

Selasa, 06 Agustus 2013

How to Make Router Using Mikrotik

By using a fairly minimal computer specifications, eg, Pentium I, 1-2 GB hard disk, 64 MB memory, without a mouse, keyboard or monitor, if Mikrotik is the way, we just need to Mose, the keyboard and the monitor during installation only. so we can make a router with minimal funds, rather than equipment we buy a router that can be millions of dollars expensive. Let us begin the installation, before you have to have Mikrotik file that can be downloaded from its website www.mikrotik.co.id. How to make use mikrotik routers are as follows:
Before installation make sure the computer will be installed Mikrotik OS has 2 Lan Card, for the specification of hardware that will be used, you can see the reference in http://mikrotik.com

- * Boot from CD ROM

Select the packages to be selected, for the needs of Proxy Router + + Bandwidth Management, should you choose:

- System

- DHCP

- Advanced Tols

- Routing

- Routing Test

- Security

- Synchronous

- Web Proxy

- Web Proxy Test


After selecting the required packages press the "i" to start the installation.


- It would appear the words "Do you want to keep ...............", choose n (no)

- Then "Continue .....", select y (yes)

Begin to create partitions and format the hard disk, after installation of the packages that had been selected.

When finished, ask Mikrotik on reboot by pressing enter.

After booting, the command appears to check your hard disk, you can select yes or no, select no also does not matter if you are unsure of free hard disk bad sectors.


You are prompted to login, type admin on:

MikroTik Login: admin

to fill in a password just press enter, because the password is still blank on new installations


- Dou you want to see ...................., select no, to speed up the process, the console will appear Mikrotik, namely:


[Admin @ MikroTik]>

To change the machine name of this Mikrotik, type:

[Admin @ MikroTik]> system identity set name = mywifi

Then the console changes to:

[Admin @ mywifi]>

Changing the password mikrotik machine, type the password =

[Admin @ mywifi]> password

old password (blank type, if you have not previously set a password

new password: new-type the password ............................()

Retype new password :................ (Enter the password again)

To turn off the Mikrotik we simply type the following

[Admin @ mywifi]> system shutdown

[Admin @ mywifi]> system reboot (to restart it)

[Admin @ mywifi]> system reset (to reset the configuration that you created earlier)

The commands above should be done in the admin directory.


After that you need to activate a second LAN card installed, with a sample command below:

[Admin @ mywifi]> interface enable ether1 ethernet

[Admin @ mywifi]> ethernet interfaces enable ether2

If the error sign appears, there are two reasons:

The first: There is a possibility of a LAN card installed, damaged

The second: The driver of the LAN Card has not been supported by MikroTik

To see both mounted LAN Card (if already completed two), type .............

[Admin @ mywifi]> ip address

[Admin @ mywifi] ip address> print interface (or command can be abbreviated to "in pr")

Then arose a second LAN card, note the console above indicates we have been in the directory ip address


Based on the monitor display first Mikrotik LAN Card named "ether1" ether1 which is later connected to the Public IP / Internet LAN Card are both named "ether2" is connected to the IP Local / Local LAN, then we give the ip address on each LAN Card, with the command / command as follows:

[Admin @ mywifi]> ip address

[Admin @ mywifi] ip address> add interface = ether1 address = 172.16.0.254/24

[Admin @ mywifi] ip address> add interface = ether2 address = 192.168.1.254/24

To find out the result type:
[Admin @ mywifi] ip address> print

See the results in the image above. to ascend to a higher directory type a colon "..", or "/" to the admin directory, which is the highest directory.

Then we fill the gateway IP address of LAN card first, which is where we get internet access

[Admin @ mywifi]> ip route add gateway = 192.168.1.1

Next we fill the DNS ip address, fill in the appropriate recommendations from your ISP, for example:

[Admin @ mywifi]> ip dns set primary-dns = 202.134.1.7

admin @ mywifi]> ip dns set secondary-dns = 202.134.0.155


So that all client computers in a LAN can browse the internet faster with just taking the DNS cache in Mikrotik router, so the client computer is not far-distant berlu DNS resolves the ISPs DNS servers, then the MikroTik Router should be set in order to perform DNS cache storage

[Admin @ mywifi]> ip dns set allow-remote-requests = yes

But all the client computer, the IP Address setting its primary DNS filled column, with its IP Address Router Mikrotik, for his secondary DNS leave it blank. Note also the image above if we are wrong in typing a command, it will display a warning

"No such argument".


Next we set the machine so that we can be a MikroTik router

[Admin @ mywifi]> ip firewall nat

[Admin @ mywifi] ip firewall nat> add chain = srcnat arc-address = 192.168.1.0/24 out-interface = ether1 action = masquerade

We see the results

[Admin @ mywifi] ip firewall nat> print

See the results on your monitor. to ascend to a higher directory type a colon "..", or "/" to the admin directory, which is the highest directory.

Then we fill the gateway IP address of LAN card first, which is where we get internet access

[Admin @ mywifi]> ip route add gateway = 192.168.1.1

Next we fill the DNS ip address, fill in the appropriate recommendations from your ISP,

[Admin @ mywifi]> ip dns set primary-dns = 202.134.1.7

[Admin @ mywifi]> ip dns set secondary-dns = 202.134.0.155

So that all client computers in a LAN can browse the internet faster with just taking the DNS cache in Mikrotik router, so the client computer is not far-distant berlu DNS resolves the ISPs DNS servers, then the MikroTik Router should be set in order to perform DNS cache storage

[Admin @ mywifi]> ip dns set allow-remote-requests = yes

But all the client computer, the IP Address setting its primary DNS filled column, with its IP Address Router Mikrotik, for his secondary DNS leave it blank. Note also the image above if we are wrong in typing a command, it will display a warning

"No such argument".

Next we set the machine so that we can be a MikroTik router

[Admin @ mywifi]> ip firewall nat

[Admin @ mywifi] ip firewall nat> add chain = srcnat arc-address = 192.168.1.0/24 out-interface = ether1 action = masquerade

We see the results

[Admin @ mywifi] ip firewall nat> print


Well at this early stage we can already make a Mikrotik Router, in order to know the results we ping test (for the command "ping" this must be done at the highest directory in the directory "admin") to the client computer from the router Mikrotik us, when it appears in the process ping were the words "ping time out" or "host unreachable" then we do not succeed to connect, try again at a setting carefully or thoroughly well mikrotik ip address configuration on the client computer, then try the same ping the Internet address of the client computer or browsing from the client computer, if successful then succeed in our task to make Mikrotik Router.

Related Posts by Categories

0 komentar:

Posting Komentar