[ Bottom of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]

Commands Reference, Volume 6

XNSrouted Daemon

Purpose

Manages the Xerox Network Systems (XNS) routing tables.

Syntax

/usr/sbin/XNSrouted -s ] [  -q ] [  -t ] [ LogFile ]

Description

The /usr/sbin/XNSrouted daemon is invoked during system startup to manage the Network Systems (NS) routing tables. This daemon uses the Xerox NS Routing Information Protocol (RIP) to maintain up-to-date kernel routing-table entries.

In normal operation, the XNSrouted daemon listens for routing information packets. If the host is connected to multiple NS networks, it can periodically supply copies of its routing tables to any directly connected hosts and networks.

When the XNSrouted daemon is started, it uses the ioctl(SIOGIFCONF) subroutine to find those directly connected interfaces configured into the system and marked up (the software loopback interface is ignored). If multiple interfaces are present, it is assumed the host forwards packets between networks. The XNSrouted daemon then transmits a request packet on each interface (using a broadcast packet if the interface supports it) and enters a loop, listening for request and response packets from other hosts.

When a request packet is received, the XNSrouted daemon formulates a reply based on the information maintained in its internal tables. The generated response packet contains a list of known routes, each marked with a hop count metric (a count of 16 or greater is considered infinite). The metric associated with each route returned provides a metric relative to the sender.

Response packets received by the XNSrouted daemon are used to update the routing tables if one of the following conditions is satisfied:

When an update is applied, the XNSrouted daemon records the change in its internal tables and generates a response packet to all directly connected hosts and networks. The XNSrouted daemon waits a maximum 30 seconds before modifying the kernel's routing tables to allow possible unstable situations to settle.

In addition to processing incoming packets, the XNSrouted daemon also periodically checks the routing-table entries. If an entry has not been updated for 3 minutes, the entry's metric is set to infinity and marked for deletion. Deletions are delayed an additional 60 seconds to ensure that the invalidation is propagated to other routers.

Every 30 seconds, hosts acting as internetwork routers supply their routing tables to all directly connected hosts and networks.

The LogFile parameter interprets the name of the file in which the XNSrouted daemon's actions should be logged. This log contains information about any changes to the routing tables and a history of recently sent and received messages that are related to the changed route.

The XNSrouted daemon does not run as a background process unless an & (ampersand) is specified on the command line. Interrupts from the keyboard kill the process.

Flags

-s Forces the XNSrouted daemon to supply routing information whether it is acting as an internetwork router or not.
-q Processes all incoming XNS packets but does not supply any XNS routing information.
-t Specifies that all packets sent or received are printed to standard output.

Related Information

The netstat command, route command, XNSquery command.

Xerox Network Systems (XNS) Overview for Programming in AIX 5L Version 5.2 Communications Programming Concepts.

[ Top of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]