Every IPX packet has 30-byte header with network, node and socket address for both the destination and the source. IPX packets are encapsulated to MAC (Media Access Control protocol, in our case Ethernet_802.2).
RIP (Routing Information Packet). Routers use RIP to exchange routing information with neighboring routers on an IPX network. A RIP router periodically broadcasts a packet containing all routing information known to router (that's just work of IPX RIP). So all routers in network are synchronized. Workstatios also use RIP to locate the fastes route to a distant network. A workstation initiates a route request by broadcasting a RIP packet and then "listen" for thr RIP response that contains the route information.
SAP (Service Advertising Packet) is conceptually similar to RIP. It provides a means for routers and servers to advertise and exchange sevice (print queues and servers, file servers etc) information. SAP includes up to 7 Server Entrys, where sevice type, Server Name with address (network, node, socket) etc. are described.
Look now, how it woks in our case (PPP).