Created on
10-02-2024
03:16 AM
Edited on
10-02-2024
03:17 AM
By
Jean-Philippe_P
Description | This article describes the reason why BGP routes cannot be added to the routing table if an IP Pool similar to the BGP neighbor IP address is present. |
Scope | FortiGate, BGP, IP Pool. |
Solution |
Interface:
config system interface end
BGP config:
config router bgp set as 65001 set ebgp-multipath enable set ibgp-multipath enable config neighbor edit "10.10.10.204" set soft-reconfiguration enable set remote-as 65001 set update-source "internet" next end end
The BGP peering comes up but the route learned via BGP fails to get added to the routing table.
id=20300 msg="BGP: %BGP-5-ADJCHANGE: VRF 1 neighbor 10.10.10.204 Up "
Upon receiving the route, debugs from this article Technical Tip: FortiGate routing debug commands and debugs below show the following output:
diag ip router command show debug nsm kernel
zebos_launcher: FQDN message received NSM: Metric: 0
As it can be seen, for the default route advertised from neighbor 10.10.10.204, an RTM DELROUTE is showing in the NSM debugs.
It is important to check here if there is an IP Pool in the config with an IP address similar to the BGP neighbor IP/next hop address for the route received.
config firewall ippool
In this case, since there was an IP Pool configured, the route failed to be added to the routing table.
The address configured under the IP Pool will be added to the kernel. Any routes received with the gateway or next hop as 10.10.10.204 will fail and not be added into the kernel.
To fix this, the following can be done:
|
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.