460 | Internet Group Management Protocol (IGMP)w w w . d e l l . c o m | s u p p o r t . d e l l . c o m To receive multicast traffic from a particular source, a host must join the multicast group to which thesource is sending traffic. A host that is a member of a group is called a receiver. A host may join manygroups, and may join or leave any group at any time. A host joins and leaves a multicast group by sendingan IGMP message to its IGMP Querier. The querier is the router that surveys a subnet for multicastreceivers, and processes survey responses to populate the multicast routing table.IGMP messages are encapsulated in IP packets, as shown in the following illustration.Joining a Multicast GroupThere are two ways that a host may join a multicast group: it may respond to a general query from itsquerier or it may send an unsolicited report to its querier.Responding to an IGMP Query1. One router on a subnet is elected as the querier. The querier periodically multicasts (toall-multicast-systems address 224.0.0.1) a general query to all hosts on the subnet.2. A host that wants to join a multicast group responds with an IGMP Membership Report that containsthe multicast address of the group it wants to join (the packet is addressed to the same group). Ifmultiple hosts want to join the same multicast group, only the report from the first host to respondreaches the querier and the remaining hosts suppress their responses (see Adjusting Query andResponse Timers for how the delay timer mechanism works).3. The querier receives the report for a group and adds the group to the list of multicast groups associatedwith its outgoing port to the subnet. Multicast traffic for the group is then forwarded to that subnet.Sending an Unsolicited IGMP ReportA host does not have to wait for a general query to join a group. It may send an unsolicited IGMPMembership Report, also called an IGMP Join message, to the querier.Leaving a Multicast Group1. A host sends a membership report of type 0x17 (IGMP Leave message) to the all routers multicastaddress 224.0.0.2 when it no longer cares about multicast traffic for a particular group.Version(4)IHL TOS(0xc0)Total Length Flags Frag Offset IGMP PacketHeaderChecksumSrc IP AddrTTL(1)Protocol(2)Dest IP Addr Options(Router Alert)PaddingPreamble Start FrameDelimiterDestination MAC Source MAC Ethernet Type IP Packet PaddingfnC0069mpType Max. ResponseTimeGroup AddressChecksumCode: 0x11: Membership Query0x12: IGMP version 1 Membership Report0x16: IGMP version 2 Membership Report0x17: IGMP Leave Group8 bits 16 bitsMay be zero and ignored by hosts forgeneral queries or contain a groupaddress for group-specific queriesFCS