BILLYSOFTACADEMY

How To Setup Your Mikrotik Routerboard For The First Time (OOBE) Using The Winbox App.

How-To-Setup-Your-Mikrotik-Routerboard-For-The-First-Time-OOBE-using-Winbox_-1024x741
A Router Is A Networking Device That Forwards Data Packets Between Computer Networks. Routers Perform The Trafic Directing Functions On A Private LAN Network, Internet Service Provider Network (ISP) And The Internet. Mikrotik Is A Company That Produces Network Routers And In This Tutorial You Will Learn How To Configure A Mikrotik Router. There Are 3 Basic Ways To Setup Any Mikrotik Router For The First Time (Out Of The Box – OOBE) And These Are : 1) Winbox First Time Startup And Configuration. 2) Webfig First Time Start Up And Configuration And 3) CLI First Time Startup And Configuration. The Goal Of This Tutorial Is To Show You How To Setup Your RouterBoard For First Time Using All 3 Methods.

REQUIREMENTS

In order to complete this tutorial successfully the following items are required. Please ensure to have these items available before taking implementation action on this tutorial :
1) 1 x Basic Laptop or desktop Computer.
2) 1 x Mikrotik Routerboard.
3) 1 x RJ45 Cat5 or Cat6 Network Cable.
4) The Winbox utility.
5) Putty SSH and TELNET client.

OVERVIEW

1) Power on the Mikrotik router, connect and ethernet cable to ETHER2 and log into the router using the default admin account.
2) Configure the Mikrotik router using the QUICKSET page
3) Configure the router system date & time, router identity and set a password for the router admin account.
4) Learn how to configure a Mikrotik router using the NON QUICKSET method
5) Learn how to configure a Mikrotik router for the first time using WEBFIG and using a command line interface.

Step 1 : Connecting And Logging Into The Mikrotik Router

MikroTik RouterOS is configured by default with the IP address 192.168.88.1 when it is new and powered on for the first time or when you do a factory data reset on the router. Winbox can connect to this IP address or through the MAC address of the mikrotik router however it is recommended to always perfom configuration operations using an IP address.
BILLYSOFY-ACADEMY

The QUICKSET option in the Winbox Utility is one of the fastest ways to get up and running with your mikrotik device. Follow the steps as show in the image.

1) Select the desired operation mode in this case we select ROUTER
2) Select the port you would to use to access the internet i.e ETHER1
3) Select ISP address aquisition method, if you select STATIC enter the static IP address assigned to you by your ISP. If you select Automatic RouterOS will obtain internet IP configuration automatically and if you select PPPoE configure your PPPoE username and password assigned by your ISP.

Head over to www.mikrotik.com to download the Winbox utility if you havent already done so. Proceed to open the Winbox utility, a login page will be displayed as show in the image.

1)Connect your Routerboard to a power source, connect an RJ45 ethernet cable to ether2 and the ethernet port of your laptop / desktop.

2) If your connection is successful Winbox will automatically detect all connected Routerboard devices as shown in the image, if you do not see your routerboard device try to click the refresh button under the neighbours tab or try to power cycle your routerboard.

3) Ensure that the ethernet adapter on your laptop / desktop is operational, set to DHCP and that there is no active firewall blocking communications.Double click on the IP address or MAC address to populate the CONNECT TO Field and enter admin on the LOGIN field and leave the PASSWORD field empty. Proceed to click the CONNECT button.
4) Next, configure the Local Area Network (LAN) settings. Enter your desired LAN address i.e 192.168.88.1 , subnet mask 255.255.255.0 in the fields provided as shown in the image. Next tick the DHCP Server check box to allow devices that connect to your LAN to be provisioned with an IP address automatically. Configure your desired client DHCP range i.e 192.168.88.10 – 192.168.88.254 5) Finally tick the NAT check box , this will enable network address transalation for your LAN.
BILLYSOFY-ACADEMY-1024x576

Step 4 : Basic Configuration (Identity , Date And Time, Login Password

The final step in configuring your new Routerboard is to setup a system identity, configuring date and time and well as setting up a secure login Password.

1) As show in the image go to SYSTEM > PASSWORD the password CHANGE dialog will be displayed leave the Old password field empty and add your new password in the NEW PASSWORD AND CONFIRM PASSWORD FIELDS. Click the CHANGE password button to apply your new Password
2) Go to SYSTEM > IDENTITY and add any name you would like as the RouterOS identifier, click OK and then APPLY.

BILLYSOFY-ACADEMY-3-1024x576

Step 5 : Basic Configuration (Non Quickset Method)

If you prefer to configure your RouterBoard Step By Step to allow you to make more detailed changes and adjustments you can follow these steps :

1) The first step is to go to the SYSTEM > USERS page and click on ADD NEW to create a new username and choose full option from Group dropdown menu also add a strong password in the password field. Enter the same password in the password confirm input box. Click apply and close. Highlight the builtin admin account and click remove. Logout and login using your newly created credentials.

2) Next Go to the IP > Addresses page. Click on default IP address. Now put a desired LAN address i.e 192.168.1.1 /24 in the address field click Apply and OK button.

3)Next Go to IP > Address page and click on the Add New button. In New Address page add a static IP address that your ISP provided i.e 197.103.65.4/32 in Address input field, choose ether1 and Click on Apply and OK button..

4)Next Go to IP > Firewall and click on NAT tab. Click on Add New button. Under the General panel, choose srcnat from the Chain dropdown menu. Go to Action panel and then choose masquerade from Action dropdown menu. This configures Network Address Transalation for your LAN. Click on Apply and the OK buttons. 5)Next Go to IP > DNS page and configure the DNS servers IP (8.8.8.8 and 5.11.11.11) in Servers input field (You can specify any other known DNS servers depending on your ISP and region. Click the ALLOW REMOTE REQUEST check box then Apply and OK buttons. 6)Finally Go to IP > Routes page and click on the Add New button. In New Route page, click on Gateway arrow button and configure your ISP Gateway IP address this will allow your routerboard to forward allow internet bound traffic to this address

Step 6 : Basic Configuration Using Webfig Quickset

1) WebFig is a web based utility which makes it possible to monitor, configure and troubleshoot a Mikrotik Router as an alternative to WinBox..

Gaining access to Webfig is aa simple process as long as if the HTTP service is not disabled in RouterOS. To access Webfig, launch your favourite web browser and in the web browser search bar enter the LAN IP address of your Mikrotik Router.

BILLYSOFTACADEMY.COM-WEBFIG1

2) Once the Webfig page loads in your browser enter your routeros username and password on the “LOGIN” and “PASSWORD” fields and press the “LOGIN” button. Once logged in the Webfig configuration dashboard will be displayed.

3) Select the “QUICK SET” button at the top of the page.
4) Select the desired operation mode in this case we select ROUTER
5) Select ISP address aquisition method, if you select STATIC enter the static IP address assigned to you by your ISP. If you select Automatic RouterOS will obtain internet IP configuration automatically and if you select PPPoE configure your PPPoE username and password assigned by your ISP.

image_2022-04-05_192603554

6) Under the “LOCAL AREA NETWORK FIELD” enter the IP address you would like to assign to your mikrotik router in the “IP ADDRESS” field.
7) Enter the subnet mask you would like to use in your LAN i.e 255.255.255.0
8) Select the “DHCP SERVER” check box if you would like to use your mikrotik router as the DHCP server for your LAN.
9) In the “DHCP SERVER RANGE” field enter the range of ip addresses you would like to be assigned to your LAN devices i.e 192.168.88.10 – 192.168.88.20.
10) Finally select the NAT check box to enable network address translation for your LAN.
11) Remember to add a RouterOS password protect your router by going to “WEBFIG > SYSTEM > PASSWORD”.

BILLYSOFTACADEMY.COM-WEBFIG21

Step 7 : Basic Configuration Using The RouterOS Command Line Interface

12) A Mikrotik router can be configured using a command line interface. To gain access to the mikrotik command line interface download and install the putty SSH and TELNET client HERE.
BILLYSOFTACADEMY.COM-WEBFIG22 (1)
13) Open the putty application and enter the IP address of the mikrotik router in the “HOST NAME (IP ADDRESS) text input field. The port setting should be set to 22 and the connection type should be set to SSH. Click on the “OPEN” button to proceed.
image_2022-04-05_192313481
14) Enter the username “admin” on the “login as” prompt and press enter twice. There is no password when setting up a new mikrptik router and it is recommended to change the username and password when setting up the router for the first time.
BILLYSOFTACADEMY.COM-WEBFIG26

15) Next, To view users that are currently on the router run the following command:

user print

Change the default username “admin” to different name. A custom name helps to protect access to the mikrotik router. To do this run the following commands:

user add name=yourusernamename password=yourpassword group=full

Remove the default admin user by running the command:

user remove admin

BILLYSOFTACADEMY.COM-WEBFIG27

16) Next exit out of putty and login user the newly created username and password.

Give the router a name that you can use for identification purposes by typing in the command:

system identity set name=YOUR-MIKROTIK-ROUTER-NAME

Add an IP address for the LAN interface i.e ether2 by typing in the command:

ip address add address=192.168.1.1/24 interface=ether2

How-To-Setup-Your-Routerboard-For-The-First-Time-OOBE-using-Winbox

17) Add a DHCP server so client LAN devices can obtain an IP address from the router automatically by using the built in DHCP server setup wizard.

Type in the command :

ip dhcp-server setup

and enter the details specific to your network on the appropriate sections.

How-To-Setup-Your-Routerboard-For-The-First-Time-OOBE-using-Winbox1

18) The final step is to add an IP default route that will point internet bound traffic to gateway IP address. To do this run the following command :

ip route add gateway=192.168.55.252

How-To-Setup-Your-Routerboard-For-The-First-Time-OOBE-using-Winbox2