Description | This article describes how to advertise a single IP in the whole Network statically via BGP. |
Scope | FortiGate. |
Solution |
For example, this can happen when advertising 192.168.1.1/32 on BGP statically.
Routing table:
get router info routing-table details 192.168.1.1 Routing table for VRF=0
Command to check the advertised-routes to neighbors:
get router info bgp neighbors x.x.x.x advertised-routes
Solution:
In GUI, go to Network -> Static Routes and select 'Create New'.
Destination: 192.168.1.1/32. Gateway Address: 192.168.1.254. Interface: port2. Administrative Distance: 10. Status: Enable.
In CLI:
config router static edit 0 set dst 192.168.1.1/32 set gateway 192.168.1.254 set device port2 set status enable next end
For reference on creating a static route via GUI but in this case, 192.168.1.1/32 will be set as the destination address: Technical Tip: How to create a static route on FortiGate from the GUI Interface
|