Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 3

COMPUTER NETWORKS

LAB – 4
LIT2020061
ANJALI CHAUHARY
Q1. What is the IP address of your host? What is the IP address of the destination
host?
My Host IP Address : 192.168.29.229
Destination Host IP Address : 69.49.234.221

Q2. Why is it that an ICMP packet does not have source and destination port
numbers?
ICMP, the Internet Control Message Protocol is part of the TCP/IP protocol suite.
ICMP relates to the Internet Layer, whereas port numbers are only found in the
Transport Layer, which is the layer above.
If this were application layer, it would have source and destination port numbers.
However, this is using network layer so those are not needed.
Q3. Examine one of the ping request packets sent by your host. What are the ICMP
type and code numbers? What other fields does this ICMP packet have? How many
bytes are the checksum, sequence number and identifier fields?
The ICMP type is 8, and the code number is 0. The ICMP packet also has
checksum, identifier, sequence number, and data fields. The checksum, sequence
number and identifier fields are two bytes each.

Q4. Examine the corresponding ping reply packet. What are the ICMP type and
code numbers? What other fields does this ICMP packet have? How many bytes are
the checksum, sequence number and identifier fields?
The ICMP type is 0, and the code number is 0. The ICMP packet also has
checksum, identifier, sequence number, and data fields. The checksum, sequence
number and identifier fields are two bytes each

You might also like