IP in IP - Handling ICMP Messages

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:

    For a novel addressed by a man to men and women of full age; which attempts to deal unaffectedly with the fret and fever, derision and disaster, that may press in the wake of the strongest passion known to humanity; to tell, without a mincing of words, of a deadly war waged between flesh and spirit; and to point the tragedy of unfulfilled aims, I am not aware that there is anything in the handling to which exception can be taken.
    Thomas Hardy (1840–1928)

    Acknowledging separation feelings directly and sympathetically is the best way of coping with them. It is actually helpful to tell a toddler “I’ll miss you,” or “I will think of you during the day,” or “It is hard to say goodbye,” or “I can’t wait to see you at the end of the day.” These messages tell the child that he is important to the parent even when they are not together and that out of sight need not mean out of mind.
    Alicia F. Lieberman (20th century)