Routing Multicast Traffic with PIM-SM and Auto-RP
Problem
You want to allow routing of multicasts by using Sparse Mode, and use Auto-RP for distributing RP information.
Solution
This recipe accomplishes the same basic tasks as Recipe 23.2, but using a different method. If you are unfamiliar with PIM-SM, please read that recipe first. There are two different types of router configurations for Auto-RP configuration, just as there are for BSR. Router1 represents a regular multicast-enabled router anywhere in the network. This router supports end devices as group members or servers, as well as routing multicast traffic for other routers:
Router1#configure terminalEnter configuration commands, one per line. End with CNTL/Z. Router1(config)#ip multicast-routingRouter1(config)#ip pim rp-addressRouter1(config)#192.168.15.5interfaceRouter1(config-if)#FastEthernet0/0ip addressRouter1(config-if)#192.168.1.1 255.255.255.0ip pim sparse-dense-modeRouter1(config-if)#exitRouter1(config)#interfaceRouter1(config-if)#Serial1/0ip addressRouter1(config-if)#192.168.2.5 255.255.255.252ip pim sparse-dense-modeRouter1(config-if)#endRouter1#
The second type of configuration is for a candidate RP router, called Router RP1. This router may also support group members or servers. As in the previous recipe, it is a good idea to configure two or more routers in each multicast domain like this to provide redundancy:
Router-RP1#configure terminal Enter configuration commands, one per line. End with CNTL/Z. ...Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access