Both routers and hosts maintain a routing table. The 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. See the following example:
Routing Table: IPv4 Destination Gateway Flags Ref Use Interface -------------------- ------------------ ----- ----- ------ --------- default 198.51.100.10 UG 1 532 net0 126.96.36.199 203.0.113.100 U 1 0 net1 203.0.113.0 203.0.113.100 U 1 0 net1 127.0.0.1 127.0.0.1 UH 1 57 lo0
You can configure static or dynamic types of routing on an Oracle Solaris system. Both types can exist 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 RIP next generation (RIPng) 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. See the route(8) 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.
The topology that is described in IPv4 Autonomous System Topology in Planning for Network Deployment in Oracle Solaris 11.4 combines both static and dynamic routing.