Solution to Wireshark Lab: ICMP
Fig. 1 Command prompt after ping request
1. What is the IP address of your host? What is the IP address of the destination
host?
The IP address of my host is 192.168.1.101. The IP address of the destination
host is 143.89.14.34.
2. Why is it that an ICMP packet does not have source and destination port
numbers?
The ICMP packet does not have source and destination port numbers because
it was designed to communicate network-layer information between hosts and
routers, not between application layer processes. Each ICMP packet has a
"Type" and a "Code". The Type/Code combination identifies the specific
message being received. Since the network software itself interprets all ICMP
messages, no port numbers are needed to direct the ICMP message to an
application layer process.
评论0