PIM-SSM Static Mapping
Load multicast.init.cfg
Configure R2 and R4 to join (*, 239.1.1.1). These hosts are only IGMPv2-capable.
Use SSM mapping on the LHRs to translate these to (7.1.7.1, 239.1.1.1) Joins.
The multicast network is already fully setup using PIM-SSM. You must change the SSM range to use 239.1.1.1/32 for this task.
Answer
Explanation
This lab consists of two tasks: changing the SSM range, and using static SSM mapping.
First, to change the SSM range, we must reference an ACL that consists of the group ranges we want to treat as SSM. This must be statically configured on all routers in the network. Note that if you want to include 232/8 as part of this, you must also specify it as an entry in the ACL. In our case, we only care about treating 239.1.1.1/32 as SSM.
We can confirm the SSM range on IOS-XR using the following command:
Next, we configure SSM mapping. This is a feature that allows us to match a IGMPv2/MLDv1 (*, G) Join from a host and translate it into a (S, G) IGMPv3/MLDv2 Join. To do so, we enable IGMPv3/MLDv2 on the LHR interface as usual, but we also configure separate static mapping entries, mapping the (*, G) to the (S, G).
We can confirm the SSM mapping configuration using the following command:
We can confirm that the LHRs have successfully translated these into IGMPv3 (S, G) Joins:
To “trick” R2 and R4 into replying to the ICMP Echo Request, we must make their (*, G) entry have a valid RPF interface. This can be done by manually specifying the RP address.
The (S, G) tree is built as we saw in the last lab. Both R2 and R4 respond to the multicast ping.
Mapping to multiple sources
You can map a (*, G) to multiple (S, G) entries by specifying multiple sources for a given ACL:
A note on IPv6 SSM Mapping
Both IOS-XE and IOS-XR support SSM mapping using the same commands, except prefaced with ipv6 mld on IOS-XE and under router mld on IOS-XR:
However, to successfully test this, we would need the hosts to send a (*, G) MLD Report for a SSM-mapped prefix. IOS-XE does not let us change the IPv6 SSM mapping range, so there is no way to accomplish this.
IOS-XR does allow us to change the SSM range:
This allows us to use XRv3 as a client for testing.
We can confirm the SSM range has been changed on XRv3:
We’ll now send a (*, G) Join from XRv3 for a SSM-default range group:
R9 ignores this because it is an ASM Join for a group in the SSM range.
We’ll now do SSM static mapping on R9:
R9 now has a static MLDv2 mapping:
R9 converts the (*, G) MLD report to a (S, G):
DNS Resolution for Mapping
Using static mapping is not a very scalable solution. Instead, it is preferred to use DNS for mapping. The router uses its locally defined DNS resolvers to resolve mcast-group.in-addr.arpa. The DNS server returns the source IP address as the DNS response. Optionally, you can configure a different domain using the following command. Note that DNS lookups for SSM mapping is on by default.
Last updated