NetWare routers interconnect different IPX network segments and receive instructions for addressing and routing packets between these segments from the IPX protocol. IPX accomplishes these and other Network-layer tasks with the help of RIP, SAP, and NLSP.
For more information about how IPX routing works, refer to:
Consider a NetWare workstation that wants to send data to another workstation. If both workstations share the same network number (both are on the same segment), the sending workstation addresses and sends packets directly to the destination workstation's physical address. If the two workstations have different network numbers (each is on a different segment), the sending workstation must first find a router on its own segment that can forward packets to the segment on which the destination workstation resides.
To find this router, the sending workstation broadcasts a RIP packet requesting the fastest route to the destination segment. The router on the sending segment with the shortest path to the destination segment responds to the request. In its response, the router includes its own network and node address in the IPX header.
NOTE: If the sending node is a router instead of a workstation, the router does not need to broadcast a RIP request to obtain this information; the router obtains the information from its internal routing table.
When the sending workstation knows the router node address, it addresses and sends packets to the destination workstation as follows:
When a router receives an IPX packet, it performs the following tasks:
A RIP router discards the packet if the value in this field is greater than 16.
An NLSP router discards the packet if the value in this field is greater than the value of the Hop Count Limit parameter.
Note that if the packet type is 20 (0x14, NetBIOS), the packet is handled as follows:
If the router finds a match, it discards the packet to prevent multiple traversals of the same network segment. If the router finds no match, it performs the next step.
If the packet is addressed to the router, the appropriate socket process handles it internally; otherwise, the router forwards the packet.
NOTE: Packets that must be handled internally are those addressed directly to the router and those broadcast (destination node = 0xFFFFFFFFFFFF) to any network segment to which the router is directly connected. Usually, only RIP, SAP, and diagnostic packets fall into this category.
When forwarding packets, the router can take one of two possible actions. If the packet is destined for a network number to which the router is directly connected, the router performs the following tasks:
IMPORTANT: If the Transport Control field equals the maximum allowed hop count before the field is incremented, the router discards the packet. For RIP routers, the hop count limit is 16; for NLSP routers, this limit can be set to any number between 8 and 127.
Note also that broadcast packets are never rebroadcast onto the network segment from which they are received.
If the router is not directly connected to the segment on which the final destination node resides, it sends the packet to the next router in the path to the destination node, as follows:
The router gets this information from its Routing Information Table.