100% Free Forever
AI-Powered Learning
Industry Expert Content
Certificates & Badges
Learn At Your Own Pace

What is Multicast Routing?

Learn what multicast routing is, how IGMP and PIM deliver one stream to many receivers, and where multicast is used in practice.

hardQ128 of 224 in Computer Networks Est. time: 6 minsLast updated:
Open Code Lab

Expected Interview Answer

Multicast routing delivers a single stream of packets from one sender to a defined group of interested receivers simultaneously, using a reserved multicast address (224.0.0.0-239.255.255.255 in IPv4), instead of sending a separate unicast copy to each receiver or flooding a broadcast to everyone.

A host joins a multicast group using IGMP (Internet Group Management Protocol), signalling to its local router that it wants to receive traffic sent to that group address. Multicast-aware routers build a distribution tree using protocols like PIM (Protocol Independent Multicast) so that packets are replicated only at branch points in the network, reaching every member of the group exactly once without the sender needing to know how many receivers exist or where they are. This is dramatically more efficient than unicast for one-to-many delivery — a live video stream to 10,000 viewers sends one packet per link segment near the source rather than 10,000 separate copies — and more efficient than broadcast because only interested receivers get the traffic instead of every host on the network. Multicast is used for IPTV, stock market data feeds, and routing protocol updates, though its adoption across the wider internet has been limited because it requires multicast support end-to-end across every intermediate router, which many ISPs do not enable.

  • Delivers one-to-many traffic far more efficiently than unicast
  • Only interested receivers get traffic, unlike broadcast
  • Sender does not need to track individual receiver addresses
  • Efficient for live streaming, market data, and routing updates

AI Mentor Explanation

Multicast routing is like a stadium public address system that only pipes commentary into the specific stands whose fans have opted into the “commentary feed” that day, rather than a private headset per fan or a blaring announcement across the whole ground. A fan opts in by raising a signal flag (IGMP join), and the system only routes audio down the wiring branches that actually lead to a stand with an opted-in fan. If no one in a stand wants it, that branch carries no traffic at all. This targeted, tree-shaped delivery is exactly how multicast routing works compared to unicast or broadcast.

Step-by-Step Explanation

  1. Step 1

    Group join

    A receiver signals interest in a multicast group address using IGMP to its local router.

  2. Step 2

    Tree construction

    Multicast routers use a protocol like PIM to build a distribution tree connecting the source to all group members.

  3. Step 3

    Replication at branches

    Packets are duplicated only at points in the tree where the path splits toward different receivers.

  4. Step 4

    Delivery to members

    Every group member receives exactly one copy, without the sender tracking individual receiver addresses.

What Interviewer Expects

  • Explains multicast as one-to-many delivery to a defined group
  • Names IGMP for group membership and PIM (or similar) for tree building
  • Contrasts efficiency versus unicast (no per-receiver copies) and broadcast (no unwanted traffic)
  • Aware of real-world use cases and limited internet-wide adoption

Common Mistakes

  • Confusing multicast with broadcast (multicast is opt-in, broadcast reaches everyone)
  • Confusing multicast with anycast (multicast delivers to all group members, not just one)
  • Not knowing IGMP is used for group membership signalling
  • Assuming multicast works transparently across the public internet without ISP support

Best Answer (HR Friendly)

Multicast routing is a way to send one stream of data to many interested recipients at once, efficiently, instead of sending a separate copy to each person or blasting it to everyone on the network whether they want it or not. Think of a live broadcast that only reaches the rooms that actually tuned in — it saves huge amounts of bandwidth for things like live video, stock tickers, and IPTV.

Code Example

Joining and observing a multicast group
# Multicast addresses fall in the 224.0.0.0/4 range
# Example: join and listen on a multicast group with socat

socat UDP4-RECVFROM:5000,ip-add-membership=239.1.1.1:eth0,fork -

# Inspect multicast group memberships on this host
ip maddr show

# View multicast routing entries (if mrouted/PIM is running)
ip mroute show

Follow-up Questions

  • What role does IGMP play in multicast group membership?
  • How does PIM build a multicast distribution tree?
  • Why has multicast not been widely adopted across the public internet?
  • How does multicast differ from anycast?

MCQ Practice

1. What protocol does a host use to join a multicast group?

IGMP (Internet Group Management Protocol) lets a host signal interest in a multicast group to its local router.

2. How does multicast improve on broadcast delivery?

Multicast only delivers to group members that opted in, unlike broadcast which reaches every host on the segment.

3. What IPv4 address range is reserved for multicast?

IPv4 multicast addresses fall in the reserved Class D range, 224.0.0.0 through 239.255.255.255.

Flash Cards

What is multicast routing?Delivering one stream to a group of opted-in receivers, replicated only at tree branch points.

Multicast join protocol?IGMP — Internet Group Management Protocol.

Multicast tree protocol?PIM (Protocol Independent Multicast) builds the distribution tree.

Multicast IPv4 range?224.0.0.0 to 239.255.255.255.

1 / 4

Continue Learning