Icmp Igmp
Icmp Igmp
21.1
General format of ICMP messages
21.2
Types of Messages
Code Field
The code field specifies the reason for the particular message
type
Data Section
The data section in error messages carries information for finding the
original packet that had the error.
In query messages, the data section carries extra information based on the
type of the query.
Note
21.4
Figure 21.9 Error-reporting messages
21.5
Note
21.6
Figure 21.10 Contents of data field for the error messages
21.7
Figure 21.11 Redirection concept
21.8
Figure 21.12 Query messages
21.9
Echo Request and Reply
The echo-request and echo-reply messages are designed for diagnostic purposes.
checksum
In ICMP the checksum is calculated over the entire message (header and
data).
Figure 21.13 Encapsulation of ICMP query messages
21.11
Q: Explain General format of ICMP messages with diagram.
Q : What is Internet Control Message Protocol (ICMP) in Computer Networks
21-3 IGMP
21.14
Figure 21.17 IGMP message format
21.15
Type
This 8-bit field defines the type of message, as shown in Table. The value
of the type is shown in both hexadecimal and binary notation.
This 8-bit field defines the amount of time in which a query must be answered
Checksum This is a 16-bit field carrying the checksum. The checksum is
calculated over the 8-byte message.
Group address
The value of this field is 0 for a general query message. The value defines
the groupid (multicast address of the group) in the special query, the
membership report, and the leave report messages.
Figure 21.18 IGMP operation
21.17
IGMP operation
Joining a Group
Leaving a Group
Monitoring Membership
Delayed Response
21.18
Joining a Group
Note
21.19
Monitoring Membership
Note