Hi, I am trying to setup multicast routing on my Turris Omnia to be able to watch IPTV (from NetBox) on my computer. So far unsuccessfully, however.
Please note I know for sure it should be working: With my current Asus RT-N16 it works like charm for years – only allowing IGMP proxy in the web interface of the Asus router I simply start DVBViewer (or VLC Media Placer) configure to use 239.1.2.19:11111
for ČT1 etc.
On my Turris Omnia I installed package igmpproxy
via LuCI and configured everything following OpenWRT UDP Multicast HowTo. However, the best result I was able to achieve is receiving video stream on my computer if ISP provided IPTV set-to-box is watching the same channel, i.e. routing multicast traffic ‘ordered’ by the set-to-box to the computer. But trying to stream another channel results in no video stream on my computer at all.
I expect there is some issue with multicast group join/leave announces from my computer but I do not have a clue what is wrong… :-/
I have seen several threads on the old Turris forum (for example this) but with no luck to solve my issues.
Relevant changes to the Turris default configuration:
root@turris:~# cat /etc/config/network
...
config interface 'lan'
...
option igmp_snooping 1
...
...
root@turris:~# cat /etc/config/firewall
...
# standard Turris Omnia firewall rule
config rule
option name 'Allow-IGMP'
option src 'wan'
option proto 'igmp'
option family 'ipv4'
option target 'ACCEPT'
...
# my new rule
config rule
option src 'wan'
option proto 'udp'
option dest 'lan'
option dest_ip '224.0.0.0/4'
option target 'ACCEPT'
option name 'Allow Multicast from WAN to LAN'
...
root@turris:~# cat /etc/config/igmpproxy
config igmpproxy
option quickleave 1
config phyint
option network wan
option direction upstream
list altnet 0.0.0.0/0
config phyint
option network lan
option direction downstream
Stop igmpproxy
daemon:
root@turris:~# /etc/init.d/igmpproxy stop
Start igmpproxy
with STDOUT
logging, starting DVBViewer on my computer switching between working set-top-box ‘ordered’ stream and other streams resulting in no video on my computer:
root@turris:~# igmpproxy -d -v /etc/igmpproxy.conf
adding VIF, Ix 0 Fl 0x0 IP 0x0bae272e eth1, Threshold: 1, Ratelimit: 0
adding VIF, Ix 1 Fl 0x0 IP 0x0101a8c0 br-lan, Threshold: 1, Ratelimit: 0
joinMcGroup: 224.0.0.2 on br-lan
RECV Membership query from 192.168.1.1 to 224.0.0.1
Inserted route table entry for 239.1.1.80 on VIF #-1
RECV V2 member report from 192.168.1.1 to 224.0.0.2
The IGMP message was from myself. Ignoring.
RECV V2 member report from 192.168.1.2 to 239.255.255.250
Inserted route table entry for 239.255.255.250 on VIF #1
joinMcGroup: 239.255.255.250 on eth1
RECV V2 member report from 192.168.1.58 to 239.255.255.250
Updated route entry for 239.255.255.250 on VIF #1
RECV V2 member report from 192.168.1.2 to 239.1.1.80
Updated route entry for 239.1.1.80 on VIF #1
Adding MFC: 83.240.12.186 -> 239.1.1.80, InpVIf: 0
joinMcGroup: 239.1.1.80 on eth1
RECV V2 member report from 192.168.1.2 to 239.1.1.80
Updated route entry for 239.1.1.80 on VIF #1
Adding MFC: 83.240.12.186 -> 239.1.1.80, InpVIf: 0
RECV V2 member report from 192.168.1.2 to 239.255.255.253
Inserted route table entry for 239.255.255.253 on VIF #1
joinMcGroup: 239.255.255.253 on eth1
RECV V2 member report from 192.168.1.174 to 239.255.255.250
Updated route entry for 239.255.255.250 on VIF #1
RECV V2 member report from 192.168.1.2 to 239.1.1.81
Inserted route table entry for 239.1.1.81 on VIF #1
joinMcGroup: 239.1.1.81 on eth1
RECV Leave message from 192.168.1.2 to 224.0.0.2
leaveMcGroup: 239.1.1.80 on eth1
RECV Membership query from 192.168.1.1 to 239.1.1.80
RECV V2 member report from 192.168.1.2 to 239.1.1.81
Updated route entry for 239.1.1.81 on VIF #1
RECV Leave message from 192.168.1.2 to 224.0.0.2
leaveMcGroup: 239.1.1.81 on eth1
RECV V2 member report from 192.168.1.2 to 239.1.1.80
Updated route entry for 239.1.1.80 on VIF #1
Adding MFC: 83.240.12.186 -> 239.1.1.80, InpVIf: 0
joinMcGroup: 239.1.1.80 on eth1
RECV Membership query from 192.168.1.1 to 239.1.1.81
RECV V2 member report from 192.168.1.2 to 239.1.1.80
Updated route entry for 239.1.1.80 on VIF #1
Adding MFC: 83.240.12.186 -> 239.1.1.80, InpVIf: 0
RECV Leave message from 192.168.1.2 to 224.0.0.2
leaveMcGroup: 239.1.1.80 on eth1
RECV V2 member report from 192.168.1.2 to 239.1.1.254
Inserted route table entry for 239.1.1.254 on VIF #1
joinMcGroup: 239.1.1.254 on eth1
RECV Membership query from 192.168.1.1 to 239.1.1.80
RECV Membership query from 192.168.1.1 to 239.1.1.81
RECV V2 member report from 192.168.1.2 to 239.1.1.254
Updated route entry for 239.1.1.254 on VIF #1
RECV V2 member report from 192.168.1.2 to 239.1.1.77
Inserted route table entry for 239.1.1.77 on VIF #1
joinMcGroup: 239.1.1.77 on eth1
RECV Leave message from 192.168.1.2 to 224.0.0.2
leaveMcGroup: 239.1.1.254 on eth1
RECV Membership query from 192.168.1.1 to 239.1.1.254
RECV V2 member report from 192.168.1.2 to 239.1.1.77
Updated route entry for 239.1.1.77 on VIF #1
RECV Membership query from 192.168.1.1 to 239.1.1.80
Route is not active. No kernel updates done.
RECV Leave message from 192.168.1.2 to 224.0.0.2
leaveMcGroup: 239.1.1.77 on eth1
RECV Membership query from 192.168.1.1 to 239.1.1.77
RECV Membership query from 192.168.1.1 to 224.0.0.1
RECV V2 member report from 192.168.1.2 to 239.255.255.253
Updated route entry for 239.255.255.253 on VIF #1
RECV V2 member report from 192.168.1.174 to 239.255.255.250
Updated route entry for 239.255.255.250 on VIF #1
^Cselect() failure; Errno(4): Interrupted system call
Got a interupt signal. Exiting.
Route is not active. No kernel updates done.
leaveMcGroup: 239.1.1.77 on eth1
MRT_DROP_MEMBERSHIP failed; Errno(99): Address not available
Removing MFC: 83.240.12.186 -> 239.1.1.80, InpVIf: 0
leaveMcGroup: 239.1.1.80 on eth1
MRT_DROP_MEMBERSHIP failed; Errno(99): Address not available
Route is not active. No kernel updates done.
leaveMcGroup: 239.255.255.250 on eth1
Route is not active. No kernel updates done.
leaveMcGroup: 239.255.255.253 on eth1
Route is not active. No kernel updates done.
leaveMcGroup: 239.1.1.254 on eth1
MRT_DROP_MEMBERSHIP failed; Errno(99): Address not available
All routes removed. Routing table is empty.
Shutdown complete....
Any ideas what to do?