Using RouteOptions with Solaris

The RouteOptions attribute is useful only when the default gateway is your own host.

For example, if the default gateway and hme0 are both set to 10.128.8.42, the output of the netstat -rn command resembles:

Destination Gateway Flags Ref Use Interface

---------------- ----------------- ----- ----- ------ ---------

10.0.0.0 10.128.8.42 U 1 2408 hme0

224.0.0.0 10.128.8.42 U 1 0 hme0

default 10.128.8.42 UG 1 2402 hme0

127.0.0.1 127.0.0.1 UH 54 44249 lo0

If the RouteOptions attribute is not set and hme0 fails, the MultiNICA agent migrates the base IP address to another NIC (such as qfe0). The default route is no longer configured because it was associated with hme0. The display resembles:

Destination Gateway Flags Ref Use Interface

---------------- ----------------- ----- ----- ------ ---------

10.0.0.0 10.128.8.42 U 1 2408 qfe0

224.0.0.0 10.128.8.42 U 1 0 qfe0

127.0.0.1 127.0.0.1 UH 54 44249 lo0

If the RouteOptions attribute defines the default route, the default route is reconfigured on the system. For example:

RouteOptions@sysa = "default 10.128.8.42 0"

RouteOptions@sysb = "default 10.128.8.43 0"