Implementation
The encapsulation of Internet packets within IPX networks has proved to be quite useful. Because the IPX interface insulates knowledge of
the physical layer from an application, 802.2 over IPX networks work over any physical medium. A typical IP over IPX packet is shown below:
--------------------
N bytes | physical header |
|------------------|
30 bytes | IPX header |
|------------------|
8 bytes | 802.2 header |
|------------------|
usually 20 bytes | IP header |
|------------------|
usually 20 bytes | TCP header |
|------------------|
up to 498 bytes | TCP data |
--------------------
On workstations supporting an IPX programming interface, implementation of this specification has proved fairly straightforward. The only change which was done was to modify the existing address resolution protocol code to allow for cache entries larger than the hardware address length. This was done to allow room for the immediate address of a possible intervening IPX bridge in addition to the destination node and network addresses to be associated with a given IP address.
Thus far, no implementations have been attempted on systems which do not already support an IPX programming interface (e.g., a dedicated router) though a few implementation details can be noted. First, obviously any such implementation will have to distinguish IPX packets from other packets; this process will be media dependent. Second, note that no unicast packet is ever sent from host1 to host2 without a prior broadcast packet from host2 to host1. Thus, the immediate address of a possible intervening IPX bridge between host1 and host2 can be learned from the physical header of that prior broadcast packet. Third, any such implementation will need to discover the local IPX network number from a Novell bridge or file server. The mechanisms for doing this exist but documentation for their use is not commonly available.