Networking Guide
Chapter 5, Configuring Internet Protocol (IP) routing

Configuring a system for IP routing

Configuring a system for IP routing

Follow these steps:

  1. Determine whether the machine being configured will serve as a router or nonrouter. Set the IPFORWARDING kernel variable for a router, either with inconfig(ADMN) or by using the Network Configuration Manager to specify that the interface is a gateway.

  2. Determine the routing protocols to be used to communicate with other machines. For a nonrouting host, typically use the IRD protocol and/or the RIP protocol. For a router, typically use the IRD protocol and at least one internal routing protocol (RIP or OSPF). For an exterior router of an autonomous system, also choose an exterior routing protocol (BGP or EGP).

  3. Select the routing daemon that implements the protocols selected in the previous step. Use of the IRD protocol requires use of the IRD daemon (irdd). Either the routed or gated daemon can be used for the RIP protocol. If you need also to use any of the following protocols in conjunction with RIP (OSPF, EGP, or BGP), you must use gated to implement RIP. It is recommended that routed be used only for very simple networks. Remember that routed and gated cannot both be used; they are exclusive of each other.

  4. Configure the system for the routing daemons selected. To configure irdd, see ``Configuring irdd''. To configure routed, see ``Configuring routed''. To configure gated, see ``Configuring gated''.