Description | This article describes one of the possible reasons why routes learned from one eBGP neighbor will not be advertised to another eBGP neighbor and then the solution to overcome this situation. |
Scope | FortiGate. |
Solution |
Consider the following topology where FortiGate has two eBGP neighbors established.
FortiGate has two eBGP neighborship, 10.21.7.58 is the ISP Router and 10.10.3.127 is the Hub Router.
ISP Router is advertising subnet 1.1.1.1/32 to the FortiGate using BGP, which is received by the FortiGate and installs in the routing table:
FortiGate-400E # get router info routing-table bgp
But the FortiGate is not advertising this prefix to the Hub:
FortiGate-400E # get router info bgp neighbors 10.10.3.127 advertised-routes
This is due to the community 'no-export' being attached to the NLRI (prefix 1.1.1.1/32).
FortiGate-400E # get router info bgp network 1.1.1.1
The purpose of the 'no-export' community is to prevent the advertisement of a particular route to eBGP (external BGP) peers. When a route carries the 'no-export' community, it signifies that the route should not be propagated beyond the immediate eBGP neighbors.
Solution:
There are two possible solutions to this issue:
config router community-list
config router route-map
config router bgp end Verification:
On the hub, the prefix 1.1.1.1/32 advertised by the ISP is now seen.
Routing table for VRF=0 |
|
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 2024 Fortinet, Inc. All Rights Reserved.