sinet.com.kh

Wednesday, July 20, 2016

Mikrotik Router Static IP Configuration

1. Comment Interface   

    Interfaces > Interface (Tab) > ether1 (Double Click)

           +General (Tab)

                  -Name: ether1-WAN   

    Interfaces > Interface (Tab) > ether2 (Double Click)

           +General (Tab)

                  -Name: ether2-LAN

2. Create Bridge

    Bridge > Bridge (Tab) > (+) 

           +General (Tab)

                  -Name: bridge1 (Name_Of_Bridge)

           +STP

                  -Protocol Mode: rstp

3. Configure IP Address for WAN and LAN

    IP > Addresses > (+)

           -Address: 203.217.170.30/24

           -Interface: ether1-WAN

    IP > Addresses > (+)

           -Address: 192.168.1.0/24 

           -Interface: bridge (Name_Of_Bridge)

4. Configure DNS Server

    IP > DSN > Servers: 203.217.168.27

                                        203.217.168.36

5. Configure DHCP Server

6. Configure Static Route

    IP > Routes 

           +Routes (Tab)

                  -Gateway: 203.217.170.1

7. Configure NAT

    IP > Firewall > NAT (Tab)

           +General (Tab)

                  -Chain: srcnat

           +Action (Tab)

                 -Action: masquerade

8. Add Port to Bridge

    Bridge > Ports (Tab) > (+)

           +General (Tab)

                  -Interface: ether3 (Choose Interface that you want to add to Bridge)

                  -Bridge: bridge1 (Bridge_Name)

9. Create Queue to Limit Bandwidth Usage

    Queues > General (Tab)

           -Name: PC1                           //Client_Name

           -Target: 192.168.1.245          //Client_IP_Address 

           -Target Upload: 2M              //Client_Speed_Upload

           -Target Download: 2M         //Client_Speed_Download

+Note: we can use script to create Simple Queue in MikroTik. It's easy and faster.

 

End 

No comments:

Post a Comment