FortiADC
FortiADC enhances the scalability, performance, and security of your applications whether they are hosted on premises or in the cloud.
Khidzir_MN
Staff
Staff
Article Id 263140
Description This article describes how to enable Route health injection (RHI) for OSPF.
It is maybe necessary to preconfigure other respective Virtual Server setup and OSPF setup and refer to the documentation at the end of this article for more information on configuring Virtual Server and OSPF.
Scope FortiADC and FortiADC VM 6.2.0 or later.
Solution

Route health injection (RHI) allows advertising routes for the virtual server IP (VIP) addresses based on the health status of the respective virtual server.

 

There is a requirement to advertise or remove the routes for the respective VIP addresses based on their health status to respective OSPF neighbors.


There is no menu or option to enable the RHI. The respective VIP needs to be added under the OSPF Network.


From GUI:

 

  1. Go to Network -> Routing -> OSPF (tab).
  2. Under Network, select Create New and add the respective VIP, select the respective Area and Save.
  3. Select Save again on the OSPF page.

From CLI:

 

config router ospf
    config network
        edit 3
           set prefix 10.50.12.105/32
           set area 0.0.0.0
        next
    end
end


Below example when the VIP status is Healthy (The respective VIP is advertised):

 

vs_status_up.png


Below example of when the VIP status is Dead (The respective VIP is not advertised):

 

vs_status_down.png


Refer to the below documentation for more information on configuring Virtual Server:

https://docs.fortinet.com/document/fortiadc/7.2.1/handbook/970956/configuring-virtual-servers


Refer to the below documentation for more information on configuring OSPF:

https://docs.fortinet.com/document/fortiadc/7.2.1/handbook/479174/ospf


Refer to below documentation for more information on RHI (Under Route health injection (RHI)):

https://docs.fortinet.com/document/fortiadc/7.2.1/handbook/569661/bgp

Contributors