ICMP & IPv6 in Computer Networks
ICMP & IPv6 in Computer Networks
COMPUTER
NETWORKS
AN OVERVIEW OF INTERNET CONTROL MESSAGE PROTOCOL AND
INTERNET PROTOCOL VERSION 6
INTRODUCTION TO ICMP
• Position in Network Layer: Operates at the network layer of the OSI model.
ICMP PACKET FORMAT
ICMP MESSAGE TYPES
• Error Messages:
• Destination Unreachable
• Time Exceeded
• Parameter Problem
• Source Quench (Deprecated)
• Informational Messages:
• Echo Request & Echo Reply (used by ping)
• Timestamp Request & Reply
ICMP ERROR MESSAGES
• Source Quench: (Deprecated) Instructs the sender to reduce the sending rate.
Type Code Description
0 – Echo Reply 0 Echo reply
0 Destination network unreachable
1 Destination host unreachable
2 Destination protocol unreachable
3 – Destination Unreachable 3 Destination port unreachable
Fragmentation is needed and the DF flag
4
set
5 Source route failed
0 Redirect the datagram for the network
• Ping Utility: Uses Echo Request and Echo Reply for checking the reachability of a host.
• Use Case: Network diagnostic tool to measure round-trip time and packet loss.
ICMP IN NETWORK OPERATIONS
• Path MTU Discovery: Utilizes ICMP to determine the maximum transmission unit (MTU) size
• Main Features: Larger address space, simplified header format, improved security.
IPV6 ADDRESSING
• Address Types:
• Example: 2001:0db8:85a3:0000:0000:8a2e:0370:7334
• Abbreviation Rules:
• Unicast Addresses : Only one interface is specified by the unicast address. A packet moves
from one host to the destination host when it is sent to a unicast address destination.
• Multicast Addresses: It represents a group of IP devices and can only be used as the
destination of a datagram.
• Anycast Addresses: The way the anycast address varies from other addresses is that it can
deliver the same IP address to several servers or devices.
TRANSITION FROM IPV4 TO IPV6
IPv6 has a 128-bit address length IPv4 has a 32-bit address length
It supports Auto and renumbering address configuration It Supports Manual and DHCP address configuration
IPv6 has a header of 40 bytes fixed IPv4 has a header of 20-60 bytes.
IPv6 does not support VLSM(Variable Length subnet mask). IPv4 supports VLSM(Variable Length subnet mask).
CONCLUSION
• IPv6 Advancement: Essential for the growing need for IP addresses and modern network
efficiency.
• Future Outlook: Ongoing transition to IPv6 and continuous role of ICMP in network
operations.