PIM Multicast Routing
PIM Multicast Routing
PIM Multicast Routing
Last updated: May 10, 2013
Task
Load the initial configuration files and enable PIM on ASA1's inside and outside interfaces.
ASA1 should use R2 as the RP.
The ASA should limit the number of IGMP states on the inside interface to 100, and the query
interval should be set to 30 seconds.
Ensure that R2 establishes PIM adjacency with the firewall.
Enable PIM on R1 and join the G0/0 interface to group 239.0.0.1.
Make sure that R2 can ping the multicast group 239.0.0.1 and that R1 replies.
Overview
In addition to acting as a stub multicast router, the ASA firewall is capable of becoming a normal
multicast-capable router. In this mode, the ASA will establish PIM (Protocol Independent Multicast)
adjacencies with neighboring multicast routers. This allows the firewall to signal the building of
multicast distribution trees with other routers.
The ASA supports only PIM Sparse Mode (PIM SM), which is a scalable multicast routing protocol.
The key feature of PIM SM is the use of a special router called a Rendezvous Point (RP), which
functions as the “meeting point” of multicast sources and receivers. The sources register with the
RP, and the subscribers build initial distribution trees to the same RP. This allows them to “meet,”
and this is why RP is so critical to the PIM SM network.
When configured for PIM Multicast routing mode, the ASA firewall accepts and processes IGMP
messages. In this configuration, there is no need to relay IGMP messages to a helper router. When
the firewall receives the proper IGMP message, it initiates the building of a multicast “subscription”
tree toward the RP, just as a normal multicast router would do.
There is a difference when it comes to the ASA, however. Cisco IOS routers support automatic
learning of the RP information via protocols such as BSR (bootstrap router), whereas the ASA only
supports static manual RP configuration using the command pim rp-address <IP>. When
configuring your firewall for PIM multicast routing, do not forget to enter this command, or the
multicast routing will not work.
There is another interesting effect to note. The ASA has a feature known as ICMP inspection, which
allows for a sort of "stateful inspection" of ICMP traffic. When this is enabled, pings to a multicast
group will fail through the ASA because the address in the response is different.
Here are the steps that required to enable PIM SM multicast routing in the ASA firewall:
Configuration
ASA1:
!
multicast-routing
!
pim rp-address 150.50.0.2
!
policy-map global_policy
class inspection_default
no inspect icmp
!
int e0/0
pim
!
int e0/1
pim
igmp limit 100
igmp query-interval 30
!
!
R1:
!
interface GigabitEthernet0/0
ip pim sparse-dense-mode
ip igmp join-group 239.0.0.1
end
Verification
Verify that R1 has the ASA as a PIM neighbor.
Confirm that we are limiting the IGMP states and that the query interval is 30 seconds.
Rack1ASA1(config-if)#