3 4

Lesson 2: SPX and NCP

Like TCP/IP, NetWare's IPX protocol suite includes multiple protocols at the transport layer, which provide varying levels of service. Interestingly, the transport layer protocol most frequently associated with IPX, called the Sequenced Packet Exchange (SPX) protocol, is actually far less frequently used than the NetWare Core Protocol (NCP).


After this lesson, you will be able to

Estimated lesson time: 15 minutes


SPX

SPX is NetWare's connection-oriented protocol. It provides many of the same services as TCP, including packet acknowledgment and flow control. Compared to TCP, however, SPX is rarely used. NetWare servers use SPX for communication between print queues, print servers, and printers; and for specialized applications that require its services, such as Rconsole.

SPX messages are carried within IPX datagrams using the message format illustrated in Figure 7.8.

Figure 7.8-The SPX message format
Figure 7.8 The SPX message format

The functions of the SPX message fields are as follows.

NCP

NCP is responsible for all of the file-sharing traffic generated by NetWare clients and servers, and also has a number of other functions. As a result, NCP is far more commonly used than is SPX. The large number of network functions that use NCP make it difficult to pinpoint the protocol's place in the OSI reference model. File transfers between clients and servers place the protocol firmly in the transport layer, but NetWare clients also use NCP messages to log in to the Novell Directory Services (NDS) tree, which is a session layer function. In addition, there are other presentation and application layer services that NCP provides. However, for all of these services, NCP messages are carried within IPX datagrams, which affirms its dominant presence at the transport layer.

Unlike SPX and the TCP/IP transport layer protocols, NCP uses different formats for client request and server reply messages. In addition, there is another form of NCP message called the NetWare Core Packet Burst (NCPB) protocol, which enables systems to transmit multiple messages with only a single acknowledgment. NCPB was developed relatively recently to address a shortcoming of NCP, which requires an individual acknowledgment message for each data packet.

The NCP request message format is illustrated in Figure 7.9.

Figure 7.9-The NCP Request message format
Figure 7.9 The NCP Request message format

The NCP Request message fields perform the following functions:

NOTE
The NCP request format has three fields that describe the function of the message, which may seem redundant, but there are over 200 combinations of function and subfunction codes, covering virtually all of the services provided by NetWare servers.

The NCP message reply format is illustrated in Figure 7.10.

Figure 7.10-The NCP Reply message format
Figure 7.10 The NCP Reply message format

The functions of the NCP Reply message fields are as follows: