Go to main content

Configuring an Oracle® Solaris 11.4 System as a Router or a Load Balancer

Exit Print View

Updated: November 2020

Routing Protocols

Routing protocols handle routing activity on systems and routers. Routers and other systems exchange routing information about known routes to remote networks. These protocols assist the system in determining where to forward packets. Some routing protocols, although not all, also maintain statistics that you can use to measure routing performance.

The following table describes the supported routing protocols in Oracle Solaris.

Table 1  Oracle Solaris Routing Protocols
Associated Daemon
For Instructions
Interior Gateway Protocol (IGP) that routes IPv4 packets and maintains a routing table
Enable systems to discover the presence of a router on the network
IGP that routes IPv6 packets and maintains a routing table
Neighbor Discovery Protocol (NDP)
Advertises the presence of an IPv6 router and discovers the presence of IPv6 systems on a network

For more information about routing tables and types in Oracle Solaris, see Routing Tables and Routing Types.

Routing Information Protocol

Routing Information Protocol (RIP) is a distance-vector routing protocol. RIP uses a hop counter as its routing metric. It is implemented by the routing daemon in.routed. The daemon automatically starts when the system is booted. When run on a router with the –s option specified, the in.routed daemon fills the kernel routing table with a route to every reachable network and advertises reachability through all network interfaces. When run on a system with the –q option specified, the in.routed daemon extracts routing information but does not advertise reachability.

    On systems, routing information can be extracted in the following two ways:

  • By not specifying the flag (capital S or space-saving mode). The in.routed daemon builds a full routing table exactly as it does on a router.

  • By specifying the flag. The in.routed daemon creates a minimal kernel table containing a single default route for each available router.

ICMP Router Discovery Protocol

Systems use the Router Discovery (RDISC) protocol to obtain routing information from routers. When systems run RDISC, routers must also run another protocol, such as RIP, to exchange router information.

RDISC is implemented by the daemon in.routed, which must run on both routers and systems. On systems, in.routed uses RDISC to discover default routes from routers that advertise the address through RDISC. On routers, in.routed uses RDISC to advertise default routes to systems on directly-connected networks. See the in.routed(8) man page and the gateways(5) man page for more information.

Quagga Routing Protocol Suite

Quagga is a routing software suite that enables the implementation of RIP, RIPng, Open Shortest Path First (OSPF), Intermediate System to Intermediate System (IS-IS), and Border Gateway Protocol (BGP) protocols for UNIX platforms including Oracle Solaris.

RIPng offers an extension of RIP for support of IPv6, including various enhancements for IPv6. The functions of RIPng are similar to those of RIP.

OSPF is a router protocol which is used to distribute routing information within a larger autonomous system network. The latest version of OSPF, OSPFv3, adds support for IPv6.

IS-IS is a link state dynamic routing protocol which is used to distribute routing information within a large service provider network.

BGP uses a prefixed set of IP networks to make routing decisions based on the path and rules among large autonomous system networks.

The following table lists the Open Source Quagga routing protocols that are supported in Oracle Solaris.

Table 2  Quagga Routing Protocol Suite
Associated Daemon
IPv4 distance vectoring IGP that routes IPv4 packets and advertises its routing table to neighbors
IPv6 distance vectoring IGP that routes IPv6 packets and maintains a routing table
IPv4 link state IGP for packet routing and high availability networking
IPv4 and IPv6 Exterior Gateway Protocol (EGP) for routing across administrative domains
IPv4 and IPv6 link state IGP for routing within an administrative domain or network

For more information about the Quagga protocols, go to the Quagga Routing Suite web site at http://www.nongnu.org/quagga/index.html.