I’m new to the Mikrotik world and I’m a bit lost. I have for 8 years an ER4 router with which I have been doing quite well, but due to lack of updates and security patches, I have decided to migrate to the mikrotik world.
Currently I have the ER4 router in “Router on a Stick” mode using the SFP network interface for the ISP (Triple VLAN) and one of the network ports for the LAN (Multiple VLAN). The ER4 configuration does not make use of any bridging or anything like that.
The Internet (VLAN 6 from the ISP) works perfectly, the VoIP service works fine, but the IPTv service is giving me a headache.
Problem is that IGMP Proxy is not joining a group. My firewall is very basic (Masquerade to SFP interfaces and input/forward drop into pppoe interface).
I have more updates. By default with this configuration, igmp-proxy does not create the routes when it asks a client to start receiving data:
And in the MFC tab no created routes are visible.
But the strange thing is that if I create a PIM-SN instance together with the IPTv upstream and multimedia network downstream interfaces…:
The IGMP-Proxy starts to work and register addresses in the MFC tab:
If I delete PIM-SN all is working after I reboot router. Why I need PIM-SN? In ER4 i don’t have anything about that, IGMP-Proxy works standalone.
I think the IGMP-Proxy is not working the right way or there is some kind of bug, because it is not able to start on the VLAN interface by itself. I also notice that after about 4 minutes, the Quick Leave does not work properly and I get cut off from the IPTv connection.
Not sure about IGMP Proxy but IGMP Snooping on ROS wont work without PIM-SM if you are running inside a VLAN.
As the IGMP Snooping only listens to normal Frames and not vlan tagged ones.
once you run a PIM-SM instance inside the VLAN IGMP Snooping works fine. (this is in the docs for IGMP Snooping)
Yes, you are right, but IGMP-Snooping only applies to switches or switch mode. In my configuration I have “Router on a Stick” on one interface so the work is made by the down switch. All other ports are not configured
EDIT: This is IGMP-Proxy Edgerouter 4 Log:
root@xxxxxxxx:~# igmpproxy -d -v
Using default configuration file “/etc/igmpproxy.conf”
14:33:29.678541 adding VIF, Ix 0 Fl 0x0 IP 0x0aae476d eth3.2, Threshold: 1, Ratelimit: 0
14:33:29.678747 adding VIF, Ix 1 Fl 0x0 IP 0x0a0ac801 eth2.200, Threshold: 1, Ratelimit: 0
14:33:29.678905 joinMcGroup: 224.0.0.2 on eth2.200
14:33:29.679019 joinMcGroup: 224.0.0.22 on eth2.200
14:33:29.733031 The IGMP message was local multicast. Ignoring.
14:33:29.947959 RECV V2 member report from 10.10.200.120 to 239.0.2.155
14:33:29.948110 Inserted route table entry for 239.0.2.155 on VIF #1
14:33:29.948164 joinMcGroup: 239.0.2.155 on eth3.2
14:33:29.975413 RECV V2 member report from 10.174.71.109 to 239.0.2.155
14:33:29.975500 The IGMP message was from myself. Ignoring.
14:33:29.975549 Route activation request from 10.174.71.109 for 239.0.2.155 is from myself. Ignoring.
14:33:30.000904 Adding MFC: 172.26.20.39 → 239.0.2.155, InpVIf: 0
14:33:31.347942 The IGMP message was local multicast. Ignoring.
14:33:31.450973 RECV V2 member report from 10.10.200.119 to 239.0.2.132
14:33:31.451075 Inserted route table entry for 239.0.2.132 on VIF #1
14:33:31.451115 joinMcGroup: 239.0.2.132 on eth3.2
14:33:31.475393 RECV V2 member report from 10.174.71.109 to 239.0.2.132
14:33:31.475479 The IGMP message was from myself. Ignoring.
14:33:31.475527 Route activation request from 10.174.71.109 for 239.0.2.132 is from myself. Ignoring.
14:33:31.509204 RECV V2 member report from 10.10.200.119 to 239.0.2.155
14:33:31.509288 Updated route entry for 239.0.2.155 on VIF #1
14:33:31.509328 Adding MFC: 172.26.20.39 → 239.0.2.155, InpVIf: 0
14:33:31.553586 Adding MFC: 172.26.20.39 → 239.0.2.132, InpVIf: 0
14:33:32.999703 RECV V2 member report from 10.10.200.118 to 239.0.2.2
14:33:32.999849 Inserted route table entry for 239.0.2.2 on VIF #1
14:33:32.999891 joinMcGroup: 239.0.2.2 on eth3.2
14:33:33.025498 RECV V2 member report from 10.174.71.109 to 239.0.2.2
14:33:33.025624 The IGMP message was from myself. Ignoring.
14:33:33.025679 Route activation request from 10.174.71.109 for 239.0.2.2 is from myself. Ignoring.
14:33:33.063441 The IGMP message was local multicast. Ignoring.
14:33:33.478061 RECV V2 member report from 10.10.200.120 to 239.0.2.30
14:33:33.478172 Inserted route table entry for 239.0.2.30 on VIF #1
14:33:33.478212 joinMcGroup: 239.0.2.30 on eth3.2
14:33:33.505404 RECV V2 member report from 10.174.71.109 to 239.0.2.30
14:33:33.505486 The IGMP message was from myself. Ignoring.
14:33:33.505533 Route activation request from 10.174.71.109 for 239.0.2.30 is from myself. Ignoring.
14:33:33.562813 Adding MFC: 172.26.20.41 → 239.0.2.30, InpVIf: 0
14:33:33.696849 RECV V2 member report from 10.10.200.119 to 239.0.2.30
14:33:33.696953 Updated route entry for 239.0.2.30 on VIF #1
14:33:33.696992 Adding MFC: 172.26.20.41 → 239.0.2.30, InpVIf: 0
14:33:33.929010 RECV V2 member report from 10.10.200.119 to 239.0.2.129
14:33:33.929119 Inserted route table entry for 239.0.2.129 on VIF #1
14:33:33.929158 joinMcGroup: 239.0.2.129 on eth3.2
14:33:33.955398 RECV V2 member report from 10.174.71.109 to 239.0.2.129
14:33:33.955484 The IGMP message was from myself. Ignoring.
14:33:33.955531 Route activation request from 10.174.71.109 for 239.0.2.129 is from myself. Ignoring.
14:33:34.367169 Adding MFC: 172.26.20.39 → 239.0.2.129, InpVIf: 0
14:33:34.605377 RECV V2 member report from 10.174.71.109 to 239.0.2.155
14:33:34.605464 The IGMP message was from myself. Ignoring.
14:33:34.645358 RECV V2 member report from 10.174.71.109 to 239.0.2.155
14:33:34.645434 The IGMP message was from myself. Ignoring.
14:33:34.685344 RECV V2 member report from 10.174.71.109 to 239.0.2.129
14:33:34.685420 The IGMP message was from myself. Ignoring.
14:33:35.085397 RECV V2 member report from 10.174.71.109 to 239.0.2.30
14:33:35.085501 The IGMP message was from myself. Ignoring.
14:33:35.425516 RECV V2 member report from 10.174.71.109 to 239.0.2.30
14:33:35.425637 The IGMP message was from myself. Ignoring.
14:33:35.631780 RECV V2 member report from 10.10.200.119 to 239.0.2.2
14:33:35.631889 Updated route entry for 239.0.2.2 on VIF #1
14:33:36.391625 RECV V2 member report from 10.10.200.118 to 239.0.2.129
14:33:36.391735 Updated route entry for 239.0.2.129 on VIF #1
14:33:36.391775 Adding MFC: 172.26.20.39 → 239.0.2.129, InpVIf: 0
14:33:36.903919 RECV V2 member report from 10.10.200.119 to 239.0.0.176
14:33:36.904046 Inserted route table entry for 239.0.0.176 on VIF #1
14:33:36.904086 joinMcGroup: 239.0.0.176 on eth3.2
14:33:36.925492 RECV V2 member report from 10.174.71.109 to 239.0.0.176
14:33:36.925599 The IGMP message was from myself. Ignoring.
14:33:36.925649 Route activation request from 10.174.71.109 for 239.0.0.176 is from myself. Ignoring.
14:33:36.934402 Adding MFC: 172.26.72.10 → 239.0.0.176, InpVIf: 0
14:33:37.415782 RECV V2 member report from 10.10.200.118 to 239.0.2.30
14:33:37.415906 Updated route entry for 239.0.2.30 on VIF #1
14:33:37.415947 Adding MFC: 172.26.20.41 → 239.0.2.30, InpVIf: 0
14:33:38.438260 RECV V2 member report from 10.10.200.120 to 239.0.2.2
14:33:38.438381 Updated route entry for 239.0.2.2 on VIF #1
14:33:38.439052 RECV V2 member report from 10.10.200.120 to 239.0.2.129
14:33:38.439131 Updated route entry for 239.0.2.129 on VIF #1
14:33:38.439168 Adding MFC: 172.26.20.39 → 239.0.2.129, InpVIf: 0
14:33:38.951876 RECV V2 member report from 10.10.200.118 to 239.0.2.155
14:33:38.952041 Updated route entry for 239.0.2.155 on VIF #1
14:33:38.952091 Adding MFC: 172.26.20.39 → 239.0.2.155, InpVIf: 0
14:33:40.525435 RECV V2 member report from 10.174.71.109 to 239.0.2.132
14:33:40.525541 The IGMP message was from myself. Ignoring.
14:33:41.725397 RECV V2 member report from 10.174.71.109 to 239.0.0.176
14:33:41.725502 The IGMP message was from myself. Ignoring.
14:33:42.445605 RECV V2 member report from 10.174.71.109 to 239.0.2.129
14:33:42.445704 The IGMP message was from myself. Ignoring.
14:33:42.445755 RECV V2 member report from 10.174.71.109 to 239.0.2.2
14:33:42.445784 The IGMP message was from myself. Ignoring.
14:33:45.001008 Inserted route table entry for 239.255.250.250 on VIF #-1
14:33:45.001189 Adding MFC: 10.10.200.5 → 239.255.250.250, InpVIf: 0
14:33:45.405436 RECV V2 member report from 10.174.71.109 to 239.0.2.2
14:33:45.405545 The IGMP message was from myself. Ignoring.
14:33:45.405595 Route activation request from 10.174.71.109 for 239.0.2.2 is from myself. Ignoring.
14:33:48.205634 RECV V2 member report from 10.174.71.109 to 239.0.2.132
14:33:48.205739 The IGMP message was from myself. Ignoring.
14:33:48.205792 Route activation request from 10.174.71.109 for 239.0.2.132 is from myself. Ignoring.
14:33:50.765536 RECV V2 member report from 10.174.71.109 to 239.0.0.176
14:33:50.765632 The IGMP message was from myself. Ignoring.
14:33:50.765685 Route activation request from 10.174.71.109 for 239.0.0.176 is from myself. Ignoring.
14:34:00.790290 RECV V2 member report from 10.10.200.119 to 239.0.2.30
14:34:00.790404 Updated route entry for 239.0.2.30 on VIF #1
14:34:00.790447 Adding MFC: 172.26.20.41 → 239.0.2.30, InpVIf: 0
14:34:00.992885 The IGMP message was local multicast. Ignoring.
14:34:01.353066 RECV V2 member report from 10.10.200.119 to 239.0.0.176
14:34:01.353168 Updated route entry for 239.0.0.176 on VIF #1
14:34:01.353208 Adding MFC: 172.26.72.10 → 239.0.0.176, InpVIf: 0
14:34:03.153092 RECV V2 member report from 10.10.200.119 to 239.0.2.155
14:34:03.153204 Updated route entry for 239.0.2.155 on VIF #1
14:34:03.153251 Adding MFC: 172.26.20.39 → 239.0.2.155, InpVIf: 0
14:34:03.157779 RECV V2 member report from 10.10.200.120 to 239.0.2.2
14:34:03.157872 Updated route entry for 239.0.2.2 on VIF #1
14:34:03.551155 RECV V2 member report from 10.10.200.119 to 239.0.2.2
14:34:03.551258 Updated route entry for 239.0.2.2 on VIF #1
14:34:04.104042 RECV V2 member report from 10.10.200.118 to 239.0.2.30
14:34:04.104158 Updated route entry for 239.0.2.30 on VIF #1
14:34:04.104198 Adding MFC: 172.26.20.41 → 239.0.2.30, InpVIf: 0
14:34:04.488068 RECV V2 member report from 10.10.200.118 to 239.0.2.129
14:34:04.488181 Updated route entry for 239.0.2.129 on VIF #1
14:34:04.488221 Adding MFC: 172.26.20.39 → 239.0.2.129, InpVIf: 0
14:34:04.872005 RECV V2 member report from 10.10.200.119 to 239.0.2.129
14:34:04.872123 Updated route entry for 239.0.2.129 on VIF #1
14:34:04.872162 Adding MFC: 172.26.20.39 → 239.0.2.129, InpVIf: 0
14:34:04.997971 RECV V2 member report from 10.10.200.120 to 239.0.2.30
14:34:04.998078 Updated route entry for 239.0.2.30 on VIF #1
14:34:04.998115 Adding MFC: 172.26.20.41 → 239.0.2.30, InpVIf: 0
14:34:05.071418 The IGMP message was local multicast. Ignoring.
14:34:05.253002 RECV V2 member report from 10.10.200.119 to 239.0.2.132
14:34:05.253110 Updated route entry for 239.0.2.132 on VIF #1
14:34:05.253148 Adding MFC: 172.26.20.39 → 239.0.2.132, InpVIf: 0
14:34:05.627890 The IGMP message was local multicast. Ignoring.
14:34:05.957896 RECV V2 member report from 10.10.200.120 to 239.0.2.155
14:34:05.958013 Updated route entry for 239.0.2.155 on VIF #1
14:34:05.958052 Adding MFC: 172.26.20.39 → 239.0.2.155, InpVIf: 0
14:34:06.597896 RECV V2 member report from 10.10.200.120 to 239.0.2.129
14:34:06.597997 Updated route entry for 239.0.2.129 on VIF #1
14:34:06.598035 Adding MFC: 172.26.20.39 → 239.0.2.129, InpVIf: 0
14:34:06.599950 RECV V2 member report from 10.10.200.118 to 239.0.2.2
14:34:06.600033 Updated route entry for 239.0.2.2 on VIF #1
14:34:07.112066 RECV V2 member report from 10.10.200.118 to 239.0.2.155
14:34:07.112181 Updated route entry for 239.0.2.155 on VIF #1
14:34:07.112219 Adding MFC: 172.26.20.39 → 239.0.2.155, InpVIf: 0
14:34:19.251821 The IGMP message was local multicast. Ignoring.
^C^C14:34:20.177754 select() failure; Errno(4): Interrupted system call
14:34:20.177853 Got a interrupt signal. Exiting.
14:34:20.177904 Removing MFC: 172.26.72.10 → 239.0.0.176, InpVIf: 0
14:34:20.177976 leaveMcGroup: 239.0.0.176 on eth3.2
14:34:20.178125 leaveMcGroup: 239.0.2.2 on eth3.2
14:34:20.178270 Removing MFC: 172.26.20.41 → 239.0.2.30, InpVIf: 0
14:34:20.178351 leaveMcGroup: 239.0.2.30 on eth3.2
14:34:20.178464 Removing MFC: 172.26.20.39 → 239.0.2.129, InpVIf: 0
14:34:20.178541 leaveMcGroup: 239.0.2.129 on eth3.2
14:34:20.178659 Removing MFC: 172.26.20.39 → 239.0.2.132, InpVIf: 0
14:34:20.178737 leaveMcGroup: 239.0.2.132 on eth3.2
14:34:20.178852 Removing MFC: 172.26.20.39 → 239.0.2.155, InpVIf: 0
14:34:20.178927 leaveMcGroup: 239.0.2.155 on eth3.2
14:34:20.179035 Removing MFC: 10.10.200.5 → 239.255.250.250, InpVIf: 0
14:34:20.179104 All routes removed. Routing table is empty.