3. The Short Term Implementation Mechanism
The short term implementation mechanism will use an ISO 8473 normal data PDU as the echo-request and echo-reply PDU. A special NSAP selector value will be used to identify the echo-request and insure that it reaches the echo-request entity. This selector value is known as the echo-request selector. In addition, an echo-reply selector is defined so that the echo-reply PDU may be identified at the destination system. It is important to note that (except for the NSAP selector) the echo-request PDU and the echo-reply PDU are indistinguishable from a DT PDU.
This approach has the advantage that it is simple and does not allow any code-path divergence. In addition, this approach requires that only the systems which wish to generate an echo-reply PDU must change. Systems that do not adhere to this memo will not generate an echo-reply PDU, but will still switch other echo-request and echo-reply PDUs.
3.1 The Echo Request
An echo-request is built using the normal DT PDU construction procedures. All fields of the PDU header are assigned normal values (see implementation notes). The address of the system to be pinged is inserted as the destination NSAP address. The selector field of the destination NSAP address must contain the echo-request selector. The selector field of the source NSAP address must contain the echo-reply selector.
3.2 The Echo Reply
Except as noted below (see implementation notes), an echo-reply is built using the normal DT PDU construction procedures. The destination NSAP address is taken from the source address of the echo-request PDU.
3.3 Use of NSAP Selectors
The choice of echo-request and echo-reply NSAP selectors is a local matter. However, to insure interoperability, and as an interim measure until use of the directory service becomes widespread, this memo will recommend the following default values (specified in decimal):
- Echo Request Selector - 30
- Echo Reply Selector - 31