IPTV on Bamboo with a Mikrotik router

Getting to work an IPTV decoder on a POST Bamboo access with a Mikrotik router instead of Fritz!Box has been one of my long time challenges that I never got around. But finally I got it done, here is how to reproduce it.

I used ether1 port on the Mikrotik to connect to the GPON network termination unit (NTU). As POST uses VLAN 35 as the transport VLAN, i created a vlan interface on top of ether1.

The interface IPTV is a bridge as I distributed IPTV to a VLAN present on several interfaces.

/interface vlan
add interface=ether1 name=ether1.vlan35 vlan-id=35

You will have to run the PPPoE session on top of this, but this post is about IPTV so let’s continue there. Next is to give the IPTV upstream port a source address.

/ip address
add address=10.10.10.10/24 interface=ether1.vlan35 network=10.10.10.0

This is the same IP address used by the Fritz!Box.

I dedicated ether8 port for the IPTV decoder. So you will have to add an IP address and DHCP server to that port.

/ip address
add address=192.168.188.1/24 interface=IPTV network=192.168.188.0
/ip dhcp-server
add address-pool=IPP-IPTV authoritative=yes disabled=no interface=ether8 lease-time=1d name=IPTV
/ip dhcp-server network
add address=192.168.188.0/24 gateway=192.168.188.1 ntp-server=%%%add IP address(es) of NTP server(s)%%%
/ip pool
add name=IPP-IPTV ranges=192.168.188.100-192.168.188.199

Please go to the NTP Pool to find ntp-server addresses.

Finally you will have to add an IGMP-Proxy that proxies from ether8 to ether1.vlan35

/routing igmp-proxy interface
add alternative-subnets=0.0.0.0/0 interface=ether1.vlan35 upstream=yes
add interface=ether8

And that’s all you have to do. Enjoy.

Thanks to my friend David for the indispensable help.

This setup was realised on a POST Bamboo access line with a Routerboard CCR1009-8G-1S-1S+ running RouterOS 6.38. This setup is for “Mono VC” (mono virtual channel, or single VLAN) access lines only.

13 thoughts on “IPTV on Bamboo with a Mikrotik router”

  1. Hi,

    I was wondering if you have tried skipping the NTU by using a mikrotik GPON ONT module ?
    Any idea if this might work in .lu ?

    1. Yes tried it once very briefly, unfortunately I had no luck and it did not work out of the box. I have admit I just did a plug-a-see-what-happens test, I had no time to verify any specifics.

    1. The STP still works fine. I don’t have physical access to the network where I’m testing IPTV for the next few weeks.

  2. Concerning the Gpon module, afaik you have to register the Module with your provider.
    (Don’t know how this works (Serial?) and if .lu providers accept this)
    Plug’n “play” does not work -> test NOK!

  3. Awesome!

    Running Bamboo + IPTV on Mikrotik CRS328, FW 6.47.2!

    -> Now investigating for GPON Transciever to get rid of the ONT 🙂
    If ONT is registred with MAC, then:
    /interface ethernet set sfp-sfpplusX mac-address=XXX
    should do the job?

    The ONT is programmed to only accept clients on port 2 (4 total) so I suppose it is just used to get from Fiber to Ethernet, without switching?

    Everybody welcome to get this running together. (EN, GER, LU, FR)

    1. I halted my tests to replace the ONT with SFP-ONT. Anyway, ONTs with 4 copper Ethernet interfaces are designed to support up to 4 customers, so these ONT have additional configuration to separate those 4 customers.

      At my dayjob we are now slowly moving customer from GPON to dark fiber (1 single strand using a BiDi SFP), so there is no need for an ONT anyway.

  4. Salut Marc,

    ech weess net op d’d’Kommentaren op dengem Blog nach funktionéieren, ech kréien ob allefalls keng méi ugewisen. Den Kontakt Formulaire ass och futti: den Google ReCaptcha check failed well einfach keen ugewise gëtt.

    Ech hunn virun e puer Joer däin Artikel “Using a RouterOS to connect to POST LuxFibre” fonnt an benotzen säitdeem och eng Mikrotik fir mäin privaten Internetuschloss doheem. Meng Elteren hunn an der Lescht ganz vill Problemer mat hirer FritzBox, ech hunn mir also geduecht ech kéint och bei hinnen eng Mikrotik benotzen. Do gëtt et awer en Hocken: am Géigesaz zu mir hunn Sie och den PostTV, deen misst also och weiderhin funktionéieren.

    Ech hunn dofir däin Artikel “IPTV on Bamboo with a Mikrotik router” benotzt, dat schéngt awer leider net méi ze klappen. Ech hunn elo keen groussen Debugging gemaach well et deen Dag spéit ginn ass mee et schéngt wei wann op deem “IPTV” Interface nëmmen eng 10 bis 15 kbps Trafic drop wier. Den Artikel selwer huet och héchstwarscheinlech en Tippfeeler: déi éischt Command am drëtten Codeblock failed well ech den Interface “IPTV” net gëtt. Hues du iergendeng Iddi wéi ech dee ganze Problem kéint debuggen an potentiell och léisen?

    Ech soe villmools Merci an wënschen dir an denger Famill ganz schéi Feierdeeg an dësen komeschen Zäiten.

    1. IPTV is a bridge, so I can distribute IPTV to several interfaces. You may replace “IPTV” by an interface of your choice.

    1. I haven’t updated this particular Routerboard to ROSv7 mainly because ROSv7 is not yet at feature-parity with latest ROSv6. If and when I find enough time and the upgrade to ROSv7 becomes unavoidable I’ll post an update for sure.

  5. Hi,

    I am having the same issue but with a Cisco device and Tango TV. I have a Mikrotik at work and try your solution to check if with Tango it works as well. If you have an idea how I could add an IGMP-Proxy that proxies from vlan1 to g0/0/0.35 please share.

    Thx
    Best Regards
    Diogo

    1. Most operator have switched from using 2 or more VLANs to using a single VLAN since I initially wrote this article. Additionally the setup for TANGO and POST may differ (e.g. different VLAN IDs,…).

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.