Cisco ASA upports PIM and SMR, but cannot run both on a single security appliance.
SMR - Stub Multicast Routing Allows end stations, like user PCs, to register for multicast streams (via IGMP). When ASA uses SMR, it acts as IGMP proxy:
# multicast-routing
#int e0/1 //interface where IGMP end stations = inside
# igmp forward interface <outside> // interface to multicast router
# igmp join-group <multicast-group-address>
"igmp join-group" command is used for testing purposes to ensure that multicast traffic reaches ASA appliance.
In this example, the multicast sender is on the outside of the security appliance and hosts on the inside are attempting to receive the multicast traffic. Multicast group address is 224.1.2.3. RP address is 172.16.2
multicast-routing //enables multicast
access-list OUTSIDE permit ip any host 224.1.2.3 // allow multicast messages to group 224.1.2.3 through
access-group OUTSIDE interface outside in
pim rp-address 172.16.1.2
mroute 172.16.1.2 255.255.255.255 outside // define router to RP. If route already available through IGP then skip this step
Note: "Transparent" mode ASA does not support multicast, but you can configure ACL to pass multicast traffic.
If you run into a problem with setting up multicast through ASA, then you will need to capture some traffic and to see if Multicast traffic is indeed reaching your ASA.
access-list CAPTURE permit ip any host 224.1.2.3
capture CAPOUT interface outside access-list CAPTURE
capture CAPIN interface outside access-list CAPTURE
show capture CAPOUT
show capture CAPIN
There are two ways to distribute multicast traffic accross networks:
There are two 3 multicast modes that router can be in:
RP - is a temporary way to connect to existing shared multicast tree through rendezvous point. Later, once receiver joined a source specific tree, feed through RP is dropped.
There are 3 way to define RP:
ip pim rp-address <172.0.1.2/rp-ip-address>
RPRouter# ip pim send-rp-announce Lo0 scope 16 group-list 10
RPRouter# access-list 10 permit 239.0.0.0 0.255.255.255
MappingAgentRouter# ip pim send-rp-discovery scope 16
# ip pim bsr-candidate Lo0 <subnet_mask_bits> <priority>Configure several RPs:
# ip pim rp-candidate Lo0 <multicast-group-ip> <bidir>BSRs flood all PIM routers address 224.0.0.13
We have 3 guests and no members online