Course: Internet Architecture and Technologies
Authors: Alessio Sacco, Claudio Casetti, Guido Marchetto, Marco Rapelli.
Source: IPv4 Multicast, local 01f - IPv4Multicast.pdf, PDF pages 1-10.
Lecture date: not supplied. 01f preserves the source filename identifier; it is not a claimed lecture date or sequence number supplied on the title slide.

Lecture summary

IPv4 routing gave us a path to one destination interface. Now suppose many receivers want the same data: how can their paths share a transmission instead of carrying a separate copy for everyone?

So far, the packet has had one destination interface. If many receivers want the same data, separate unicast transmissions repeat copies over shared links. Multicast instead uses an address identifying a group of interested receivers, allowing the network to replicate packets where their paths separate. The group address identifies the audience rather than one ordinary interface. IPv4 Multicast Groups and Addresses

A group address does not tell a router whether anyone on its attached network wants the traffic. IGMP supplies local membership information: hosts indicate interest, and routers maintain knowledge of whether a group has listeners on a link. This answers the local demand question before we consider distribution across several networks. IGMP and Multicast Group Membership

The packet must still travel in a frame on Ethernet. IPv4 multicast groups map to Ethernet multicast MAC addresses, but the mapping is not unique: several IP groups can share one MAC address. Receiving a matching Ethernet frame is therefore not enough to establish that its IP group is the one an application wants. IPv4 Multicast to Ethernet MAC Mapping

Switches can observe IGMP messages to learn which ports need group traffic, reducing unnecessary local distribution. Routers have a different responsibility: forwarding multicast across networks along a distribution tree and copying packets at branch points. Local membership, switch snooping and routed distribution cooperate, but each solves a different part of delivery. IGMP Snooping and Multicast Distribution Trees

Multicast also supports local discovery. A device can ask the local link about a name or service without first knowing the address of a conventional DNS server. mDNS uses link-local multicast for this purpose; discovering something locally does not imply that the query will travel across routers. Multicast DNS and Local Service Discovery

Follow the responsibilities from group addressing to local membership, Ethernet delivery and routed distribution. The examples below make those layers concrete. The next lecture changes a different assumption: the receiver can move between access points. Lecture 02 - Cellular Networks

Topics

  • Group communication and multicast addresses
  • Dynamic membership through IGMP
  • Ethernet multicast addressing and IGMP snooping
  • Delivery across routers using distribution trees
  • Local discovery through mDNS
  • Deployment limitations described by the slides

Big picture

Multicast sends the same data to a group of interested receivers. The sender addresses the group, and the network copies packets where delivery paths split. This avoids sending a separate copy over every shared link for every receiver.

Added study analogy: a multicast group is like a lecture channel. Students choose to tune in; the teacher sends to the channel rather than maintaining a separate stream addressed to each student. Joining a group expresses interest, not permission to access confidential content.

Lecture guide

Group communication (page 3)

A multicast destination address identifies a group of hosts. Receivers can join or leave dynamically and can select which sources they receive from. The slides give videoconferencing and video broadcasting as applications. Routers track local listener interest and deliver traffic toward networks containing receivers.

Added study comparison:

DeliveryDestinationClassroom analogy
UnicastOne receiverSpeak to one student
BroadcastEveryone in a local broadcast domainAddress the whole classroom
MulticastReceivers interested in a groupAddress students who joined a study group

Related: IPv4 Multicast Groups and Addresses.

Group address ranges (page 4)

IPv4 multicast addresses start with binary 1110. Historically called Class D, they span 224.0.0.0 through 239.255.255.255, or 224.0.0.0/4. The destination names a group, not an individual interface. Delivery across routers requires multicast routing support.

Range or addressMeaning in the slides
224.0.0.0/24Local-link control; routers do not forward it
224.0.0.1All hosts on the local link
224.0.0.2All routers on the local link
224.0.0.22IGMPv3-capable multicast routers
224.0.0.251Multicast DNS
232.0.0.0/8Source-specific multicast
239.0.0.0/8Administratively scoped multicast

Added clarification: source-specific multicast identifies reception by both source and group, often written (S, G). The analogy between 239.0.0.0/8 and private addressing concerns administrative scope; it does not supply encryption or authentication.

Local membership through IGMP (pages 5 and 8)

A group address says which group is targeted, but it does not tell a router whether anyone on a link wants the traffic. Membership signaling supplies that information.

The Internet Group Management Protocol (IGMP) carries membership information between hosts and multicast routers on a local network. Its messages are carried directly in IPv4 datagrams and use TTL 1. Receivers report interest; routers periodically send queries to discover whether groups still have listeners.

The page 5 diagram separates group members from non-members and shows a membership report toward the receiver’s local router. The report is a control message; it is not the multicast data stream itself.

Added version clarification: page 8’s report destination 224.0.0.22 describes IGMPv3 membership reports. Do not generalize that destination to all IGMP versions or all IGMP message types.

Added study distinction: IGMP says which groups have local listeners. Multicast routing protocols determine how traffic reaches those networks across routers. Routers need not maintain an individual list of every receiving host across the entire network.

Related: IGMP and Multicast Group Membership.

Ethernet delivery and address mapping (page 6)

Membership establishes interest at the IP layer. Actual delivery on Ethernet still needs a destination MAC address.

On an IEEE 802 LAN, delivery uses a multicast MAC address derived from the multicast IPv4 address. The MAC has 25 fixed leading bits, followed by the IPv4 address’s lowest 23 bits. Five group-address bits are omitted.

Added worked example: 239.1.1.1 maps to 01:00:5e:01:01:01. Because five varying bits are omitted, 32 distinct multicast IP addresses share each such MAC address. A receiver checks the IP destination to distinguish groups sharing that MAC. This is an address-mapping collision, not an Ethernet frame collision.

Related: IPv4 Multicast to Ethernet MAC Mapping.

Switch delivery through IGMP snooping (page 7)

An Ethernet multicast address alone does not identify the interested switch ports. Snooping uses observed membership messages to narrow distribution.

Network interfaces are configured to receive relevant multicast MAC traffic. A switch using IGMP snooping observes membership messages and learns which ports lead to interested receivers. In the slide’s example, A and C receive the multicast stream while B’s port does not.

Added clarification: this selective forwarding depends on switch support and configuration. Without suitable multicast filtering, frames may also reach ports with no interested receiver. Group membership should not be treated as a security boundary.

Related: IGMP Snooping and Multicast Distribution Trees.

Delivery across several networks (page 8)

Local membership and switching explain one link. Across routers, distribution also needs paths that replicate packets where receiver paths diverge.

Routers use IGMP locally and multicast routing protocols between routers. They build distribution trees reaching LANs with at least one listener. The slide describes the principle without supplying a particular routing protocol’s algorithm.

Added example:

                          +--> LAN A: Alice
Sender --> shared path --> router
                          +--> LAN B: Bob
 
LAN C has no listener, so the simplified tree has no branch to C.

A packet crosses the shared path once. At the branch, the router sends one copy toward A and another toward B. This branching is why multicast can reduce traffic compared with separate unicast streams.

Related: IGMP Snooping and Multicast Distribution Trees.

Local name and service discovery with mDNS (page 9)

Multicast DNS (mDNS) resolves names on one link without a central DNS server. Its IPv4 queries use 224.0.0.251, UDP port 5353, and names ending in .local. Responses are usually multicast too, allowing other listening hosts to cache the answer. A host probes a proposed name before announcing it.

The supplied example asks for printer.local, which replies with 192.168.1.20. DNS Service Discovery (DNS-SD) complements name resolution by advertising and finding services such as printers or media receivers.

Because the destination is in 224.0.0.0/24, ordinary routers do not forward these packets. The slides note that large Wi-Fi networks may filter or proxy discovery traffic. Added clarification: a configured discovery proxy is a separate mechanism, not ordinary forwarding of these link-local multicast packets.

Related: Multicast DNS and Local Service Discovery.

Deployment context (page 10)

The slides describe multicast as uncommon across the public Internet and mainly useful in controlled environments: ISP video delivery, local service discovery, enterprise networks, and data centers. Treat this as the source’s deployment assessment, not a newly measured survey. The practical lesson is that multicast delivery cannot be assumed along an arbitrary Internet path.

Worked study example

This example is added explanation, not an assignment from the PDF.

  1. A video application selects group 239.1.1.1.
  2. Alice and Bob request reception; Charlie does not.
  3. Their hosts report membership to local multicast routers through IGMP.
  4. The sender sends packets with destination 239.1.1.1.
  5. Multicast routers forward along the relevant distribution tree and copy packets at branch points.
  6. Switches using IGMP snooping deliver the data toward interested receiver ports.
  7. Receiver IP filtering distinguishes the intended group even if its Ethernet MAC is shared with another group.

The sender’s own source IP remains an individual unicast address. Joining a group is a receiver action; it is not necessary merely to send to that group.

Questions to check understanding

  • Why does multicast save bandwidth on a shared link?
  • What does 239.1.1.1 identify: a host or a group?
  • How do IGMP and multicast routing divide their responsibilities?
  • Why can two multicast IP addresses map to the same MAC address?
  • What does an IGMP-snooping switch learn?
  • Why does an ordinary router not forward an mDNS query?
  • Why is group membership insufficient for access control?

Source and attribution

Alessio Sacco, Claudio Casetti, Guido Marchetto, Marco Rapelli, IPv4 Multicast, local 01f - IPv4Multicast.pdf, 10 pages. Page references use the complete PDF’s order. Page 1 also lists Tecnologie e Servizi di Rete and Computer Network Technologies and Services. Page 2 contains the copyright notice. The original PDF and its figures remain local and are not copied into the public library.

These notes paraphrase the supplied material. The classroom analogy, comparison table, delivery-tree sketch, worked mapping and streaming examples, and explicitly labelled clarifications are added study explanations. The slides cite RFC 5771, RFC 4607, RFC 2365, RFC 7042, RFC 6762, and RFC 6763; those references have not been separately reviewed for these notes.