CLOUD CONCEPT

IGMP

IGMP is the IPv4 control protocol that hosts and adjacent multicast routers use to manage multicast group membership.

Cloud Concepts Hub →

What is IGMP

The Internet Group Management Protocol lets receivers express interest in multicast traffic so the network can deliver a shared stream to participating hosts. It matters when designing one-to-many applications because successful multicast requires both receiver membership management and a network that explicitly supports multicast forwarding.

Internet Group Management Protocol, or IGMP, manages receiver membership in IPv4 multicast groups. An application joins a group through its operating system, typically using a socket API, and the host sends membership reports on the relevant interface. A multicast router or equivalent network function sends queries to discover whether receivers remain interested. This control exchange allows the network to maintain forwarding state rather than treating every host as a recipient.

IGMP is not the application data transport. It uses IP protocol number 2, not a TCP or UDP port. Application traffic commonly uses UDP addressed to an IPv4 multicast group within 224.0.0.0/4. A sender does not need to join a group merely to transmit to it; joining expresses receiver interest. IGMP also does not calculate routes between multicast routers. Protocols such as Protocol Independent Multicast perform that separate function, while IGMP operates between hosts and their adjacent multicast router.

Protocol versions affect interoperability. IGMPv2 provides group membership reports, queries, and leave messages. IGMPv3 adds source filtering, allowing receivers to express which sources they want to receive or exclude. This supports source-specific multicast when the rest of the network also supports it. IPv6 uses Multicast Listener Discovery rather than IGMP. On traditional Ethernet networks, IGMP snooping lets switches observe membership exchanges and limit multicast delivery to interested ports; snooping is not a substitute for multicast routing or a functioning querier.

Cloud networks do not necessarily behave like Ethernet LANs. An ordinary Amazon VPC does not provide native multicast forwarding simply because an instance joins a group. AWS Transit Gateway provides multicast domains for supported VPC attachments and associated subnets, including an IGMPv2 membership mode. Engineers must enable multicast support on the transit gateway, create and configure the domain, associate the required subnets, and verify participating instance and network-interface support. Statically managed multicast membership is another configuration option, but it is not equivalent to learning receiver membership through IGMP.

For example, several EC2-based analytics workers might consume the same UDP market-data stream. Each worker joins the configured multicast group on its intended network interface, while the multicast-capable infrastructure replicates the stream toward registered receivers. Verify both the control plane and data plane: membership reports must reach the network, and the actual UDP packets must reach the application. Security groups, network ACLs, host firewalls, interface selection, and application socket settings can independently prevent successful reception. Permit the necessary IGMP exchanges and application traffic rather than assuming that opening a UDP port alone is sufficient.

Hybrid designs require particular care. Transit Gateway multicast does not natively extend across AWS Direct Connect, Site-to-Site VPN, or transit gateway peering attachments. Connecting an on-premises router to AWS therefore does not automatically extend its multicast groups into a VPC. A practical alternative is a multicast gateway or application relay that encapsulates or converts traffic into unicast across the hybrid connection and forwards it into the destination multicast environment. The tunnel endpoints, routing design, and multicast infrastructure must explicitly support this behavior; IGMP membership messages do not create that connectivity.

Multicast can reduce duplicate transmissions from a sender and avoid sending a separate stream over every shared upstream link. However, it adds membership state, compatibility constraints, operational complexity, and potentially infrastructure and transfer charges. IGMP provides neither reliable delivery nor receiver authorization. Applications must handle loss, duplication, and ordering as necessary, and sensitive streams require appropriate access controls and encryption. During troubleshooting, inspect group membership, protocol compatibility, query and report exchanges, forwarding state, UDP delivery, and tunnel MTU rather than relying only on unicast connectivity tests.

Key aspects of IGMP

IGMP manages IPv4 multicast receiver membership, but successful delivery also depends on compatible forwarding infrastructure, traffic controls, and an explicit design for cloud and hybrid boundaries.

Receiver-driven group membership

Hosts report interest in multicast groups, and a querier checks whether that interest remains. Applications must join the correct group on the correct interface; a sender does not need to join merely to transmit.

Separate control and data planes

IGMP uses IP protocol number 2 to manage membership, while application payloads commonly use UDP. Troubleshoot and authorize these traffic types separately because successful membership does not prove successful data delivery.

Version-dependent source selection

IGMPv2 manages group membership, while IGMPv3 adds source filtering. Verify the supported version throughout the deployment rather than assuming that a managed multicast service supports IGMPv3 or source-specific multicast.

Local membership, separate routing

IGMP communicates membership between hosts and an adjacent multicast router or equivalent function. Multicast routing between networks and IGMP snooping within switches are separate mechanisms.

Explicit cloud multicast support

An ordinary cloud subnet is not automatically a multicast-capable LAN. Use supported multicast infrastructure and configure domain associations, receiver membership, instance compatibility, and traffic controls.

Hybrid boundaries and operational trade-offs

A unicast VPN or private connection does not inherently transport native multicast or extend IGMP membership. Gateways or relays can bridge the application traffic across that boundary, but introduce additional capacity, availability, MTU, and operational requirements.

Cloud services for IGMP

Amazon EC2 hosts run the sending and receiving applications inside Amazon VPC subnets. AWS Transit Gateway supplies supported multicast forwarding through multicast domains, while IGMPv2 membership identifies interested receivers when that mode is enabled. VPC security controls and host firewalls must permit the required control exchanges and application packets. For on-premises integration, AWS Direct Connect can carry unicast traffic between gateway or relay endpoints, but it does not itself extend the multicast domain. The hybrid design must explicitly handle encapsulation or replication, gateway availability, capacity, and MTU.

AWS Transit Gateway image AWS Transit Gateway

Provides multicast domains for supported VPC attachments and associated subnets, with IGMPv2-based receiver membership or statically managed membership. Its multicast capability does not natively extend across Direct Connect, Site-to-Site VPN, or transit gateway peering attachments.

Open AWS Transit Gateway →
Amazon EC2 image Amazon EC2

Runs multicast senders, receivers, and software gateways. Applications and operating systems manage group membership on instance interfaces, while engineers must verify the instance type, host configuration, and network-interface compatibility with the chosen multicast implementation.

Open Amazon EC2 →
Virtual private cloud VPC_32 image Amazon VPC

Provides the subnets, interfaces, security groups, and network ACLs surrounding multicast workloads. A VPC does not offer native multicast forwarding by itself; supported multicast infrastructure and the necessary subnet associations are required.

Open Amazon VPC →
AWS Direct Connect image AWS Direct Connect

Can provide the unicast connectivity used by a hybrid multicast overlay or application relay. It does not natively carry multicast into a Transit Gateway multicast domain or extend on-premises IGMP membership.

Open AWS Direct Connect →