Summary

  • A mobile node's genuine home address could still fail a visited network's source-prefix check. Being the rightful holder of an address says nothing about whether that address belongs on this particular wire.
  • Reverse tunneling gave the trip to the home agent an outer source the visited network could accept, while the original communication endpoints stayed untouched inside the packet.
  • Direct and encapsulating delivery were different bargains. Their negotiation, locality checks and binding checks stayed strictly separate from encryption, firewall traversal and the question of whether the data ever arrived.

A true address, standing in the wrong doorway

Picture the packet. It is addressed to its correspondent and it carries its sender's home address — the same address it has carried since the machine was configured, the one every correspondent already knows by heart. Nothing about the mobile node's claim to that address has changed. What has changed is the door it is walking out of.

An address that makes perfect sense at home can look like a stranger when it emerges from somebody else's connection. That is the awkward bill for a genuinely good idea. RFC 2002, published in October 1996, described IPv4 mobility across subnets while keeping a home address intact. A home agent intercepted traffic aimed at that address and tunneled it to a care-of address marking wherever the machine happened to be. The correspondent never had to relearn the endpoint every time the laptop moved.

A care-of address could belong to a foreign agent serving several mobile nodes, or to the mobile node itself. In the first arrangement the foreign agent terminated the tunnel and delivered locally; in the second, the mobile node did. The shared-agent case spared every visitor from having to obtain a separate local IPv4 address.

Incoming traffic therefore had a reason to pass through the home agent. Outgoing traffic did not obviously need the same treatment. The original model assumed routing by destination rather than by source: the mobile node could send toward its correspondent from the visited network, keeping its home source address, without first going home.

That assumption described forwarding. It did not settle admission. A network could reasonably ask whether a packet with that source ought to be arriving over that particular connection before it ever consulted the route to the destination.

The bouncer was checking geography, not morals

RFC 2827, issued as BCP 38 in May 2000, recommended restricting which source prefixes a network accepts from its downstream links. The motive was spoofing: knowing a route to a destination is no reason to accept any source that claims to be on the way.

A mobile node could sit outside the permitted range while telling the truth. Its home prefix genuinely lived somewhere else. The filter was testing topological plausibility — does this source belong on this wire? — not adjudicating who owned the address or what sort of person was doing the typing.

The document saw the Mobile IP problem coming and pointed at reverse tunneling. It did not say to abandon source validation the moment a visitor appeared, and it did not say to throw away stable addressing either. It suggested giving the communication endpoint and the current transit segment separate fields to live in.

The check had a ceiling in the other direction too. A spoofed address inside the allowed prefix still sailed straight through. A plausible prefix was never proof of an individual sender, and the reverse-tunnel design would have to keep that distinction rather than convert one useful test into universal trust.

Two headers, two jobs

The fix arrived in RFC 2344 in May 1998 and was revised by RFC 3024 in January 2001. "Reverse" simply meant the opposite direction from the conventional tunnel running from home agent down to mobile node. Outgoing traffic now went home first, then onward to the correspondent.

It leaned on the split described in RFC 2003. An inner IP header describes the conversation; an outer header describes the tunnel. On the foreign-agent-to-home-agent leg, the outer source was the foreign agent's care-of address and the outer destination was the home agent, while the mobile node's home address stayed put inside as the source.

So the visited network saw an outer source that suited the departure point, and the original endpoint had not been renamed. One packet, two address relationships, each answering a different question for a different part of the journey.

Wrapping is not sealing. Encapsulation did not make the contents secret, and preserving the inner endpoints did not freeze every inner bit — forwarding could still touch fields such as TTL. Nor did matching tunnel endpoints in both directions guarantee that the packets retraced the same physical links on the way back.

The extra wrapper fixed one specific mismatch. It could not make every intervening policy happy. RFC 3024 said so plainly, excluding any general solution to firewall traversal from its scope.

Direct or wrapped: two ways to hand it over

Direct delivery made the foreign agent the mobile node's default router. The node sent the original packet with no additional local wrapper; the agent did the intercepting and encapsulating needed to send it home. This supported unicast reverse tunneling, but not the selective kind.

Encapsulating delivery made the node do a first wrap itself, addressed to the foreign agent, which peeled it off and applied a second one for the home agent. Two handoffs — not one outer header gliding through both agents untouched.

The first wrapper's source was still the home address. Only when the foreign agent built the second wrapper did the outer source become the care-of address. Collapse the two steps and you get a tidy but wrong picture: the mobile node borrowing the foreign agent's address as its own on the local leg.

The extra step bought a choice. Once encapsulating delivery had been negotiated, the foreign agent had to stop reverse-tunneling the node's unencapsulated packets and forward them normally instead. A mobile node could therefore reach something local — a printer down the hall — without sending every exchange home first.

Ordinary forwarding still obeyed local routes and local policy. Nobody promised the printer was reachable or in a mood to accept the job. The specification preserved the choice of treatment, not an exemption from the visited network's rules.

Encapsulating delivery was also mandatory for broadcast and multicast reverse tunneling through a foreign agent. The two styles differed in scope as well as packaging, and no helpful agent could erase that by shoving every recognisable mobile packet down the same return path.

A T bit is an offer, not a promise

The T bit in an agent advertisement offered reverse-tunnel service. The T bit in a Registration Request asked to use it. An advertisement was not acceptance of a particular request, and acceptance was not the sight of data landing at the correspondent.

Encapsulating delivery rode on an extension of type 130 and length zero. Without it, the requested style was direct. It must not accompany a request with T clear. It had a specified position relative to the authentication extensions, and the foreign agent consumed it rather than passing it along to the home agent.

That made it a local delivery choice inside one relationship — not a declaration that every downstream network understood or admitted the resulting traffic.

The implementation bar moved too. RFC 2344 required a foreign agent advertising reverse tunneling to support both delivery styles. RFC 3024 kept direct delivery mandatory but demoted encapsulating delivery to recommended. Code 79 could flag rejection of a style the agent did not support.

The IANA Mobile IP registry confirms that assignment. A stale parenthesis in RFC 3024 still says 79 was not yet assigned, while the allocation section and the change appendix record it. Read the parenthesis alone and you write a false history of the registry — a reminder that old specifications must be compared against themselves as well as against their successors.

The registration that succeeded and still left you stranded

If the reverse-tunnel request failed, a node could retry with T clear and obtain a registration. RFC 3024 warned that this might be useless for moving data. Where source filtering had made the reverse tunnel necessary in the first place, the successful retry had quietly removed the only thing that got packets out.

The reply was not lying. It had accepted a less demanding arrangement. The error was reading that acceptance as a promise about the whole data path. A compatibility retry can turn a precise refusal into a later failure whose cause is far harder to see.

Registration also carried a locality check: the request had to go out with TTL 255, and the foreign agent verified the value. Any IP router in between knocked it down. That limited certain hijack attempts from beyond the local link, though it did nothing about a hostile neighbour already standing on it.

At the home agent, the specification required a decapsulation binding check and recommended switching it on by default. The outer source had to match the registered care-of address, the inner source the mobile home address, and the encapsulation the negotiated method. A missing binding or the wrong encapsulation meant the packet was dropped.

That constrained the transit service. It did not cryptographically authenticate the contents of every packet. The text allowed a discouraged exception for an agent terminating unrelated tunnels, so the default recommendation should not be retold as a claim that the check was always on everywhere.

Even the direction of the message that updates a binding matters. A verified technical erratum for RFC 3024 corrects Registration Reply to Registration Request in that passage. Copy the uncorrected sentence and you get the wrong account of which input changes state.

Private addresses still needed somewhere to mean something

RFC 3024's main discussion assumed a shared address space. Its appendix considered constrained arrangements across different spaces — not a general promise of NAT traversal, and not a cure for arbitrarily overlapping private networks.

Foreign and home agents still had to reach each other in the outer address space. Inner addresses still had to mean the right thing in their own communication domains. Repeated private home addresses behind different home agents could be told apart only with the necessary context.

For local delivery, that context included a secure association with the right mobile node at the link layer. The security section required secure link-layer identity for the arrangement and did not recommend unauthenticated shared Ethernet. An extra header can carry context; it cannot conjure a trustworthy local identity out of nothing.

In November 2010, RFC 5944 was still talking about reverse tunneling when it discussed ingress filtering. That is evidence the architectural problem persisted — not a deployment count, and not a claim that all mobile networking went this way.

The packet that went home first did so to make one leg of its journey legible to the network carrying it. Its home address stayed stable, its outer source fitted the departure point, and its local traffic could sometimes stay local. None of that entitled it to cross every boundary. The design worked because different checks were asked different questions — and because nobody mistook one good answer for all of them.