Go to main content

Configuring and Managing Network Components in Oracle® Solaris 11.3

Exit Print View

Updated: December 2017

Routing Tables and Routing Types

Both routers and hosts maintain a routing table. For example, the following routing table lists the IP addresses of networks that the system knows about, including the system's local default network. The table also lists the IP address of a gateway system for each known network. A gateway is a system that can receive outgoing packets and forward them one hop beyond the local network.

Routing Table: IPv4
Destination           Gateway           Flags  Ref   Use   Interface
-------------------- -------------------- ----- ----- ------ ---------
default              UG       1    532   net0             U        1      0   net1           U        1      0   net1              UH       1     57   lo0

You can configure two types of routing on an Oracle Solaris system: static and dynamic. You can configure either or both routing types on a single system. A system that implements dynamic routing relies on routing protocols, such as the Routing Information Protocol (RIP) for IPv4 networks and RIPng (RIP next generation) protocol for IPv6 networks, to route network traffic as well as update routing information in the table. With static routing, information is maintained manually by using the route command. For more information, see the route(1M) man page.

When you configure routing for the local network or an autonomous system (AS), consider which type of routing to support on particular routers and hosts. The following table shows the different types of routing and networking scenarios for which each routing type is best applied.

Routing Type
Best Uses
Small networks and hosts that get their routes from a default router and default routers that only need to know about one or two routers on the next few hops.
Larger internetworks, including routers on local networks with many hosts and hosts on large autonomous systems. Dynamic routing is the best option for systems on most networks.
Combined static and dynamic
Routers that connect a statically routed network and a dynamically routed network and border routers that connect an interior autonomous system with external networks. Combining both static and dynamic routing on a system is a common practice.

The topology that is described in IPv4 Autonomous System Topology in Planning for Network Deployment in Oracle Solaris 11.3 combines both static and dynamic routing.

Note -  Two routes that are going to the same destination does not automatically cause a system to perform load balancing or failover. If you need these capabilities, use IPMP. For more information, see Chapter 2, About IPMP Administration in Administering TCP/IP Networks, IPMP, and IP Tunnels in Oracle Solaris 11.3.