IGMP Cheat Sheet

Overview

  • IGMP (Internet Group Management Protocol) is used by hosts and adjacent routers on an IP network to establish multicast group memberships. It operates at the Network Layer (Layer 3) of the OSI model.

Common Uses

  • Managing and controlling multicast groups in an IPv4 network.

IGMP Message Types

IGMP TypeDescriptionPurpose
Membership QueryMessage sent by routers to ask which multicast groups are joined by hosts.Used to learn about group memberships.
Membership ReportSent by hosts to report their multicast group memberships to routers.Informs routers of the active memberships.
Leave GroupInforms routers that a host is leaving a multicast group.Signals that the group should be maintained or closed if empty.

IGMP Packet Structure

FieldSize (bits)Description
Type8Type of IGMP message (e.g., Query, Report)
Max Response Time8Time allowed before responding to a Query
Checksum16Error-checking field
Group Address32Address of the multicast group
Source Address32Address of the host sending the report (optional)