Assignment#4: Name: Ahsan Iqbal Reg# Sp17-BCS-044 Submitted To: Dr. Salman Iqbal Subject: Wireless Networks
Assignment#4: Name: Ahsan Iqbal Reg# Sp17-BCS-044 Submitted To: Dr. Salman Iqbal Subject: Wireless Networks
Name:
Ahsan Iqbal
Reg#
Sp17-BCS-044
Submitted to:
Dr. Salman Iqbal
Subject:
Wireless Networks
Definition of ICMP:
ICMP (Internet Control Message Protocol) is an error-reporting protocol network device like
routers use to generate error messages to the source IP address when network problems prevent delivery
of IP packets. ICMP creates and sends messages to the source IP address indicating that a gateway to the
Internet that a router, service or host cannot be reached for packet delivery. Any IP network device has
the capability to send, receive or process ICMP messages. ICMP is not a transport protocol that sends
data between systems.
Explanation:
While ICMP is not used regularly in end-user applications, it is used by network administrators to
troubleshoot Internet connections in diagnostic utilities including ping and traceroute. One of the main
protocols of the Internet Protocol suite, ICMP is used by routers, intermediary devices or hosts to
communicate error information or updates to other routers, intermediary devices or hosts. The widely
used IPv4 (Internet Protocol version 4) and the newer IPv6 use similar versions of the ICMP protocol
(ICMPv4 and ICMPv6, respectively).
ICMP messages are transmitted as datagrams and consist of an IP header that encapsulates the ICMP
data. ICMP packets are IP packets with ICMP in the IP data portion. ICMP messages also contain the
entire IP header from the original message, so the end system knows which packet failed The ICMP
header appears after the IPv4 or IPv6 packet header and is identified as IP protocol number 1. The
complex protocol contains three fields:
Following the three fields is the ICMP data and the original IP header to identify which packets actually
failed. ICMP has been used to execute denial-of-service attacks (also called the ping of death) by sending
an IP packet larger than the number of bytes allowed by the IP protocol.
In computer networking, the ICMP Internet Router Discovery Protocol (IRDP), also called the Internet
Router Discovery Protocol, is a protocol for computer hosts to discover the presence and location
of routers on their IPv4 local area network. Router discovery is useful for accessing computer systems on
other nonlocal area networks. The IRDP is defined by the IETF RFC 1256 standard, with the Internet
Control Message Protocol (ICMP) upon which it is based defined in IETF RFC 792. IRDP eliminates the
need to manually configure routing information.