Tuesday, April 14, 2009

Mikrotik 1

I write this not intend to teach readers. I just want to write down what I was doing. I just wanted to write a journal of what I was doing in the run my job.
One is maintaining internet network in my office. Here are some steps that I have been doing. I writing about this Mikrotik in any posts, spareted on the level of interest.
This first paper on the basis that Mikrotik can act as a router that connect local network with the Internet. At the office I have an internet connection from jardiknas.
The computer that I use for this server does not need to have a high spesivikasi.I only ngunakan computer that has a normal 2 LAN Card. Why 2? 1 for connection to jardiknas, and one to the local LAN network. After setting up the computer that will be used to make our server install (recommended to install all the facilities that provide Mikrotik) system to the server.
Cara intalnya sangat mudah, kita tinggal menjawab perintah-perintah yang disajikan. Very simple way to install, we live the commandments, which are presented. After the install is complete we can start setting as follows:

IP address for access to the LAN:
> /ip address add address=192.168.0.2 netmask 255.255.255.0 interface=BPMLAN
if the settings are correct, we can ceck local network with ping
(to read the tips here first)

IP address untuk akses ke jalur 1 : IP address for access to the 1:
> /ip address add address=118.98.xxx.xxx netmask 255.255.255.248 interface=Jardiknas

Specifies the gateway rasionya with each:

> /ip route add gateway=118.98.xxx.xxx
In this case the server can ping to external address eg ping 202.155.0.10
Specify the firewall to its nat
> /ip firewall nat add action=masquerade outinterface=Indosat chain: srcnat
> /ip firewall nat add action=masquerade outinterface=Jardiknas chain: srcnat
In this case the client can ping external address eg ping 202.155.0.10

Specify the DNS server
> /ip dns set primary-dns=202.155.0.10 allow-remoterequests=no
> /ip dns set secondary-dns=202.134.1.10 allow-remoterequests=no
Adjust with the DNS provider you use
In this case the client can ping the external address eg ping www.yahoo.com

And the server can be used as an internet gateway, and client should be connected to the local network can connect to the Internet.Indeed, this new server in a simple setting, so I just internet sharing only. For other settings I will pour any posts in the next.

Setting Client Client Settings
Ip : 192.168.0.1-192.168.0.255
Subnetmask : 255.255.255.0
Gateway : 192.168.0.2

Adjust with the DNS provider you use

Tips:
If you are (I) less like a text mode with the base. After install ip settings and local settings, we can do with the use.

Connect LAN server to local network.
Clien run the network and enter the address corresponding to the web browser.
Then you can download the program winbox.
Run winbox in the client computer.
Set the Mikrotik server with the window mode.

Share |

Related Post


1 comments:

Tyas said...

not bad in english but good post!

Post a Comment