On the new router I want to keep it simple. The main LAN feed is on Port 1. The direct connection to the IPTV box is on Port 4. (no VLANs used)
I've installed IGMPPROXY and modified the config file (the same as my old router). Restarted it.
The part that is not working is updating the Network file-
If I add-
config interface lan
option type bridge
option igmp_snooping 1
This kills access to the router (can't ping it). I had to go into recover mode to remove the update to get it working again.
I'm guessing since moving to DSA the Network file format has changed.
I don't know how to get the multicast working on the new router.
It reminded me that the IP TV traffic with BT TV Sport is not sent via the PPPoE tunnel, its sent on a parallel IP stream.
Once i added a 'dummy' static IP address to the WAN port, then adjusted the IGMPPROXY file to use the new route it all started working.
IGMPPROXY config file (note the network names are case sensitive 'iptv' is not the same as 'IPTV'
config igmpproxy
option quickleave 1
# option verbose [0-3](none, minimal[default], more, maximum)
config phyint
option network IPTV
option zone wan
option direction upstream
list altnet 109.159.247.0/24
config phyint
option network lan
option zone lan
option direction downstream
Hi philtrick. Thank you for your solution. I have found it useful to get my BT IPTV channels and NOWTV channels working with the BT TV box pro.
I am wondering if you have had issues in regard to internet connectivity? When watching a TV stream my WiFi Network drops out and my log gets flooded with messages like
daemon.notice hostapd: wl1-ap0: STA **:**:**:**:**:** IEEE 802.11: did not acknowledge authentication response
My LAN continues to function but my speeds drops from 930Mbps to under 100Mbps. When I stop the IPTV stream the network works again.
I am wondering if I have made a configuration error and am overloading the router somehow. The good news is that the IPTV is very stable.
The changes I made were below mostly from your post and the links you provided. I am wondering if I need the Firewall settings as you didn't mention them.
Edit - Removing the Firewall settings has improved the LAN speed while a stream is running, but I still have WiFi problems.
config igmpproxy
option quickleave 1
config phyint
option network iptv
option zone wan
option direction upstream
list altnet 109.159.247.0/24
config phyint
option network lan
option zone lan
option direction downstream
Firewall
config zone
option name 'wan'
list network 'wan'
list network 'wan6'
list network 'iptv'
option input 'REJECT'
option output 'ACCEPT'
option forward 'REJECT'
option masq '1'
option mtu_fix '1'
config rule
option name 'IGMP'
option src 'wan'
option proto 'igmp'
option target 'ACCEPT'
config rule
option name 'Multicast'
option src 'wan'
option dest 'lan'
option dest_ip '224.0.0.0/4'
option proto 'udp'
option family 'ipv4'
option target 'ACCEPT'
I can't get IGMP Snooping (limits the multicast traffic to the LAN port that the IP TV box is connected to) to work, I'm sure the hardware should support it, but maybe it's just not implemented in the Openwrt drivers. Without IGMP Snooping working- every LAN port and WLAN get flooded with multicast traffic. My main router (Belkin RT3200) has integrated WLAN- this was almost unusable with multicast IP Traffic running.
I've had to revert back to putting my IPTV box directly on to LAN port (4) with a different subnet. This limits the multicast to just that port.
Unfortunately I don't have the time to diagnose the IGMP Snooping issue.
Here's my Network config...
config device
option name 'br-lan'
option type 'bridge'
list ports 'lan1'
list ports 'lan2'
list ports 'lan3'
config interface 'lan'
option device 'br-lan'
option proto 'static'
option ip6assign '60'
list ipaddr '192.168.1.1/24'
config interface 'wan'
option device 'wan'
option proto 'pppoe'
option username 'bthomehub@btinternet.com'
option password 'bt'
option ipv6 'auto'
option peerdns '0'
list dns '8.8.8.8'
list dns '8.8.4.4'
config device
option name 'eth0'
config interface 'IPTV'
option proto 'static'
option device 'wan'
option ipaddr '10.22.22.1'
option netmask '255.255.255.0'
config device
option name 'lan4'
config device
option type 'bridge'
option name 'br-lan-iptv'
list ports 'lan4'
config interface 'LANIPTV'
option proto 'static'
option device 'br-lan-iptv'
option ipaddr '192.168.2.1'
option netmask '255.255.255.0'
Here's the IGMPPROXY config (note I understand IGMPPROXY adds the firewall rules when it starts)
config igmpproxy
option quickleave 1
# option verbose [0-3](none, minimal[default], more, maximum)
config phyint
option network IPTV
option zone wan
option direction upstream
list altnet 109.159.247.0/24
config phyint
option network LANIPTV
option zone lan
option direction downstream
I think I have it working well now. Thanks for your help.
I had a few issues which I had to work around. It wouldn't let me assign a manual IP on the BT Box for some reason the option wasn't allowing changes, so I needed to enable DHCP on the laniptv and then the box was assigned an IP.
I then wasn't able to get internet. I think this could have been because I reverted the firewall changes, I had made previously and so perhaps broken whatever IGMPPROXY had added.
I fixed it by editing the firewall settings like below. Seems to work. Hopefully I haven't caused other issues.
Edit - For anyone else following this I used lower case interface names and philtrick has used uppercase. Names are case sensitive.
config zone
option name 'lan'
list network 'lan'
list network 'laniptv'
option input 'ACCEPT'
option output 'ACCEPT'
option forward 'ACCEPT'
config zone
option name 'wan'
list network 'wan'
list network 'wan6'
list network 'iptv'
option input 'REJECT'
option output 'ACCEPT'
option forward 'REJECT'
option masq '1'
option mtu_fix '1'
And at the end
config rule
option name 'IGMP'
option src 'wan'
option proto 'igmp'
option target 'ACCEPT'
config rule
option name 'Multicast'
option src 'wan'
option dest 'lan'
option dest_ip '224.0.0.0/4'
option proto 'udp'
option family 'ipv4'
option target 'ACCEPT'
Yes, sorry I forget to mention adding DHCP on to the new LAN.
As mentioned previously I haven't put any manual firewall rules in for this to work. I understand the IGMPPROXY app should do that when it starts up.
If you get IGMP Snooping working then please let me know, it would save quite a bit of config.
I hope you guys are still around 2 years later to see this
I've just replaced my Asus AX-56U router witch a GL.iNet MT6000 router which runs OpenWRT. I have everything working, except IPTV of course! I'm not sure where I'm going wrong exactly. I've copied the settings that @philtrick suggested, but I'm still getting a blank screen on my EE TV Box Pro or whatever it's called now.
I don't seem to have an interface called 'wan' specifically. My WAN is connected to Eth1 which I have also tried. I don't know where I'm going wrong exactly, but would really appreciate some help. Thank you!
Hi, I'm still around, unfortunately I don't have much time to help. I'm not sure what your WAN is BT FTTP or do you have a VDSL modem before the router?
Anyway- I had to config the router LAN ports so the TV box was on a dedicated subnet. I had to have a cable from the TV box all the way back to the router. Fortunately I've got structured cabling in the my house.
So the normal LAN is on a 192.168.1.x range
The TV box is on 192.168.2.x range- LAN port 4 in my config.
If you put the TV traffic on your normal LAN it kills it, especially the WIFI.
FYI- I've got FTTC with a vdsl modem before the router. FTTP setup might be different. See https://github.com/fabianishere/udm-iptv for some clues.
I'm installing FTTP in early January, so I can update you then.
Thanks! Sorry I forgot to mention this. It's BT FTTP, so striaght from the ONT into the router.
Mine is actually set up via WiFi, but I do have homeplugs that I can use which give me arond 160Mb or so. Is there some issue with it working over WiFi? I would still put it on it's own subnet. I do plan on getting proper ethernet cabling run to the TV area, but it's in a bit of an awkward place.
I will use a simillar approach to you however, I'm still not sure on setting up the custom interface.
What's this IP address? Is this the multicast address from BT?
Many thanks for your support. This is driving me nuts
I think FTTP setup should be very similar. It's still PPPoE and you still use the bthomehub@btbroadband.com username/password, so it should be pretty easy for you to switch over.
Thanks for the Github link. I'll have a read through it and see if anything stands out. Many thanks!
Sorry, it's a frustrating issue. When you get the right config, it just works! Sounds obvious. I had the BT TV on a Sports Channel, once the config was correct the stream happened immediately. I've got FTTP arriving at the end of this month, so I'll be able to check if it's still working ok with the Openwrt. I might need a router upgrade with 900Mbps downstream.
Note- as per the thread above, I couldn't get the IGMP Snooping to work. This allows everything to be on the same LAN and the TV multicast traffic is limited to the LAN port the TV is plugged into. If you use downstream switches they also need to support IGMP Snooping.
Multicast needs to be supported by any equipment you have. Recent BT equipment should be ok, but I know some older powerline adaptors don't support passing it. WIFI might work but it might swamp it with traffic.
Might be tricky but try to have the TV box working directly off the router via cat5 cable first before introducing anything else in-between.
Just tested my setup and the IPTV is still working ok I hadn't tried them for months.
I'm guessing the change from BT TV to EE is just a re-branding and not a technical change.
Well so far, I can certainly recommend the Flint 2 (GL-MT6000). It's amazingly well specced for the money, plus you have OpenWRT as standard, dual 2.5Gb ports etc.
This is actually a great idea which I never thought of. I'll plug the BT box straight into the router and (hopefully) when I get it working, I'll work back from there. Thanks for that!
Yes it's just a rebrand, so shouldn't mess with any existing setups
Is the standard factory software Openwrt? Does it have any restrictions in place over standard Openwrt? I'll test the speed of my existing router first. Even if it maxes out at 500Mbps thats still 10 times more then I get at the moment.
It has a skin on top of OpenWRT which you can still access from the advanced menu, or you're free to image OpenWRT snapshots if you prefer. I have 900Mbps myself and it works great.
When looking at switches recently some of them had IGMP snooping support and Multicast functionality. If using a switch like that would it mean that this wouldn't need to be configured on the router as the switch would handle it?
Depends on if you are using LAN ports on the Router as well. If you've got 3 LAN ports (on the same subnet) on the router you need it on there as well as any downstream switches. As I mentioned when I tried it in the past without a seperate subnet for the TV, it killed my wifi network. The Linksys router itself with its factory software supported IGMP Snooping (so the hardware is ok), it just wasn't implemented in the Openwrt build (not that I could find).
If you get IGMP snooping working then please post here. If it doesn't work you see the LAN switches lighting up like a Xmas tree with all the multicast traffic (like a broadcast storm!)