Header Munger
Given these constraints, we claim that the only possible solution is to "mung" the headers of IP datagrams at UCL. Thus, when SATNET is partitioned:
(1) The IP addresses of S2, G, and the UCL TAC are unreachable from all US gateways. Therefore, if H sends a packet addressed to one of these destinations, it will be discarded and an ICMP unreachable message returned.
(2) Similarly, the IP address of H is unreachable from the UK side. Hence, if the XNET debugger in a UK host emits a return packet addressed to H, that packet will be dropped.
Therefore, the destination address of each packet from H must be changed in order to reach the UCL side of SATNET (S2 or G), and the source address of each of these packets must be changed so that return packets can reach H. For this purpose, we introduce the Munger host M (see Figure 2).
SATNET
(partitioned)
BBN __ __ UCL
Gateway Simp ( \ \ ) Simp Gateway
____ ___( / / )____ ____
| B |__| S1 | \ \ | S2 |________| G |_____ rsre
|____| |____| / / |____| |____|
| ( \ \ ) |
| (__ / /__) _______|____
________|____ ( )
( ) ( )
( ARPANET ) ( UCL NET )
( ) ( )
(_____________) ( )
| | (_____________)
__|_ | |
| H | | Public Data Nets |
|____| | _______________ _|___
Diagnostic | ( ) | M1 |
Host __|__ ( ) |:::::|
| VAN |* * (* * * * * * * * * *) * * |:::::|
| gw------(--- IP Tunnel -----)------------| M2 |
|_____|* * (* * * * * * * * * *) * * |_____|
VAN ( VANNET ) M
Gateway (_______________) "Header
Munger"
Figure 2. Introduction of Header Munger at UCL
Host "M" (M1/M2) is mulit-homed, appearing as host M2 on VANNET and as host M1 on UCLNET. Like host U (shown in Figure 1), host M2 is the end of an IP Tunnel which communicates with VANgw over an X25 virtual call.
Suppose for example that host H desires to reach the XNET debugger in the SIMP S2. H must send its packets with destination address M1; these will be routed to M1 via VANgw and the IP Tunnel. Host M will change the headers of these datagrams to contain source address M1 and destination S2. S2 will return packets to M1, and M1 will change them back to M2->H packets and launch them back through the VANNET to H.
How does M know how to change the headers?
(1) M could respond to a range of M1 and M2 addresses, and have a fixed table of correspondence.
(2) We propose instead to use the SOURCE ROUTING option in the datagrams. This assumes that H is able to build source-routed datagrams, and is not upset that the intermediate host in the route is not a gateway.
If we further assume that the IP layers in G and S2 can handle source and return routes, then the task is simple. M must contain the source routing algorithm of a gateway, but otherwise act as two hosts (no routing updates, etc).
(3) Although G supports source routing, S2 and the TAC may not. In that case, S2 and the TAC will not be able to recognise the return route in a received packet and use it as a source route in packets sent in reply.
This possibility calls for additional complexity in M, a combination of (1) and (2):
- In the US -> UK direction, the Source Routing option would be used.
- In the reverse direction (UK -> US), mapping of datagram addresses would be controlled by a table in M.
We suggest that M use source routing to get packets from H to S2, and meanwhile build a "soft state" table showing this mapping. When a packet comes from S2 without source routing, M would consult this soft state table to discover how to alter the addresses to reach H again. This would allow only one US host at a time to access a given SATNET host, but surely this is no restriction.
In practice, M2 and U should have different IP tunnels and hence different DTE addresses. Since the caller pays the X25 charges, the IP Tunnel for U will normally be opened only by UCL. On the other hand, the IP Tunnel to M2 will be opened from the US end. Since UCL has only one PSS line, this requires the use of separate X25 subaddresses. The VAN gateway must handle 14 digit X121 addresses, as well as 12 digit addresses.