Handling ICMP Messages
After sending a datagram, there may be chances of encapsulator getting ICMP messages from intermediate nodes. The encapsulator takes action for ICMP message depending on the Type and Code of the ICMP messages. The following are the ICMP messages with Type and Code as well as the action taken by the encapsulator:
- Destination Unreachable (Type 3)
- Network Unreachable (Code 0) – ICMP error message with Type 3 Code 0 should be sent to original sender.
- Host Unreachable (Code 1) – ICMP error message with Type 3 Code 0 should be sent to original sender.
- Protocol Unreachable (Code 2) – ICMP error message with Type 3 Code 0 or 1 should be sent to original sender.
- Port Unreachable (Code 3) – No ICMP error message should be sent to original sender.
- Datagram too big (Code 4) – ICMP error message with Type 3 Code 4 should be sent to original sender.
- Source Route Failed (Code 5) – No ICMP error message should be sent to original sender.
- Source Quence (Type 4) – No ICMP error message should be sent to original sender
- Redirect (Type 5) – No ICMP error message should be sent to original sender
- Time Exceeded (Type 6) – ICMP error message with Type 3 Code 1 should be sent to original sender (Case of Routing loops within tunnels)
- Parameter Problem (Type 12)
- If the error message points to a field copied from unencapsulated datagram, then the ICMP error message should be sent to original sender.
- If the error message points to a field inserted by encapsulator, then the ICMP error message should not be sent to original sender
Read more about this topic: IP In IP
Famous quotes containing the words handling and/or messages:
“Mothers risk alienating their mates if they expect them to hold or care for the baby exactly as they do. Fathers who are constantly criticized or corrected may lose interest in handling the baby, and this is a loss for everyone. The cycle is a dangerous one. Now the same mother feels bitter because she is no longer getting any help at home.”
—Cathy Rindner Tempelsman (20th century)
“All the old supports going, gone, this man reaches out a hand to steady himself on a ledge of rough brick that is warm in the sun: his hand feeds him messages of solidity, but his mind messages of destruction, for this breathing substance, made of earth, will be a dance of atoms, he knows it, his intelligence tells him so: there will soon be war, he is in the middle of war, where he stands will be a waste, mounds of rubble, and this solid earthy substance will be a film of dust on ruins.”
—Doris Lessing (b. 1919)