Troubleshooting Tip: BGP next hop showing as 0.0.0.0 on FortiGate managed by FortiManager 7.0.5
| Description | This article explains why the routing table shows 0.0.0.0 as the next hop when FortiGate is managed by FortiManager 7.0.5. |
| Scope | FortiOS, FortiGate, Routing, BGP |
| Solution | When routes to the FortiGate are received from the BGP neighbor, the next hop shows as 0.0.0.0:
# get router info bgp neighbors 10.5.50.1 routes
BGP configuration:
# config router bgp end
If there are route-maps configured for the BGP neighbor, check the config for route-map:
# config router route-map edit "RMP-IN" config rule edit 1 set action deny set match-ip-address "Transit_In" set set-ip-nexthop 0.0.0.0 set set-ip6-nexthop :: set set-ip6-nexthop-local :: set set-originator-id 0.0.0.0 next edit 20 set set-ip-nexthop 0.0.0.0 set set-ip6-nexthop :: set set-ip6-nexthop-local :: set set-originator-id 0.0.0.0 next end
As shown above, 'set set-ip-nexthop 0.0.0.0' is configured on the route-map, replacing the next hop with 0.0.0.0.
This is a known issue 845656 with FortiManager 7.0.5. Read more here: https://docs.fortinet.com/document/fortimanager/7.0.5/release-notes/454729/known-issues
if possible, avoid upgrading FortiManager 7.0.4 to FortiManager 7.0.5 incase BGP with route maps is used. |
