Researching on the interwebs on the topic of setting up a custom router (non-maxis issued) with the Maxis fibre service yields several guides that are outdated, inaccurate, ambiguous, in long forum threads (yes..that forum with the kopitiam) and/or lacking on all the key details.

Since, 2016, this post has been updated several times. This post is written implicitly with the sole purpose for shedding light on key required information for custom router configurations and NOT as a-step-by-step / how-to guide / tutorial for every concieveable make and model of third party routers in existance.

Long story short, I managed to get Maxis Fibre working with my custom router with VoIP after getting some unofficial help from a friend at Maxis. So, this is a shoutout to that person: Many thanks!

Disclaimer

The following information provided in this post is intended to be used by a technically inclined person whom is able to understand the technical details described here. The use of a third party router is not officially supported by Maxis and Maxis is unable to remotely configure/’fix your mistakes’, manage or update your third party router should there be any firmware/security fixes available.

YOU (yes..you - the one reading this: the person setting up the third party router) are assumed to be responsible for the maintaining, configuration and security of the hardware you own/adminster. All infomation in this post is provided as-it-is WITHOUT any support.

TL;DR (in short) You are assumed be knowledgeable enough to understand the rest of this post and the implications of your actions. You will be responsible for your own hardware and will recieve NO support from Maxis nor me, the author of this post.

Requirements

The knowledge / technical ability to understand and use the infomation below, as no support will be given as stated in the disclaimer above.

A capable router with IEEE 802.1Q / VLAN tagging hardware and software support is required.

Most consumer routers that is adverstised as ‘unifi/maxis/time fiber compatible’ is already doing VLAN tagging, as most/if not all of the Malaysian fiber ISPs are using vlans for their networks.

The difference lies in the firmware these devices are using. Most of the home/consumer routers have one or two of the defaults like vlan 621 hardcoded in the firmware but does not allow the addition of more vlans (at least not in a consumer friendly way).

A commercial/business class managed switch ; or the use of opensource firmware (eg. openWRT, ddWRT, tomato,* etc) for capable consumer routers is recommended to properly configure vlan tagging.

The key essentials:

##For Maxis Fibre on TM (HSBB) Infrastructure 
VLAN VID `621` #for internet (PPPoE)
         `822` #for VoIP/SIP
         `821` #for TM management network (Maxis Fibre using TM infrastucture)
         `823` #for Broadband TV/IPTV service

##For Maxis Fibre on Maxis Infrastructure
VLAN VID `11` #for internet (PPPoE)
         `14` #for VoIP/SIP
         `6`  #for Maxis management network (Maxis's own fibre infrascructure)
         `17` #for Broadband TV/IPTV service

Fast forward 2018, the key essentials are no longer a ‘secret’ (I had to ask my network engineer contact at Maxis back in 2016 for this back then) as the stock Maxis issued Archer C5v on it’s admin page, has in plain view, all the key information above.

Below: Screenshot from my Maxis issued Archer C5v for Maxis Fibre on TM (HSBB) Infrastructure

Maxis fibre TP-Link Archer C5v admin page configured for TM infra

Below: Screenshot courtesy of Afifi of his Archer C5v for Maxis Fibre on Maxis’s own infrastruture

Maxis fibre TP-Link Archer C5v admin page configured for MX infra

-

Post change log

April 2020 - Post reorder; addition of disclaimer, requirements, etc.

Jan 2019   - Key essentials updated w/ screenshot of Archer C5v configured 
              for Maxis Fiber on Maxis's own fibre infrastructure.

Oct 2018   - Maxis issued router TP-Link Archer C5v; vlan config details, 
              key essentials updated.

Jan 2018   - Post reorder.

June 2017  - Voip section was edited for clarity/simplification.

Dec 2016   - Original post.

-

Original post below; preserved for historical reference

(Dec 2016)

I used the Asus RT-AC66U router running the Tomato firmware (v1.28.0510.6 MIPSR2Toastman-RT-AC K26AC USB VPN) for the Maxis fibre (FTTH) service in a TM/Unifi (HSBB) area.

The details: Here’s how it connects physically, the ethernet connection out of LAN2 (standard for UniFi/HSBB configured networks) from the optical network termination, (ONT), aka fibre modem, eg. Huawei EchoLife HG8240w; connects to the WAN port of the custom router. The custom router handles the Internet connection via PPPoE using Maxis provided username and password.

(optional) Should want to use the VoIP service provided, tagging traffic on a LAN port (of your choosing) and the WAN port on your router with vlan id 821, 822. This allows the VoIP traffic to pass between LAN port and the WAN port, and no where else. I used the Maxis issued Technicolor TG784nv3 router to handle the VoIP connection. The Maxis router’s WAN is plugged into the designated LAN that you have chosen. No additional configuration is needed in the part of the Maxis issued router, the modem as configured by the service technician will work fine.

Advanced VLAN setting in tomato's webUI

Notes: Screenshot above, in this older version of tomato, there is a minor bug: the ethernet ports on the VLAN page is numbered in reverse in firmware from the physical markings on the router. (eg. plugged physical ethernet cable into LAN4 port on the router, configure for the LAN1 port on the VLAN page as in image above). Newer subsequent version of Tomato based router firmware has this issue fixed.

PS: I’ve upgraded from the tomato router to an EdgeRouter X, perhaps I’ll post an updated config for the ERX for maxis in a future post.