IGMPv1 vs IGMPv2 vs IGMPv3: IGMP Versions

Google ADs

IGMP has three versions – IGMPv1 released in 1989, IGMPv2 released in 1997 and IGMPv3 in 2002. IGMPv2 improved version 1 by adding the ability for a host to signal a desire to leave a multicast group. Similarly, IGMPv3 has enhancements over version 2. It supports source-specific multicast and introduces membership report aggregation

IGMP Versions

IGMPv1

It was the first IGMP version that allowed to explicitly announce its willingness to receive particular multicast traffic. This version had two messages only:

  • The Membership Query
  • Membership Reply

The Membership Query was always sent to 224.0.0.1 by multicast routers, and the Membership Report was always sent by stations to the group that a station wanted to join.

Google ADs

There was no message to announce that a station is leaving (unsubscribing) a multicast group, resulting in situations that multicast stream was fed to a segment even after all stations have left the particular group.

Only after a timeout period the router discovered that there are no more subscribers to the group, and stopped the multicast feed.

IGMPv2

The next version of IGMP among other IGMP versions had some enhancement:

  1. Membership Query was of both types i.e. general (sent to 224.0.0.1) and group-specific (sent to a particular multicast group). The general Membership Query is used to find out all multicast groups that the stations are subscribed to. The group-specific Membership Query is used to find out if there is a subscriber for a particular group.
  2. Leave a message (A new message )to advertise that a station is unsubscribing from a multicast group, allowing the router to stop an unnecessary multicast stream feed much more promptly.
  3. IGMPv2 cleared the way how a multicast querier (a router that sends Queries) is elected if there are multiple multicast routers connected to a common network. In IGMPv1, all multicast routers were expected to send Queries. The IGMPv2 stipulates that only the multicast router with the lowest IP address on the segment shall become the Querier and send Queries. Other routers are free to listen to the Replies (they have to do it anyway) but they do not send Queries themselves.

IGMPv3

It was introduced as a need to support source-specific multicast. The IGMPv1/IGMPv2 does not have the capability to specify a particular sender. The extensions of the IGMP to support the source-specific multicast led to the creation of the IGMPv3.

Related- IGMP Basics

Comparison: IGMPv1 vs IGMPv2 vs IGMPv3

Below table summarizes the differences between the three versions of IGMP:

FEATUREIGMPv1IGMPv2IGMPv3
1st Octet value for Query message0x110x110x11
Group address for General query0.0.0.00.0.0.00.0.0.0
Destination address for General query224.0.0.1224.0.0.1224.0.0.1
Default Query Interval60 sec125 sec125 sec
1st octet value for Report0x120x160x22
Group address for the reportJoining multicast group addressJoining multicast group addressJoining multicast group address and source address
Is report suppression mechanism availableYesYesNo
Can max response time be configuredNo , fixed at 10 secYes,0 to 25.5 secYes,0 to 53 min
Can a host send a leave group messageNoYesYes
Destination address for leave group message224.0.0.2224.0.0.22
Can a Router send Group-specific query?NoYesYes
Can a Host send Source and group specific reports?NoNoYes
Can router end Source and Group specific Queries?NoNoYes
Rule for Electing a Querier?None (depends on multicast routing protocol)Router with the lowest IP address on the subnetRouter with the lowest IP address on the subnet
Compatible with other Versions of IGMP?NoYes, only with IGMP v1Yes, with both IGMP v1 and v2

Download the comparison table: IGMPv1 vs IGMPv2 vs IGMPv3

References:

https://en.wikipedia.org/wiki/Internet_Group_Management_Protocol

References – https://www.safaribooksonline.com/library/view/ccie-routing-and/9780133590890/ch07lev2sec5.html, https://en.wikipedia.org/wiki/Internet_Group_Management_Protocol

ABOUT THE AUTHOR


Leave a Comment

Your email address will not be published. Required fields are marked *

Shopping Cart