Connected: An Internet Encyclopedia
3.3.5 Source Route Forwarding

Up: Connected: An Internet Encyclopedia
Up: Requests For Comments
Up: RFC 1122
Up: 3. INTERNET LAYER PROTOCOLS
Up: 3.3 SPECIFIC ISSUES
Prev: 3.3.4.3 Choosing a Source Address
Next: 3.3.6 Broadcasts

3.3.5 Source Route Forwarding

3.3.5 Source Route Forwarding

Subject to restrictions given below, a host MAY be able to act as an intermediate hop in a source route, forwarding a source- routed datagram to the next specified hop.

However, in performing this gateway-like function, the host MUST obey all the relevant rules for a gateway forwarding source-routed datagrams [INTRO:2]. This includes the following specific provisions, which override the corresponding host provisions given earlier in this document:

  1. TTL (ref. Section 3.2.1.7)

    The TTL field MUST be decremented and the datagram perhaps discarded as specified for a gateway in [INTRO:2].

  2. ICMP Destination Unreachable (ref. Section 3.2.2.1)

    A host MUST be able to generate Destination Unreachable messages with the following codes:

    4 (Fragmentation Required but DF Set) when a source- routed datagram cannot be fragmented to fit into the target network;
    5 (Source Route Failed) when a source-routed datagram cannot be forwarded, e.g., because of a routing problem or because the next hop of a strict source route is not on a connected network.

  3. IP Source Address (ref. Section 3.2.1.3)

    A source-routed datagram being forwarded MAY (and normally will) have a source address that is not one of the IP addresses of the forwarding host.

  4. Record Route Option (ref. Section 3.2.1.8d)

    A host that is forwarding a source-routed datagram containing a Record Route option MUST update that option, if it has room.

  5. Timestamp Option (ref. Section 3.2.1.8e)

    A host that is forwarding a source-routed datagram containing a Timestamp Option MUST add the current timestamp to that option, according to the rules for this option.

To define the rules restricting host forwarding of source- routed datagrams, we use the term "local source-routing" if the next hop will be through the same physical interface through which the datagram arrived; otherwise, it is "non-local source-routing".

If a host receives a datagram with an incomplete source route but does not forward it for some reason, the host SHOULD return an ICMP Destination Unreachable (code 5, Source Route Failed) message, unless the datagram was itself an ICMP error message.


Next: 3.3.6 Broadcasts

Connected: An Internet Encyclopedia
3.3.5 Source Route Forwarding