MultiNICA notes

General notes
Using RouteOptions

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

For example, if the default gateway and lan0 are both set to 11.236.99.248, the output of the netstat -rn command from the routing table resembles:

Destination Gateway Flags Refs Interface Pmtu

127.0.0.1 127.0.0.1 UH 0 lo0 4136

11.236.99.248 11.236.99.248 UH 0 lan0 4136

11.236.98.0 11.236.99.248 U 2 lan0 1500

127.0.0.0 127.0.0.1 U 0 lo0 0

default 11.236.99.248 UG 0 lan0 0

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

Destination Gateway Flags Refs Interface Pmtu

127.0.0.1 127.0.0.1 UH 0 lo0 4136

11.236.99.161 11.236.99.161 UH 0 lan2 4136

11.236.98.0 11.236.99.161 U 2 lan2 1500

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

RouteOptions@sysa = "default 11.236.99.248 0"

RouteOptions@sysb = "default 11.236.99.249 0"