Lesson Overview
Multicast is a network communication method that allows a single source to send data efficiently to multiple receivers within a multicast group. This lesson covers multicast fundamentals, IP addressing, IGMP, PIM, multicast routing, Cisco configuration, troubleshooting, and real-world applications such as IPTV and live streaming.
Learning Objectives
By the end of this lesson, learners will be able to:
Understand multicast communication and its benefits.
Differentiate between Unicast, Broadcast, and Multicast.
Identify multicast IPv4 addresses (
224.0.0.0 – 239.255.255.255).Explain IGMP and multicast group membership.
Understand PIM Dense Mode and Sparse Mode.
Explain multicast routing, distribution trees, and RPF.
Configure and verify multicast on Cisco devices.
Troubleshoot common multicast connectivity issues.
Explore real-world multicast applications.
|
Simple idea Think of multicast like a live TV channel. The server sends one stream to a group address. Routers copy the stream only where the network path branches toward interested viewers. A receiver must join the group before its local router forwards the stream to that LAN. |
1. Introduction to Multicast
In traditional networking, data is commonly transmitted using Unicast or Broadcast communication.
Unicast sends data from one source to one destination. Broadcast sends traffic to every device within a broadcast domain.
However, some applications require the same information to reach multiple receivers simultaneously.
Examples include live video streaming, IPTV, financial market data, and enterprise video distribution.
Sending separate Unicast streams to every receiver can consume significant bandwidth.
Multicast solves this problem by allowing a source to transmit one stream that network devices replicate only where necessary to reach interested receivers.
Example
A company broadcasts a live training session to 500 employees.
With Unicast, the source may need to send 500 separate streams.
With Multicast, the source sends a stream to a multicast group, and multicast-enabled network devices replicate traffic along the distribution path.
This can significantly reduce bandwidth consumption near the source.
2. Types of Network Communication
|
Feature |
Unicast |
Broadcast |
Multicast |
|
Communication |
One-to-one |
One-to-all |
One-to-many |
|
Destination |
Single receiver |
All devices in broadcast domain |
Joined multicast receivers |
|
Bandwidth |
Separate streams |
Can generate unnecessary traffic |
Efficient group delivery |
|
Common Use |
Web browsing |
ARP in IPv4 |
IPTV, live streaming |
|
IPv4 Destination |
Unicast address |
Broadcast address |
Class D address |
3. Multicast Fundamentals
Multicast is a way to send one copy of the same traffic from a source to many interested receivers. The source does not build a separate session for every receiver. Instead, it sends traffic to a multicast group address, and the network creates copies only when needed.
|
Example A live training server sends video to group 239.1.1.1. Fifty students may watch the stream, but the server still sends one stream toward the network. Routers replicate packets only at points where paths split toward different receiver locations. |
3.1 Main multicast components
Source (S): the device creating multicast traffic, for example 10.10.10.10.
Group (G): the multicast destination address, for example 239.1.1.1.
Receiver: a host that joins the multicast group because it wants the traffic.
First-hop router / source DR: router directly connected to the source LAN.
Last-hop router / receiver DR: router directly connected to the receiver LAN.
IGMP: host-to-router protocol used to report multicast group membership in IPv4.
PIM: router-to-router control protocol used to build multicast distribution trees.
RPF: reverse-path check that protects the multicast topology from loops and wrong incoming paths.
RP (Rendezvous Point): meeting point used by PIM Sparse Mode for Any-Source Multicast (ASM).
3.2 Important multicast state notation
|
State |
Meaning |
Simple interpretation |
|
(*,G) |
Any source, one group |
Shared-tree state. The router knows receivers want group G, but the specific source is not part of this entry. |
|
(S,G) |
Specific source, one group |
Source-tree state. The router knows traffic for group G must come from source S. |
|
RPT |
Rendezvous Point Tree |
Shared distribution tree rooted logically at the RP. |
|
SPT |
Shortest Path Tree |
Source-specific tree that follows the best unicast path back to the source. |
4. Multicast Addressing
IPv4 multicast addresses are destination addresses used to identify groups. A source normally keeps its normal unicast source IP address and places a multicast group address in the destination field.
|
Range |
Purpose |
Important note |
|
224.0.0.0/4 |
Complete IPv4 multicast address space |
224.0.0.0 through 239.255.255.255. |
|
224.0.0.0/24 |
Local network control |
Normally not routed beyond the local subnet. Examples include routing-protocol control groups. |
|
232.0.0.0/8 |
Source-Specific Multicast (SSM) |
Used for (S,G) service; RP and MSDP are not needed. |
|
239.0.0.0/8 |
Administratively scoped multicast |
Private multicast space commonly used inside organizations. |
|
239.1.1.1 |
Example ASM group |
Used throughout this module for PIM-SM examples. |
4.1 Layer-2 Ethernet multicast mapping
On Ethernet, an IPv4 multicast group is mapped to a multicast MAC beginning with 01:00:5E. Only 23 bits of the IPv4 multicast group are copied into the MAC mapping, so more than one IPv4 group can map to the same Ethernet multicast MAC. Hosts and switches therefore still need IP-layer group information to filter traffic correctly.
|
CCNP point Do not treat a multicast IP address like a normal host address. It identifies a receiver group, not one physical device. |
5. How Multicast Works
Multicast communication involves three important components:
Multicast Source
Multicast Routers
Multicast Receivers
Multicast Communication Process
A source sends traffic to a multicast group address.
Interested receivers join the multicast group using IGMP.
Multicast routers learn where interested receivers exist.
PIM establishes multicast forwarding paths between routers.
Routers replicate multicast packets only where required.
Receivers obtain the multicast traffic.
Example
A video server sends a live stream to multicast group 239.1.1.1.
PC1 and PC2 join this group.
PC3 does not join.
The network delivers the stream toward PC1 and PC2, while multicast-aware switches and routers can avoid forwarding it unnecessarily toward PC3.
6. Multicast Network Topology
The following topology demonstrates multicast traffic flowing from a video server to multiple receivers through Cisco routers.
This network topology demonstrates how IP Multicast operates using Protocol Independent Multicast – Sparse Mode (PIM-SM)to efficiently distribute video…
