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 341576
Description This article describes how to enable Route health injection (RHI) for BGP.
It is maybe necessary to preconfigure other respective Virtual Server setup and BGP setup and refer to the documentation at the end of this article for more information on configuring Virtual Server and BGP.
Scope FortiADC and FortiADC-VM v6.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 BGP neighbors.


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


From GUI:

 

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

 

From CLI:

 

config router bgp
      config network
           edit 2
              set prefix 192.168.10.110/32
           next
      end
end


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

 

vs_healthy.png

 

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

 

vs_dead.png

 

Related documents:

Configuring virtual servers

Configuring BGP routes

Route health injection (RHI)

Technical Tip: How to enable Route health injection (RHI) for OSPF

Contributors