Error Reporting and Multicasting
Internetworking Technology
1
Outline
• ICMP
• IGMP
• ICMPv6
22.2
ICMPv4
• The IPv4 has no error-reporting or error-correcting
mechanism.
• The IP protocol also lacks a mechanism for host and
management queries.
• The Internet Control Message Protocol version 4
(ICMPv4) has been designed to compensate for the
above two deficiencies.
22.3
ICMPv4 MESSAGES
• ICMP messages are divided into two broad categories:
o error-reporting messages and
o query messages.
• The error-reporting messages report problems that a
router or a host (destination) may encounter when it
processes an IP packet.
• ICMP always reports error messages to the original
source.
• The query messages, which occur in pairs, help a host
or a network manager get specific information from a
router or another host.
22.4
19.5
General format of ICMP messages
Error-reporting messages
Data section
Code ChecksumType
8 bits 8 bits 16 bits
Rest of the header
Query messages
Data section
Code ChecksumType
8 bits 8 bits 16 bits
Identifier Sequence number
Code : specifies the reason for a particular message type (eg. sub-types of destination
unreachable)
Rest of the header : specific for each message type (eg. reason why the error
occurred)
Data section: carries information for finding the original packet which caused the
error. In query messages, data section carries extra information based on the type of
query.
ICMP Header Types
• Destination unreachable – IP datagram could not be
forwarded.
• Source quench – indication that congestion is being
encountered.
• Redirection – information regarding an alternate route,
results in routing-table update.
• Time exceeded – TTL has become zero.
• Parameter problem –problem in the IP header/options.
• Echo – to ascertain reachability of a host/router. Usually
implemented using PING.
• Timestamp – to ascertain single or round trip time (RTT).
18.6
19.7
Contents of data field for the error messages
The following shows how we send a ping message to the auniversity.edu site. We
set the identifier field in the echo request and reply message and start the
sequence number from 0; this number is incremented by one each time a new
message is sent. Note that ping can calculate the round-trip time. It inserts the
sending time in the data section of the message. When the packet arrives, it subtracts
the arrival time from the departure time to get the round-trip time (rtt).
Example of PING using Echo
19.822.8
IGMP
• The protocol that is used today for collecting
information about group membership is the Internet
Group Management Protocol (IGMP).
• It is not a Multicast routing protocol.
• IGMP is a protocol defined at the network layer; it is
one of the auxiliary protocols, like ICMP, which is
considered part of the IP.
• IGMP messages, like ICMP messages, are encapsulated
in an IP datagram.
• Before discussing IGMP, we need to discuss some
multicasting basics:
o multicast addressing, and
o collecting information about multicast groups.
22.9
Multicasting
• In multicasting, there is one source and a group of
destinations. The relationship is one to many.
• In this type of communication, the source address is a
unicast address, but the destination address is a group
address, a group of one or more destination networks in
which there is at least one member of the group that is
interested in receiving the multicast datagram.
• The group address defines the members of the group.
22.10
21.11
Multicasting
Multicast Addresses
• In multicast communication, the sender is only one, but
the receivers are many, sometimes thousands or millions
spread all over the world.
• It should be clear that we cannot include the addresses
of all recipients in the packet. The destination address of
a packet, as described in the Internet Protocol (IP)
should be only one.
• For this reason, we need multicast addresses. A
multicast address defines a group of recipients, not a
single one.
• In other words, a multicast address is an identifier for a
group.
22.12
21.13
Need for multicast addresses
Multicast Addresses
• Multicast group address is identified by 1110 as the first
four bits.
• Remember that
o a receiving host has its IP address.
o multicast address identifies a multicast.
o multicast address G is not a destination address, though it is
placed in DA field.
o a host interested in multicast G configures its interface to
accept the multicast G.
1 1 1 0 Group address
Address range : 11100000 00000000 00000000 00000000 = 224.0.0.0
11101111 11111111 11111111 11111111 = 239.255.255.255
22.14
Collecting Information
• Creation of forwarding tables in both unicast and
multicast routing involves two steps:
1. A router needs to know to which destinations it is
connected.
2. Each router needs to propagate information obtained
in the first step to all other routers so that each router
knows to which destination each other router is
connected.
22.15
21.16
Unicast versus multicast advertisement
Multicast Forwarding
• Another important issue in multicasting is the decision a
router needs to make to forward a multicast packet.
Forwarding in unicast and multicast communication is
different.
22.17
21.18
Forwarding depends on the destination and the source
IGMP Messages
• There are only two types of messages in IGMP, query and
report messages.
• A query message is periodically sent by a router to all hosts
attached to it to ask them to report their interests about
membership in groups.
• A report message is sent by a host as a response to a query
message.
• IGMP operation:
22.19
IGMP Message Types
Membership
query
22.20
IGMP Message Format
22.21
IGMP Encapsulation
22.22
IGMP Router
22.23
ICMPv6
• Another protocol that has been modified in version 6 of
the TCP/IP protocol suite is ICMP.
• This new version, ICMPv6, follows the same strategy
and purposes of version 4.
• ICMPv6, however, is more complicated than ICMPv4:
o some protocols that were independent in version 4 are
now part of ICMPv6 and
o some new messages have been added to make it more
useful.
22.24
22.25
Comparison of network layer in version 4 and version 6
22.26
Categories of ICMPv6 messages
Error-Reporting Messages
• As we saw in our discussion of version 4, one of the
main responsibilities of ICMPv6 is to report errors.
• Five types of errors are handled: destination
unreachable, packet too big, time exceeded, parameter
problems, and redirection.
• Note that the source-quench message, which is used to
control congestion in version 4, is eliminated in this
version because the priority and flow label fields in
IPv6 are supposed to take care of congestion.
• Also, packet too big, is added in this version.
22.27
21.28
Comparison of error-reporting messages in ICMPv4 and ICMPv6
Informational Messages
• Two of the ICMPv6 messages can be categorized as
informational messages: echo request and echo reply
messages.
• The echo-request and echo-reply messages are designed
to check whether two devices in the Internet can
communicate with each other.
• A host or router can send an echo-request message to
another host; the receiving computer or router can reply
using the echo-reply message.
22.29
Neighbor-Discovery Messages
• Several messages in ICMPv4 have been redefined in
ICMPv6 to handle the issue of neighbor discovery.
• Some new messages have also been added to provide
extension.
• The most important issue is the definition of two new
protocols that clearly define the functionality of these
group messages:
o the Neighbor-Discovery (ND) protocol and
o the Inverse-Neighbor-Discovery (IND) protocol.
22.30
Group Membership Messages
• The management of multicast delivery handling in IPv4
is given to the IGMPv3 protocol. In IPv6, this
responsibility is given to the Multicast Listener
Delivery protocol. MLDv1 is the counterpart to
IGMPv2; MLDv2 is the counterpart to IGMPv3.
• The idea is the same as discussed in IGMPv3, but the
sizes and formats of the messages have been changed to
fit the larger multicast address size in IPv6.
• Like IGMPv3, MLDv2 has two types of messages:
membership-query message and membership-report
message.
22.31
21.32
Comparison of query messages in ICMPv4 and ICMPv6

More Related Content

PPTX
MULTICAST BY SAIKIRAN PANJALA
PPTX
IP Multicasting
PPTX
Message queuing telemetry transport (mqtt)
PPTX
ACA-CM2 Architecture shared memory model
PPT
Bootp and dhcp
PPTX
MULTICAST BY SAIKIRAN PANJALA
IP Multicasting
Message queuing telemetry transport (mqtt)
ACA-CM2 Architecture shared memory model
Bootp and dhcp

What's hot (20)

PPTX
Cache memory and virtual memory
PPTX
Point To Point Protocol
PPTX
Tcp/ip model
PPTX
PPTX
Border Gateway Protocol (BGP)
PPTX
PPP (Point to Point Protocol)
PPTX
Igmp presentation
PPTX
The Message Passing Interface (MPI) in Layman's Terms
PPT
Ip multicast
PPT
MEDIUM ACCESS CONTROL Sublayer IN CN.ppt
PPTX
Unit 4-Transport Layer Protocols.pptx
PPTX
Transport layer
PDF
Parallel and Distributed Computing Chapter 10
PPTX
Electronic mail - Computer Networks
PPTX
Introduction of tcp, ip & udp
PPT
OSI Layers
PPTX
TCP/IP Introduction
PPTX
ELEMENTS OF TRANSPORT PROTOCOL
PPTX
Cache memory and virtual memory
Point To Point Protocol
Tcp/ip model
Border Gateway Protocol (BGP)
PPP (Point to Point Protocol)
Igmp presentation
The Message Passing Interface (MPI) in Layman's Terms
Ip multicast
MEDIUM ACCESS CONTROL Sublayer IN CN.ppt
Unit 4-Transport Layer Protocols.pptx
Transport layer
Parallel and Distributed Computing Chapter 10
Electronic mail - Computer Networks
Introduction of tcp, ip & udp
OSI Layers
TCP/IP Introduction
ELEMENTS OF TRANSPORT PROTOCOL
Ad

Viewers also liked (13)

PPT
PDF
Network Programming
PPT
Embedded System-design technology
PPT
Arp and rarp
PPT
Networking Java Socket Programming
PPTX
Arp (address resolution protocol)
PPT
Protocol Ppt[1]
PPTX
Protocols
PPT
Network protocol
PPT
TCP/IP Network ppt
PDF
Network protocols
PPTX
Internet protocol (ip) ppt
Network Programming
Embedded System-design technology
Arp and rarp
Networking Java Socket Programming
Arp (address resolution protocol)
Protocol Ppt[1]
Protocols
Network protocol
TCP/IP Network ppt
Network protocols
Internet protocol (ip) ppt
Ad

Similar to It 3-icmp-igmp (20)

PPT
Chapter 21
DOCX
ICMP-IGMP protocols of Network Layer for ipv4
PDF
Module 4 part 2.pdf this is computer networs module for cse students for study
PPTX
PPT
21 Network Layer_Address_Mapping_Error_Reporting_and_Multicasting
PPT
(Icmp) internet control message protocol version 4
PPT
PPTX
Address Mapping includes ARP, RARP, ICMP
PPT
jpl-multicast.ppt
PPTX
Ch 19 Network-layer protocols - section 2
PPT
5. icmp
PPTX
Network Layer Part 6
PDF
Multicast IP addresses Part 1
PPTX
Et3003 sem2-1314-8 network layers v (icmpv4)
PPT
Multicasting.ppt
PPT
Chap 10 igmp
PPTX
Solving QoS multicast routing problem using aco algorithm
PDF
IGMP - Notes forouzan
PPT
ICMP.ppt
Chapter 21
ICMP-IGMP protocols of Network Layer for ipv4
Module 4 part 2.pdf this is computer networs module for cse students for study
21 Network Layer_Address_Mapping_Error_Reporting_and_Multicasting
(Icmp) internet control message protocol version 4
Address Mapping includes ARP, RARP, ICMP
jpl-multicast.ppt
Ch 19 Network-layer protocols - section 2
5. icmp
Network Layer Part 6
Multicast IP addresses Part 1
Et3003 sem2-1314-8 network layers v (icmpv4)
Multicasting.ppt
Chap 10 igmp
Solving QoS multicast routing problem using aco algorithm
IGMP - Notes forouzan
ICMP.ppt

Recently uploaded (20)

PDF
Univ-Connecticut-ChatGPT-Presentaion.pdf
PDF
How ambidextrous entrepreneurial leaders react to the artificial intelligence...
PDF
From MVP to Full-Scale Product A Startup’s Software Journey.pdf
PPTX
O2C Customer Invoices to Receipt V15A.pptx
PPTX
Chapter 5: Probability Theory and Statistics
PPTX
The various Industrial Revolutions .pptx
PDF
Transform Your ITIL® 4 & ITSM Strategy with AI in 2025.pdf
PDF
Five Habits of High-Impact Board Members
PDF
WOOl fibre morphology and structure.pdf for textiles
PDF
Unlock new opportunities with location data.pdf
PDF
TrustArc Webinar - Click, Consent, Trust: Winning the Privacy Game
PPTX
Group 1 Presentation -Planning and Decision Making .pptx
PPTX
Final SEM Unit 1 for mit wpu at pune .pptx
DOCX
search engine optimization ppt fir known well about this
PDF
NewMind AI Weekly Chronicles – August ’25 Week III
PDF
Getting started with AI Agents and Multi-Agent Systems
PPTX
Tartificialntelligence_presentation.pptx
PDF
Video forgery: An extensive analysis of inter-and intra-frame manipulation al...
PDF
Microsoft Solutions Partner Drive Digital Transformation with D365.pdf
PDF
Taming the Chaos: How to Turn Unstructured Data into Decisions
Univ-Connecticut-ChatGPT-Presentaion.pdf
How ambidextrous entrepreneurial leaders react to the artificial intelligence...
From MVP to Full-Scale Product A Startup’s Software Journey.pdf
O2C Customer Invoices to Receipt V15A.pptx
Chapter 5: Probability Theory and Statistics
The various Industrial Revolutions .pptx
Transform Your ITIL® 4 & ITSM Strategy with AI in 2025.pdf
Five Habits of High-Impact Board Members
WOOl fibre morphology and structure.pdf for textiles
Unlock new opportunities with location data.pdf
TrustArc Webinar - Click, Consent, Trust: Winning the Privacy Game
Group 1 Presentation -Planning and Decision Making .pptx
Final SEM Unit 1 for mit wpu at pune .pptx
search engine optimization ppt fir known well about this
NewMind AI Weekly Chronicles – August ’25 Week III
Getting started with AI Agents and Multi-Agent Systems
Tartificialntelligence_presentation.pptx
Video forgery: An extensive analysis of inter-and intra-frame manipulation al...
Microsoft Solutions Partner Drive Digital Transformation with D365.pdf
Taming the Chaos: How to Turn Unstructured Data into Decisions

It 3-icmp-igmp

  • 1. Error Reporting and Multicasting Internetworking Technology 1
  • 3. ICMPv4 • The IPv4 has no error-reporting or error-correcting mechanism. • The IP protocol also lacks a mechanism for host and management queries. • The Internet Control Message Protocol version 4 (ICMPv4) has been designed to compensate for the above two deficiencies. 22.3
  • 4. ICMPv4 MESSAGES • ICMP messages are divided into two broad categories: o error-reporting messages and o query messages. • The error-reporting messages report problems that a router or a host (destination) may encounter when it processes an IP packet. • ICMP always reports error messages to the original source. • The query messages, which occur in pairs, help a host or a network manager get specific information from a router or another host. 22.4
  • 5. 19.5 General format of ICMP messages Error-reporting messages Data section Code ChecksumType 8 bits 8 bits 16 bits Rest of the header Query messages Data section Code ChecksumType 8 bits 8 bits 16 bits Identifier Sequence number Code : specifies the reason for a particular message type (eg. sub-types of destination unreachable) Rest of the header : specific for each message type (eg. reason why the error occurred) Data section: carries information for finding the original packet which caused the error. In query messages, data section carries extra information based on the type of query.
  • 6. ICMP Header Types • Destination unreachable – IP datagram could not be forwarded. • Source quench – indication that congestion is being encountered. • Redirection – information regarding an alternate route, results in routing-table update. • Time exceeded – TTL has become zero. • Parameter problem –problem in the IP header/options. • Echo – to ascertain reachability of a host/router. Usually implemented using PING. • Timestamp – to ascertain single or round trip time (RTT). 18.6
  • 7. 19.7 Contents of data field for the error messages
  • 8. The following shows how we send a ping message to the auniversity.edu site. We set the identifier field in the echo request and reply message and start the sequence number from 0; this number is incremented by one each time a new message is sent. Note that ping can calculate the round-trip time. It inserts the sending time in the data section of the message. When the packet arrives, it subtracts the arrival time from the departure time to get the round-trip time (rtt). Example of PING using Echo 19.822.8
  • 9. IGMP • The protocol that is used today for collecting information about group membership is the Internet Group Management Protocol (IGMP). • It is not a Multicast routing protocol. • IGMP is a protocol defined at the network layer; it is one of the auxiliary protocols, like ICMP, which is considered part of the IP. • IGMP messages, like ICMP messages, are encapsulated in an IP datagram. • Before discussing IGMP, we need to discuss some multicasting basics: o multicast addressing, and o collecting information about multicast groups. 22.9
  • 10. Multicasting • In multicasting, there is one source and a group of destinations. The relationship is one to many. • In this type of communication, the source address is a unicast address, but the destination address is a group address, a group of one or more destination networks in which there is at least one member of the group that is interested in receiving the multicast datagram. • The group address defines the members of the group. 22.10
  • 12. Multicast Addresses • In multicast communication, the sender is only one, but the receivers are many, sometimes thousands or millions spread all over the world. • It should be clear that we cannot include the addresses of all recipients in the packet. The destination address of a packet, as described in the Internet Protocol (IP) should be only one. • For this reason, we need multicast addresses. A multicast address defines a group of recipients, not a single one. • In other words, a multicast address is an identifier for a group. 22.12
  • 14. Multicast Addresses • Multicast group address is identified by 1110 as the first four bits. • Remember that o a receiving host has its IP address. o multicast address identifies a multicast. o multicast address G is not a destination address, though it is placed in DA field. o a host interested in multicast G configures its interface to accept the multicast G. 1 1 1 0 Group address Address range : 11100000 00000000 00000000 00000000 = 224.0.0.0 11101111 11111111 11111111 11111111 = 239.255.255.255 22.14
  • 15. Collecting Information • Creation of forwarding tables in both unicast and multicast routing involves two steps: 1. A router needs to know to which destinations it is connected. 2. Each router needs to propagate information obtained in the first step to all other routers so that each router knows to which destination each other router is connected. 22.15
  • 17. Multicast Forwarding • Another important issue in multicasting is the decision a router needs to make to forward a multicast packet. Forwarding in unicast and multicast communication is different. 22.17
  • 18. 21.18 Forwarding depends on the destination and the source
  • 19. IGMP Messages • There are only two types of messages in IGMP, query and report messages. • A query message is periodically sent by a router to all hosts attached to it to ask them to report their interests about membership in groups. • A report message is sent by a host as a response to a query message. • IGMP operation: 22.19
  • 24. ICMPv6 • Another protocol that has been modified in version 6 of the TCP/IP protocol suite is ICMP. • This new version, ICMPv6, follows the same strategy and purposes of version 4. • ICMPv6, however, is more complicated than ICMPv4: o some protocols that were independent in version 4 are now part of ICMPv6 and o some new messages have been added to make it more useful. 22.24
  • 25. 22.25 Comparison of network layer in version 4 and version 6
  • 27. Error-Reporting Messages • As we saw in our discussion of version 4, one of the main responsibilities of ICMPv6 is to report errors. • Five types of errors are handled: destination unreachable, packet too big, time exceeded, parameter problems, and redirection. • Note that the source-quench message, which is used to control congestion in version 4, is eliminated in this version because the priority and flow label fields in IPv6 are supposed to take care of congestion. • Also, packet too big, is added in this version. 22.27
  • 28. 21.28 Comparison of error-reporting messages in ICMPv4 and ICMPv6
  • 29. Informational Messages • Two of the ICMPv6 messages can be categorized as informational messages: echo request and echo reply messages. • The echo-request and echo-reply messages are designed to check whether two devices in the Internet can communicate with each other. • A host or router can send an echo-request message to another host; the receiving computer or router can reply using the echo-reply message. 22.29
  • 30. Neighbor-Discovery Messages • Several messages in ICMPv4 have been redefined in ICMPv6 to handle the issue of neighbor discovery. • Some new messages have also been added to provide extension. • The most important issue is the definition of two new protocols that clearly define the functionality of these group messages: o the Neighbor-Discovery (ND) protocol and o the Inverse-Neighbor-Discovery (IND) protocol. 22.30
  • 31. Group Membership Messages • The management of multicast delivery handling in IPv4 is given to the IGMPv3 protocol. In IPv6, this responsibility is given to the Multicast Listener Delivery protocol. MLDv1 is the counterpart to IGMPv2; MLDv2 is the counterpart to IGMPv3. • The idea is the same as discussed in IGMPv3, but the sizes and formats of the messages have been changed to fit the larger multicast address size in IPv6. • Like IGMPv3, MLDv2 has two types of messages: membership-query message and membership-report message. 22.31
  • 32. 21.32 Comparison of query messages in ICMPv4 and ICMPv6