Memelihara waktu dalam Mikrotik


Untuk memudah melihat masa sebenar tercetaknya rekod log pada mikrotik, router RB750gl perlu memelihara waktu yang tepat. Kerana RB750gl tidak mempunyai bateri untuk mengingat waktu jika dimasukkan secara manual di >system/clock, maka cara yang lebih mudah ialah menyelari waktu pada RouterOS mengguna fungsi NTP clock.

>System/clock memudahkan router mengesan tarikh dan waktu terkini dengan tepat. Protokol NTP membolehkan host pada rangkaian untuk menyelari waktu. Senarai IP NTP server untuk Malaysia boleh diperolehi di laman http://www.pool.ntp.org/zone/my.

Kita kemudian membuat ping ke my.pool.ntp.org untuk mendapat IP address

2. Masukkan IP address NTP server . Boleh juga terus menaip my.pool.ntp.org ke dalam ruang ip address.
3. Enables dan pilih unicast

4. Untuk melihat waktu dan tarikh kita pergi keMenu
system/clock

5. Pilih Timezone Name ‘ Asia/Kuala Lumpur’.

6. Untuk mengesah data input kita tadi boleh menaip /system ntp client pada terminal

Router RB750gl anda sekarang akan sentiasa diselari dengan NTP Server setiap kali router tersambung internet.

rujukan : http://wiki.mikrotik.com/wiki/Setup_local_NTP_servers

Mikrotik configuration for Unifi broadband

My first example, configuring RB750GL router to replace D-Link router supplied by TM with its UNIFI package.

RB750GL is a 5 ports, low cost SOHO router produced by MikroTik. It’s rich in functionality includes advanced routing and networking features,comparable to that of enterprise class router at a fraction of the cost.

RB750GL is powered by Mikrotik RouterOS software, it’s features includes: VLAN, routing, firewall, bandwidth management, hotspot gateway, VPN and many more. We will explore the advance functionality as we move along. That’s one of the reason I am replacing the D-Link router.

My configuration for Unifi setup.

1. Ether1 as WAN port ( connected to BTU-Broadband Termination Unit)
2. Ether2 for IPTV connection
3. Ether3, Ether4, Ether 5 – LAN port to desktop

First thing first
We need to download the remote GUI configuration tool, WinBox, to configure our router. Alternatively you can also used the web based configuration tools or command line but in this article we’ll used the gui tools instead, which provide a quicker access to setting. The web interface/command line are organized very similar to the winbox menu.

Mikrotik dowload page is where we can download RouterOS latest software upgrades, and other free tools.

winbox

Winbox

Configuration using WinBox

1. Plug your computer/laptop into the Ethernet adapter 2 of the router.
2. Configure your computer’s network card with a static IP that’s within the same subnet as the router.
3. I am using 192.168.88.2 for my desktop, my default router IP on ether2 is 192.168.88.1.
4. Open WinBox, type in Connect To: the IP of the RouterOS, , by default the router username: Admin, no password and hit Connect button.

You should see this, meaning you are now connected to the router

Connected to Router

TM Unifi is using VLAN 500 for Internet service and VLAN 600 for IPTV service.

We’ll now create our VLAN interface for the service