Created on
03-07-2021
08:49 AM
Edited on
11-27-2025
03:04 AM
By
Jean-Philippe_P
Description
This article describes the use of BGP backdoor to prefer IGP over EBGP.
Scope
FortiGate.
Solution
The 'Backdoor Feature' is often used to increase the administrative distance of eBGP to 200 to make the IGP learned routes preferred. A backdoor network is treated as a local network, except that it is not advertised. This is configured by using the network backdoor BGP command.
Diagram:

By enabling the FortiGate backdoor feature and setting the administrative distance (AD) of the backdoor route to 200, the RIP route, with an AD of 120, becomes preferred over the BGP route. As a result, the routing table will select the OSPF path to reach the destination network.
B 172.16.20.0/24 [200/0] via ...
O *> 172.16.20.0/24 [110/101] via ...
In this case, the RIP route is selected because its administrative distance (120) is lower than the backdoor BGP route (200).
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2025 Fortinet, Inc. All Rights Reserved.