03-25-2018 03:41 AM - edited 03-08-2019 02:23 PM
Hi,
If the source and the receiver of the multicast traffic is on the same VLAN, would IGMP snooping work?
Lets say there is no active L3 SVI interface on the switch and the traffic is just flowing between 2 hosts on the same VLAN.
Thanks!
Solved! Go to Solution.
03-26-2018 02:44 AM
03-26-2018 07:23 AM
Hi Jon,
I am not sure how closely the IOU/IOL images approximate the hardware behavior.
However, you might find this information interesting: On IOS-based Catalyst switches, IGMP Snooping automatically deactivates itself if there is no IGMP Querier present in the VLAN. As a result, the Catalysts will simply flood all multicasts as if they were broadcasts. If an IGMP Querier later comes into the VLAN, either as a standalone router, or some switch configured for this functionality using the IGMP Snooping Querier feature, IGMP Snooping reactivate itself and will kick into action.
This is in stark contrast to Nexus switches. On them, IGMP Snooping does not deactivate itself automatically in the absence of an IGMP Querier. As a result, without a Querier, your multicast won't work at all.
So in your particular case - I would not rely too much on the behavior of the IOU image since that one only approximates how the hardware operates and might not get everything with 100% accuracy, but if you had a true Catalyst-based network without an IGMP Querier, you would actually see the multicasts truly leaking out through every port in the given VLAN.
Best regards,
Peter
03-25-2018 04:23 AM
Hi Jon,
The IGMP Snooping functionality really depends on the presence of an multicast-enabled router sending out IGMP Query packets in the VLAN where the receivers are located. It is not that important whether the source of the multicast is in the same VLAN, or a different VLAN; what is important is to have a device that performs the function of an IGMP Querier.
Assuming that you have a very simple multicast deployment without any multicast-enabled routers, and just perform a simple multicast streaming in a single VLAN, then the IGMP Snooping would not work because there is no router present that would be sending out IGMP Membership Query packets. Without them, the hosts will not periodically respond, and IGMP Snooping will not be able to maintain an up-to-date table of multicast receivers.
For these deployments, Cisco switches usually support a feature called IGMP Snooping Querier; this feature allows the switch itself to send out IGMP Membership Query packets if there are no other multicast-enabled routers present.
Check out this guide for more context:
Feel welcome to ask further!
Best regards,
Peter
03-25-2018 05:45 AM - edited 03-26-2018 02:31 AM
I haven't read Peter's reference, but in case it's not noted, or not clear, if you have multiple switches, you only need one querier for a VLAN (just as there only needs to be one multicast router interface). Additionally, if you don't have multicast querier, on an active IGMP snooping switch, it would suppress sending multicast to any ports (as it would appear no hosts want it). So, if you don't have a querier, insure IGMP snooping is disabled.
03-25-2018 08:31 PM
Hi Peter,
Thanks for the quick response.
If i understand it right, there has to be a L3 device for IGMP, it will be the one to check if hosts wants to receive mcast traffic.
I have a diagram attached. If the host connected on SW2 wants to receive Mcast traffic would it receive it?
Lets say on a scenario that there is the router and where the router is removed.
Thanks!
Jon
03-26-2018 02:44 AM
03-26-2018 04:08 AM
Hi Joseph,
Thanks for the quick response.
" Again if IGMP snooping is enabled but now the querier is not present (your router), hosts on either switch should not obtain the multicast stream. "
Is this behavior platform specific? Im currently testing GNS3 using IOU L2 (i86bi-linux-l2-adventerprisek9-15.1a.bin). Though im not particularly sure whether it supported but the commands are there.
I've attached a diagram. IGMP snooping is enabled on the transit switches, IOU4 is configured with "ip igmp join-group 239.1.1.1". On IOU3 im sending a multicast ping "ping 239.1.1.1", what im seeing is that the multicast traffic reaches the receiver. Im not sure whether this is a IOU limitation. I currently dont have real gear to test it on. In this scenario multicast is like broadcast for a VLAN, it reaches all configured ports for the same vlan.
03-26-2018 05:42 AM
03-26-2018 07:23 AM
Hi Jon,
I am not sure how closely the IOU/IOL images approximate the hardware behavior.
However, you might find this information interesting: On IOS-based Catalyst switches, IGMP Snooping automatically deactivates itself if there is no IGMP Querier present in the VLAN. As a result, the Catalysts will simply flood all multicasts as if they were broadcasts. If an IGMP Querier later comes into the VLAN, either as a standalone router, or some switch configured for this functionality using the IGMP Snooping Querier feature, IGMP Snooping reactivate itself and will kick into action.
This is in stark contrast to Nexus switches. On them, IGMP Snooping does not deactivate itself automatically in the absence of an IGMP Querier. As a result, without a Querier, your multicast won't work at all.
So in your particular case - I would not rely too much on the behavior of the IOU image since that one only approximates how the hardware operates and might not get everything with 100% accuracy, but if you had a true Catalyst-based network without an IGMP Querier, you would actually see the multicasts truly leaking out through every port in the given VLAN.
Best regards,
Peter
03-26-2018 07:54 AM
03-26-2018 03:54 PM
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide