Open navigation menu
Close suggestions
Search
Search
en
Change Language
Upload
Sign in
Sign in
Download free for days
0 ratings
0% found this document useful (0 votes)
11 views
4 pages
ICMP Query Message Notes
Internet Control Message Protocol ICMP Notes
Uploaded by
sthapana
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content,
claim it here
.
Available Formats
Download as PDF or read online on Scribd
Download
Save
Save ICMP Query Message Notes For Later
Share
0%
0% found this document useful, undefined
0%
, undefined
Print
Embed
Report
0 ratings
0% found this document useful (0 votes)
11 views
4 pages
ICMP Query Message Notes
Internet Control Message Protocol ICMP Notes
Uploaded by
sthapana
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content,
claim it here
.
Available Formats
Download as PDF or read online on Scribd
Carousel Previous
Carousel Next
Download
Save
Save ICMP Query Message Notes For Later
Share
0%
0% found this document useful, undefined
0%
, undefined
Print
Embed
Report
Download
Save ICMP Query Message Notes For Later
You are on page 1
/ 4
Search
Fullscreen
443 Query 1, Messages (ICMPv4) : The ICMP can diagnose some of the Helwork problems, This is in addition with the error reporting feature. Such a diagnosis is done through the'query messages. . ges isa group of five ctferent pairs of The query messai messages as shown in Fig. 1.13.1. _—+ 1. Echo requost and reply |_+ 2. Time stamp request and reply Query —__+ 3, addross mask request and reply |» 4, Router solicitation and advertisement + 5. Information request and reply messages (G-2112) Fig. 1.13.1 : Query messages However out of these five pairs of messages, only two pairs are being used today. They are : 1. Echo request and reply. 2. Timestamp request and reply. Let us discuss them one by one. 13.1 Echo Request and Reply : This pair of query messages has been designed for the diagnostic purpose. This pair of messages is utilized by ‘the network managers and users for identifying the network problems. This pair of query Messages would determine whether the two given systems (either hosts or routers) can communicate with each other or'not. The communication will take place as follows : 1. Ahost or router sends the echo-request message to another host or router it wants to communicate to. 2 The host or router which receives the echo request message will create an echo-reply message and sends it back to the original sender. © Scanned with OKEN Scanner~ We can also use the determine if the 1p not echo-request ech, I reply pair level communication ic Pot * 55 present or ~The network managers can use th echo reply pair of messages to eh, P protocol "© €cho request ang 'eck the operation of = Aost can also use this message pair to host is reachable oF not. At the users fo by invoking the packet Internet (ping). See if another ve this s done oper command = Nowa days a version of pin most sens which can see sora ing of echo-request and echo-reply messages for providing statistical information. = It is also possible to check whether a node is functioning properly or not with the help of the echo- request echo reply pair of messages. The format of the echo request echo reply pair of messages is as shown in Fig, 1132. fH 8 bts oe 8 bis ote 18 bts wt a eet | TPO Bor O]_Code ro ‘checksum | Tpeot Tsentiior Sequonce numbor Opiional data Sent by the request message, ropoated by the reply message (G-2113) Fig, 1.13.2: Echo request and echo reply messages ~ Infig, 1.132, the protocol does not formally define the identifier and sequence number fields. Therefore the sender can use them in an arbitrary manner. 1.43.2 Timestamp Request and Reply : ~ This pair of messages can be used by the hosts and routers to find out the round trip time that an IP datagram needs to travel between them. = Itcan also be used for synchronizing the clock signals used in the two machines (hosts or routers). ~ Fig. 1.133 shows the format of these two messages. fe B bits se 8 bits —o}e——— 16 bits ——4 Typo 19: S Rea; [Tipertaorla] Code 6 Checksum Typo 14 Identifier “Sequence number Reply ‘Original timestamp Receive timestamp Transmit imesiamp (G-2114) Fig. 1.13.3 : Formiat of timestamp request and 437 ‘midnight in Univers sa time, Eventhough, the 32 bi between 0 and 4,294: case can have the = 24 x 60x 60 1000, Wt field can represent » number ‘967.295 but a timestamp in this ‘maximum value of 86,400,000 ‘The timestamp request message is created by the SOUrCE. I fils the original timestamp field at depenure time, and fil the other two timestamp fields wil zeros The timestamp reply ‘Message is created by the destination host. The original ‘timestamp value from the timestamp request message is copied as itis into the original timestamp field in the timestamp reply message, by the destination, — The destination then fills up the receive timestamp field by the time at which the request was received. - At the end the destination fils up the transmit timestamp field with the departure time of the reply message. ‘Computation of one way or round trip time (RTT) : = We can use the pair of timestamp messages to compute the one way or RTT ic. the time required by the datagram to travel from source to destination and then come back to source again, as follows inal timestamp. © Sending time = receive timestamp - Receiving time = returned time ~ transmit timestamp. Rount trip time = sending time + receiving time. = If we want the calculations of the sending time and receiving time to be accurate, then the two clocks in the source and destination computers should be synchronized. = But the calculation of RTT will be correct even’ if the clocks at the source and destination machines are not synchronized. = We can calculate the one way time duration by dividing the RTT by two. 4.13.3 Deprecated Messages : IETF has declared the following three pairs of query messages as obsolete : timestamp reply messages 1. _ Information request and reply messages. y TechKnowledgi © Scanned with OKEN Scanner13 ‘ACN (Comp. ‘Sem S/MSBTE) ——$——— 2. Address mask request and reply messages: 3. Router solicitation and advertisement. 4. The Information request and reply messages : ~ These messages are not used now a days becouse the Address Resolution Protocol (ARP) is. doing their duties, 2, Address mask requost and roply : ~The IP address of a host contains a network address, subnet address and host iden — A bhost may know its full IP address but may not know it is divided into three parts mentioned above, ~ _ Soiit can send an address mask request message to the router. The router then sends back the address ‘mask reply message. ~ These messages are not being used today because their duties are done by the Dynamic Host Configuration Protocol (DHCP), 3. Router solicitation and advertisement : - A host that wants to send data to 2 host on ‘another network must know the address of routers Connected to its own network, ~ In such situations the router solicitation and advertisement messages can help. = A host can broadcast or multicast a router solicitation message. The routers receiving this message can broadcast their routing information Using the router advertisement message. These messages are not being used today because their duties are done by the DHCP. 1.13.4 Checksum : ~ Earlier we have discussed the concept of checksum. In ICMP, the entire message (including the header and data) is considered for calculation of checksum, Checksum calculation : ~ The checksum calculation is done at the sending end by following the steps given below: 1. Set the checksum field to zero, 2. Calculate the sum of all the 26 bit words including header and data. © —— © Scanned with OKEN ScannerNetwork Layer & Pro, Store}. 4-38 3, Obtain the checksum by complementing the wd calculated in step 2. 4,. Store the checksum.in the checksum field. Checksum testing : The following steps are followed by the receiver using 1's complement arithmetic : Calculate the sum of all words (header and data). 1.. 2. Complement the sum calculated in step 1. 3. Accept the message if the result obtained in step 2 is 16 zeros. Otherwise the message is rejected. © scanned with OKEN Scanner
You might also like
AG - BT05 - E1 - P1 Interconnecting Networks With TCPIP V1.1 78p
PDF
No ratings yet
AG - BT05 - E1 - P1 Interconnecting Networks With TCPIP V1.1 78p
78 pages
02 ICMPv6 and Neighbor Discovery
PDF
No ratings yet
02 ICMPv6 and Neighbor Discovery
41 pages
ICMP Notes
PDF
No ratings yet
ICMP Notes
5 pages
Fragmentation Notes
PDF
No ratings yet
Fragmentation Notes
1 page
Session 3 Network Layer Updated
PDF
No ratings yet
Session 3 Network Layer Updated
64 pages
Unit V Slides
PDF
No ratings yet
Unit V Slides
164 pages
2024pis5017 CNS Lab 1
PDF
No ratings yet
2024pis5017 CNS Lab 1
22 pages
Mod4 Final
PDF
No ratings yet
Mod4 Final
26 pages
ACN Chapter 1 - Part 3 Notes
PDF
No ratings yet
ACN Chapter 1 - Part 3 Notes
6 pages
Arp & Rarp Protocol
PDF
No ratings yet
Arp & Rarp Protocol
71 pages
Itn Module 13 Fol
PDF
No ratings yet
Itn Module 13 Fol
28 pages
Exp 5
PDF
No ratings yet
Exp 5
8 pages
CH 21
PDF
No ratings yet
CH 21
38 pages
ICMP Debugging Tools
PDF
No ratings yet
ICMP Debugging Tools
3 pages
Ch4.G CN Network Layer
PDF
No ratings yet
Ch4.G CN Network Layer
38 pages
Acn Mic
PDF
No ratings yet
Acn Mic
9 pages
Icmp Error Message and Traceroute
PDF
No ratings yet
Icmp Error Message and Traceroute
15 pages
18 - ICMP Messages Types
PDF
No ratings yet
18 - ICMP Messages Types
20 pages
ch3 Arp-Icmp
PDF
No ratings yet
ch3 Arp-Icmp
19 pages
ICMP
PDF
No ratings yet
ICMP
42 pages
ACN Notes Next Generation IP
PDF
No ratings yet
ACN Notes Next Generation IP
12 pages
ACN Notes Unit 3
PDF
No ratings yet
ACN Notes Unit 3
12 pages
5 Internet Control Message Protocol (ICMP)
PDF
No ratings yet
5 Internet Control Message Protocol (ICMP)
25 pages
Unit 1
PDF
No ratings yet
Unit 1
108 pages
Lecture 5
PDF
No ratings yet
Lecture 5
26 pages
Domain Name System Notes
PDF
No ratings yet
Domain Name System Notes
9 pages
Internet Control Message Protocol (ICMP)
PDF
100% (2)
Internet Control Message Protocol (ICMP)
43 pages
ACN Notes Unicast Routing Protocols
PDF
No ratings yet
ACN Notes Unicast Routing Protocols
14 pages
Ping Traceroute
PDF
No ratings yet
Ping Traceroute
20 pages
WIreshark
PDF
No ratings yet
WIreshark
11 pages
DHCP Notes
PDF
No ratings yet
DHCP Notes
6 pages
Iten06c - Midterm
PDF
No ratings yet
Iten06c - Midterm
10 pages
ACN Telnet Notes
PDF
No ratings yet
ACN Telnet Notes
13 pages
Tutorial 3 - Network Layer Protocols
PDF
No ratings yet
Tutorial 3 - Network Layer Protocols
6 pages
DLD Lab11
PDF
No ratings yet
DLD Lab11
7 pages
hw2 Soln
PDF
No ratings yet
hw2 Soln
9 pages
Open Shortest Path First Notes
PDF
No ratings yet
Open Shortest Path First Notes
4 pages
Mobile IP Notes
PDF
No ratings yet
Mobile IP Notes
4 pages
An Error Reporting Mechanism (ICMP)
PDF
No ratings yet
An Error Reporting Mechanism (ICMP)
23 pages
Laboratory Session 06
PDF
No ratings yet
Laboratory Session 06
10 pages
ICMP
PDF
No ratings yet
ICMP
11 pages
Simple Mail Transfer Protocol Notes
PDF
No ratings yet
Simple Mail Transfer Protocol Notes
4 pages
ACN Notes Multicast Routing Protocols
PDF
No ratings yet
ACN Notes Multicast Routing Protocols
4 pages
A Short Module On The Internet Control Message Protocol (ICMP)
PDF
No ratings yet
A Short Module On The Internet Control Message Protocol (ICMP)
13 pages
Icmp Error Reporting
PDF
No ratings yet
Icmp Error Reporting
58 pages
Review Questions of Next Generation IP
PDF
No ratings yet
Review Questions of Next Generation IP
2 pages
IPV4 Vs IPV6
PDF
No ratings yet
IPV4 Vs IPV6
2 pages
Multicast Routing PIM Notes
PDF
No ratings yet
Multicast Routing PIM Notes
2 pages
Border Gateway Protocol Notes
PDF
No ratings yet
Border Gateway Protocol Notes
3 pages
Telnet and SSH Notes
PDF
No ratings yet
Telnet and SSH Notes
4 pages
BI-5 ICMPv6 PDF
PDF
No ratings yet
BI-5 ICMPv6 PDF
48 pages
Assignment 3
PDF
No ratings yet
Assignment 3
3 pages
Routing Information Protocol (RIP)
PDF
No ratings yet
Routing Information Protocol (RIP)
2 pages
Transition From IPV4 To IPV6
PDF
No ratings yet
Transition From IPV4 To IPV6
2 pages
CN Unit Test
PDF
No ratings yet
CN Unit Test
11 pages
Working of ICMP
PDF
No ratings yet
Working of ICMP
45 pages
Govt. S.K.S.J. T. Institute: Department of Electronics and Communication Computer Communication Networks
PDF
No ratings yet
Govt. S.K.S.J. T. Institute: Department of Electronics and Communication Computer Communication Networks
16 pages
Practical 18
PDF
No ratings yet
Practical 18
3 pages
Wireshark Lab 4a
PDF
No ratings yet
Wireshark Lab 4a
14 pages
Internet Control Message Protocol ICMP 2 PDF
PDF
No ratings yet
Internet Control Message Protocol ICMP 2 PDF
23 pages
Network Layer (Part 6) : Computer Networks
PDF
No ratings yet
Network Layer (Part 6) : Computer Networks
31 pages
Internet Control Message Protocol (ICMP)
PDF
No ratings yet
Internet Control Message Protocol (ICMP)
17 pages
Name: Amgad Tarek Abdelaty Mohamed
PDF
No ratings yet
Name: Amgad Tarek Abdelaty Mohamed
27 pages
Chapter 9
PDF
No ratings yet
Chapter 9
21 pages
IT Networking and Communication: MITS4004
PDF
No ratings yet
IT Networking and Communication: MITS4004
15 pages
Internet Protocols
PDF
No ratings yet
Internet Protocols
23 pages
University of Engineering & Technology (UET) Taxila Computer Communication Networks LAB
PDF
No ratings yet
University of Engineering & Technology (UET) Taxila Computer Communication Networks LAB
7 pages
TCP/IP Suite Error and Control Messages
PDF
No ratings yet
TCP/IP Suite Error and Control Messages
28 pages
IP Wireshark Lab
PDF
No ratings yet
IP Wireshark Lab
25 pages
CCNAv3.3 208
PDF
No ratings yet
CCNAv3.3 208
27 pages
Internet Control Message Protocol
PDF
No ratings yet
Internet Control Message Protocol
32 pages
Network Assignment
PDF
No ratings yet
Network Assignment
4 pages
Internet Control Message Protocol (ICMP) : Group - 4
PDF
No ratings yet
Internet Control Message Protocol (ICMP) : Group - 4
13 pages
Internet Command Message Protocol (ICMP)
PDF
No ratings yet
Internet Command Message Protocol (ICMP)
10 pages
Lab-Icmp Wireshark Ref
PDF
No ratings yet
Lab-Icmp Wireshark Ref
7 pages