Definition
IGMP snooping lets switches observe multicast membership messages and select receiver ports. Multicast distribution trees organise forwarding between routers toward networks containing listeners.
Intuition
At a switch, the question is “Which ports need this group?” At a router, it is “Which branches lead toward interested networks?” Both reduce unnecessary copies at different network layers.
Example
The lecture’s switch connects A, B, and C. A and C join a group; B does not. With IGMP snooping, the stream is forwarded toward A and C rather than B.
Added tree example: Alice and Bob are on separate LANs downstream of one router. Their stream traverses a shared upstream link once; the router copies packets onto the two downstream branches.
Important rules
| Mechanism | Role |
|---|---|
| IGMP | Hosts report interest to local routers |
| IGMP snooping | Switches learn listener ports by inspecting membership traffic |
| Multicast routing | Routers establish forwarding toward interested networks |
- Membership information is control traffic; the delivered stream is data traffic.
- A LAN can need traffic even if only one host on it listens.
- Selective switch forwarding depends on multicast support and configuration.
- Distribution trees avoid a sender-originated copy for every individual receiver on shared paths.
Common mistakes
- Assuming IGMP snooping replaces multicast routing.
- Assuming every switch automatically filters multicast to listener ports.
- Treating multicast as exactly one packet everywhere: branching requires copies.
- Assuming normal unicast routing alone enables multicast delivery.
Related concepts
- IGMP and Multicast Group Membership
- IPv4 Multicast to Ethernet MAC Mapping
- IPv4 Multicast Groups and Addresses
Source
Lecture 01f - IPv4 Multicast, PDF pages 5 and 7-8. The tree example, comparison table, and configuration caveats are added study explanations.