RFC 1086
RFC 1086
RFC 1086
Onions
Request for Comments: 1086 Nottingham
M. Rose
TWG
December 1988
Introduction
This memo specifies a protocol that is used to bridge ISO TP0 packets
between X.25 and TCP networks. This technique is useful when
interconnecting a DDN IP internet to an X.25 subnetwork. This is not
a "magic bullet" solution to the DDN/ISO interoperability problem.
Rather, if one is running higher-layer ISO protocols in both networks
(namely ISO TP0), then a TP0 bridge can be used to achieve
connectivity.
+---------------------------------+
| |
| +-----------------------------------+
| +----+ | +----+ | +----+ |
| | | | | | | | | |
| | +-----------|-----+ +--------------+ | |
| | | TP0 | | | | TP0 | | |
| +----+ | +----+ | +----+ |
| TCP Host | Bridge Host| X.25 Host |
| | | |
| | | |
| | | |
+-------------------|-------------+ |
TCP/IP Network | |
| |
+-----------------------------------+
X.25 Network
It has been argued that the DoD Transmission Control Protocol (TCP)
[MIL1778, RFC793] can also be seen as providing a connection-oriented
and error-detecting network service. This remark is controversial in
the sense that the TCP is actually an end-to-end transport protocol
and not a network protocol; the DoD Internet Protocol (IP) [MIL1777,
RFC791] is the network protocol in the DoD Protocol Suite. However,
one of the advantages of layering is that, when properly architected,
it enhances flexibility. This notion led to the development of
[RFC983] and its successor [RFC1006], which described how to provide
the ISO transport service on top of TCP/IP internetworks.
3. The Model
The model is simple. The method for transmitting TP0 packets using
TCP is defined in [RFC1006]. The method for transmitting TP0 packets
using X.25 is defined in [ISO8878]. The TP0 bridge merely has to
convert between the two forms. As with most protocols, there are
three well-defined phases of interaction: connection establishment,
data transfer, and connection release. The method of operation for
the data transfer and connection release phases are quite similar
when using TP0 over either network service. Hence the resulting
protocol mapping functions are quite simple.
4. The Protocol
During the data transfer phase, the TP0 bridge reads TPDUs (transport
protocol data units) from one network connection and writes them to
the other network connection. During the connection release phase,
when one network indicates a disconnect, the bridge disconnects the
other network connection; or in the case of simultaneous network
disconnects, no action is taken by the bridge.
0 1 2 3 4 5 6 7
+-+-+-+-+-+-+-+-+
| function |
+-+-+-+-+-+-+-+-+
value meaning
----- -------
0 illegal
1 connect to a particular X.25 host
2 listen for incoming X.25 connections
3-255 reserved
The X.25 address to call is now sent by the initiating host to the
TP0 bridge. The format of an X.25 address is described in Section
5 of this memo.
Next, the initiating host sends an IP address and TCP port number
which will service incoming calls for the indicated X.25 address.
The format of a TCP/IP address is described in Section 6 of this
memo.
The TCP/IP connection between the initiating host and the TP0
bridge is a "heartbeat" connection for the registration function.
If this connection closes, the TP0 bridge assumes hat the
listening function has been terminated by the initiating host, and
consequently, the TP0 bridge no longer listens for incoming calls
0 1 2 3
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| address type | X.121 address ... |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| ... | ... | ... | ... |
| ... | ... | ... | ... |
| ... | ... | ... | ... |
| ... | ... | X.121 length | Protocol ID |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| ... | ... | ... | PID length |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Call User Data field | ... | ... |
| ... | ... | ... | ... |
| ... | ... | ... | ... |
| ... | ... | ... | ... |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| CUDF length | X.25 Facilities ... | ... |
| ... | ... | ... |Facility Length|
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
0 1 2 3
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| address type | TCP port |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| IP address |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| reserved | ... | ... | ... |
| ... | ... | ... | ... |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Comments
References
Authors' Addresses:
Julian P. Onions
Computer Science Department
Nottingham University
University Park
Nottingham, NG7 2RD
United Kingdom
EMail: JPO@CS.NOTT.AC.UK
Marshall Rose
The Wollongong Group
1129 San Antonio Road
Palo Alto, CA 94303
EMail: mrose@TWG.COM