ICMP
Part of the network layer; instrumental in controlling
and managing, troubleshooting. There is
no transport header, the ICMP message resides inside an IP packet. Rfc 792
Echo request/reply
Sent and received by ping. Pinging means sending an echo request. Any data sent in echo request is returned in
echo reply. See extended ping.
Destination unreachable
1) network unreachable-no match in routing table at
destination- sent by router
2) host unreachable- routes to destination network but
no host response- sent by router
3) can’t
fragment- don’t fragment bit is set and a router must fragment in order to
forward the packet (packet too large)- sent by router
4) protocol unreachable(unlikely, TCP or UDP)- delivered
to host but layer 4 (transport) protocol is not available- sent by host
5) port unreachable- delivered to host, but destination
port is not open- sent by host
ping codes: ! = echo received
. = nothing received before ping time out
U
= unknown host
N = unknown network
P
= unreachable port
Q
= source quench
M
= can’t fragment code
?
= packet unknown
Time exceeded
TTL (time to live) field in IP header has expired,
therefore discarded (decremented by a router before forwarding; at zero, see
ya) TRACE uses time exceeded
Redirect
Used to tell the host there is a better local
router to ship the packet to
No comments:
Post a Comment