Mikrotik and Telekom Malaysia UniFi Setup Using QuickSet - by arpee/soonwai
Contents
Introduction
This guide is for beginners to Mikrotik who are looking to setup their router for TM UniFi. Mikrotik RouterOS may look daunting to a newcomer but it's actually quite easy for a basic setup.
Before we begin, here is some information on UniFi. Some of it is technical but don't worry about it if you don't know what a VLAN is.
- UniFi is a FTTH service by Telekom Malaysia (TM). It delivers triple-play services via fibre or xDSL.
- It bears no relation to Ubiquiti.
- Authentication is by PPPoE username and password.
- Triple-play services are delivered via VLANs.
- VLAN id 500 for Internet.
- VLAN id 600 for HyppTV (IPTV).
- VLAN id 400 for VOIP.
- This guide is specific to UniFi but if your ISP uses a similar system (PPPoE and VLANs), the steps are kinda similar.
Step-by-Step Configuration - Internet
So let's start. We will configure the Internet first. Get the following ready:
- Your UniFi username which looks like myname@unifi or myname@unifibiz for business accounts.
- Your UniFi password which, if generated by TM, is usually a case sensitive 13 character alphamumeric string.
- The TM supplied UniFi BTU or Broadband Termination Unit which could be an optical network terminal (ONT) or a xDSL modem.
- A Mikrotik router.
To configure the router, we can use either:
- winbox which is a Windows app. I'll be using this for the guide. Get it from http://www.mikrotik.com/download
- or any modern web browser.
Default Configuration
One more thing before we start. This guide presumes a router with an out-of-the-box default configuration. This is very important so that we start on the same page and not get confused. If it's not, please reset the router to its default configuration before starting.
See Manual:Configuration_Management#Configuration_Reset or Manual:Reset on how to reset your router.
Connect the Cables
- Connect a cable from ethernet port 1 of the BTU to ethernet port 1 of the Mikrotik router. The port numbers are important.
- Connect a computer to ethernet port 2 of the router.
- Ensure that your computer is set to acquire an IP address automatically.
Login to the Mikrotik Router
Next, login to the router using either winbox or a web browser. The screenshots here are from winbox. Using a web browser looks similar. I think you'll figure it out.
(Imagine a screenshot of your browser's address bar or the winbox login screen)
Login to the Mikrotik router with the following: Default IP address: 192.168.88.1 Username: admin Password: (no password)
Quick Set
We'll use Quick Set to get a headstart on the configuration.
- Click on Quick Set.
- Set as Home AP and enter UniFi username & password*
- Select Home AP.
- Select PPPoE.
- Enter UniFi username and password.
- OK
VLAN
- Click Interfaces
- Click VLAN
- Create a new VLAN
- Give it a name e.g.: vlan500
- Set VLAN ID: 500
- Ensure Interface is: ether1-gateway
- OK
PPPoE
- Click PPP
- Double-click pppoe-out1
- Set Interfaces to vlan500
- OK
That's it.
Internet should be be working now.
Step-by-Step Configuration Part 2
HyppTV
[b]Next we'll setup HyppTV.[/b] For HyppTV we'll be using Ethernet Port 5. So plug your HyppTV Set Top Box (STB) into this port.
[url=http://imgur.com/8Kuz1iY][img]http://i.imgur.com/8Kuz1iYl.jpg[/img][/url] [b]Ethernet Port 5[/b] 1) Click Interfaces 2) Double click ether5-slave-local 3) Change Master Port to: none 4) OK
[url=http://imgur.com/IyokMLi][img]http://i.imgur.com/IyokMLil.jpg[/img][/url] [b]VLAN[/b] 1) Click Interfaces 2) Click VLAN 3) Create a new VLAN 4) Give it a name e.g.: vlan600iptv 5) Set VLAN ID: 600 6) Ensure Interface is: ether1-gateway 7) OK
[url=http://imgur.com/p3CyQoc][img]http://i.imgur.com/p3CyQoc.jpg[/img][/url][b]Bridge[/b] 1) Click Bridge 2) Create a new Bridge 3) Give it a name e.g.: unifi.iptv 4) OK
[url=http://imgur.com/HJG3wyF][img]http://i.imgur.com/HJG3wyF.jpg[/img][/url][b]Ports[/b] 1) Click Bridge 2) Click Ports 3) Add a port 4) Set Interface to: ether5-slave-local 5) Set Bridge to: unifi.iptv (that's the bridge that you just created above) 6) Add another port 7) Set Interface to: vlan600iptv 8) Set Bridge to: unifi.iptv 9) OK
And that's it. Remember that to plug your HyppTV Set Top Box (STB) into port 5. Switch on your HyppTV STB and enjoy.


