IP Multicast Configuration Examples

Okapi > Packet routing protocols > IP Multicast-PIM

 

Introduction

 

IP multicasting is a bandwidth-conserving technology that reduces traffic because it simultaneously delivers a single stream of information to thousands of corporate recipients and homes. This document discusses the basics of how to configure multicast for various networking scenarios. The "Source" in the examples throughout this document represents the source of multicast traffic, and "Receiver" represents the receiver of multicast traffic.

 

 

Network Diagram

 

 

 

Multicast with PIM dense mode

 

Introduction

 

The basic assumption behind PIM-DM is that the multicast packet stream has receivers at most locations. That is, it is assumed that most (or at least many) subnets in the network will want any given multicast packet. Multicast data is initially sent to all hosts in the network. Routers that do not have any interested hosts then send PIM Prune messages to remove themselves from the tree. PIM-DM starts by flooding the multicast traffic, and then stopping it to each link where it is not needed, using a Prune message. This example uses simple dense mode for multicast.

 

Configuration

Router A

ip multicast router pimd-dm

interface FastEthernet? 0
ip address 192.168.1.1 255.255.0.0
ip pim dense-mode

interface Serial 0
ip address 202.16.1.1 255.255.0.0
ip pim dense-mode

Router B

ip multicast router pimd-dm

interface Serial 0
ip address 202.16.1.2 255.255.0.0
ip pim dense-mode

interface FastEthernet? 0
ip address 172.16.1.1 255.255.0.0
ip pim dense-mode