Book Image

Understanding TCP/IP

By : CP Books a.s.
Book Image

Understanding TCP/IP

By: CP Books a.s.

Overview of this book

This book covers in detail the Open System Interconnection (OSI) reference model and the TCP/IP protocols that operate that different layers. Its coverage includes various application protocols. The authors explain in an easy-to-read style networking concepts and protocols, with examples that make the book a practical guide in addition to its coverage of theory.
Table of Contents (20 chapters)
19
Index

5.6 Internet Group Management Protocol

Like ICMP, IGMP is a service protocol for IP. IGMP packets are wrapped into IP datagrams. It is used for forwarding multicasts. Currently, version 2 of the IGMP protocol is up to date with RFC 2236 norms.

The following figure shows the structure of an IGMP version 2 packet:

5.6 Internet Group Management Protocol

Figure 5.30: IGMP v2 packet

The Type field acquires the values shown in the following table:

Value (hexadecimal)

Significance

11

IP Membership query ("Are there any members on the LAN?")

12

IGMPv1 Membership Report

16

IGMPv2 Membership Report

17

IGMPv2 Leave Group

The MRT (Maximum Response Time) field is only used in router requests and specifies (in tenths of a second) the time that members of the group have to repeat their requests for membership in the group. In all other cases, the MTR field has a value of 0.

The checksum is calculated in the same way as with the ICMP protocol. The IP group address field is zero for a general request, and in all other cases...