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 172.20.1.10 UG 1 532 net0 126.96.36.199 10.0.5.100 U 1 0 net1 10.0.0.0 10.0.5.100 U 1 0 net1 127.0.0.1 127.0.0.1 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.
The topology that is described in IPv4 Autonomous System Topology in Planning for Network Deployment in Oracle Solaris 11.2 combines both static and dynamic routing.