83.26. How to use state detection of IP interfaces

Certain interfaces or protocols like Ethernet and RFC1483 do not provide information about the actual connection to the network. In these cases, using alternative routes cannot be automatic. This Abilis feature allows to setup a periodic ping to a pair of IP hosts. If at least one host answers regularly, the interface is considered to be working (UP), if both hosts suffer of packet loss beyond a defined threshold, the interface is considered to be out of order (DOWN). The frequency of PINGs and the threshold-levels to change the state (UP/DOWN) are configurable. This feature can be set active by means of the parameter STATE-DETECT:PING.

Enter into the Abilis control-program or open the configuration file with the Console configurator and type the following commands.

s p ip-2 state-detect:pingSet the state detection of IP-2 resource to PING.
s p ip-2 p-dst1:62.94.0.1 p-dst2:62.94.0.2Set the external servers to ping.
s p ip-2 p-gw:192.168.2.254Set the gateway to use for ping.
save confSave the configuration.

On a working Abilis, an initialization of the IP resource is required (init res:ip-2).