r3m1ck official site

The ordinary boy who like to programming java,programming python,developer a desktop application,mobile application,web designer

How to build MikroTik for Gateway

Posted by admin On July - 10 - 2011 Views: 9,334

MikroTik for Gateway

MikroTik for gateway is one of implementation which most using in internet cafe as router internet cafe. MikroTik must have at least 2 LAN card for interface on local and on of them for gateway interface. Okey , this is how to build MikroTik for gateway, first I will give some information to do the configuration.

1. Public IP : 209.85.175.1
2. Gateway : 209.85.175.100
3. DNS 1 : 209.85.175.200
4. DNS 2 : 209.85.175.201
5. PC 1 : 192.168.1.10

Client Configuration

For client configuration, here we assumption client using windows OS , ok , lets start from Start -> Setting -> Control Panel , and Choosing Network Connection, choose Internet Protocol(TCP/IP) and click properties.

fill IP address with 192.168.1.10 and for gateway fill with IP address router, and the last fill Preferred DNS server and Alternate DNS server with DNS 1 and DNS 2 like from information.


Sponsored links


Configuration on Router

As default ether1 or in this cases we will change ether1 to local have default ip address 192.168.88.1/24 , that`s why on PC 1 we fill 192.168.88.1 on default gateway, if you change this ip address you must change default gateway on client configuration too.

Gateway Configuration

command to give gateway in mikrotik is ip route add gateway=ip-gateway , If gateway have been added so all of packet from IP will redirect into gateway with router interface.

DNS Configuration

DNS is using to translate ip address into domain address and from domain address into ip address. ISP will give you 2 DNS to be setting on DNS configuration, primary DNS and secondary DNS.

command : ip dns set servers=dns1,dns2
ip dns set servers=209.85.175.200,209.85.175.201

NAT Configuration

What is NAT? NAT is Network Address Translation, this function is to forwarding packet from source ip address to destination ip address or from destination ip address to source ip address.
there are 2 kinds of NAT , source NAT (srcnat) and destination NAT (dstnat).

End of concept

Checking all connection with ping command from client and from router :D
happy working with MikroTik

Tags: ,

Facebook Comments

Leave a Reply

 

Mass WordPress hijack poisons Google Image well

Hackers are abusing thousands of independent WordPress sites to litter Google Image search results with code that redirects users to servers that attempt to infect them with malware. According to a report posted Friday, Russian researcher Denis Sinegubko identified 4,358 WordPress blogs that combined popular Read the Rest…

Set Up your domain mail with google applications

Ok, meet me again, the most handsome boy in Kebumen,, bwahahahaa… today i want share with all of you how to make email with your domain with google apps. Mail with our domain? yess…. the example is your-name@your-domain.com , like that.. the way is simple. Read the Rest…

7-Zip 9.19 Beta (32-bit)

7-Zip is a file archiver with a high compression ratio. The main features of 7-Zip are: High compression ratio in new 7z format with LZMA compression Supported packing / unpacking formats: 7z, ZIP, GZIP, BZIP2 and TAR Supported formats for unpacking only: ARJ, CAB, CHM, Read the Rest…

Classic Chair in Vibrant Colors

Louis XV Upholstered Ribbon Chair by Dransfield and Ross is one of those pieces of furniture that nobody will be indifferent to. It has the classic shape but its upholstery is done in modern vibrant, even acidic, colors. Such chair would fit perfectly modern monochrome Read the Rest…

Change search permalink from plus into minus (2)

Ok last time I was give a tutorial about how to change search permalink plus into minus, now I will give a nice plugin to change your search query and change the plus into minus, here is the plugin View Code PHP<?php /* Plugin Name: Read the Rest…

Fans Box

  • Donate Me :)

  • Web Statistics