Specifying When the Route Can Be Resolved to a Prefix That Is Not Directly Connected
By default, static routes can point only to a directly connected next hop. You can configure an IPv4 route to a prefix that is not directly connected by resolving the route through the
inet.0andinet.3routing tables. To configure an IPv4 static route to a prefix that is not a directly connected next hop, include theresolvestatement:static (defaults | route) {resolve;}You can configure an IPv6 route to a prefix that is not directly connected by resolving the route through the
inet6.0routing table. To configure an IPv6 static route to a prefix that is not a directly connected next hop, include theresolvestatement:rib inet6.0 static (defaults | route) {resolve;}For a list of hierarchy levels at which you can configure these statements, see the statement summary sections for these statements.