IGMP Snooping SSM Mapping
Compared to Any-Source Multicast (ASM), Source-Specific Multicast (SSM) conserves multicast addresses and has higher security. Only IGMPv3 support SSM. A host running IGMPv3 can specify multicast source addresses in IGMP Report messages. Some hosts can run only IGMPv1 or IGMPv2. To enable such hosts to obtain the SSM service, multicast devices need to provide the IGMP Snooping SSM mapping function.
IGMP snooping SSM mapping is Layer 2 SSM mapping on an IPv4 multicast network. After static SSM mapping entries are configured on a multicast device, the device can convert (*, G) information in IGMPv1 and IGMPv2 Report messages to (S, G) information to provide the SSM service for IGMPv1 and IGMPv2 hosts. S indicates the multicast source, G indicates the multicast group, and the asterisk (*) indicates any multicast source. By default, SSM group addresses range from 232.0.0.0 to 232.255.255.255. You can configure an SSM group policy to change the address range of SSM groups.
As shown in Figure 9-4, HostA runs IGMPv3, HostB runs IGMPv2, and HostC runs IGMPv1. HostB and HostC cannot run IGMPv3. To provide the SSM service for all the hosts on the network segment, configure IGMP Snooping SSM mapping on Switch.
The following table lists the SSM mapping entries configured on Switch.
Multicast Group Address |
Mapping Multicast Source Address |
---|---|
232.1.1.0/24 |
10.10.1.1 |
232.1.2.0/24 |
10.10.2.2 |
232.1.3.0/24 |
10.10.3.3 |
When Switch receives Report messages from HostB and HostC, it checks whether the multicast group addresses in the messages are within the SSM group address range. If so, Switch generates (S, G) entries based on the SSM mappings, as shown in the following table.
Multicast Group Address in IGMPv1/IGMPv2 Report |
Generated Multicast Forwarding Entry |
---|---|
232.1.1.1 (from HostC) |
(10.10.1.1, 232.1.1.1) |
232.1.2.2 (from HostB) |
(10.10.2.2, 232.1.2.2) |
When the multicast group address in a Report message is within the SSM group address range, but Switch no SSM mapping entry matching the multicast group address, it does not provide the SSM service and drops the Report message.
If the multicast group address in a Report message is out of the SSM group address range, Switch provides only the ASM service.
If an upstream IGMP querier exists on the network, Layer 2 SSM mapping must be combined with Layer 3 SSM mapping on the IGMP querier to ensure multicast data forwarding. You must configure Layer 3 SSM mapping entries on the IGMP querier.