Hi
using fortiOS 5.4 , I want to advertise virtual IP's over BGP.
is it possible at all ? if so , how is it done ?
Thanks
Nir
Typically this would be done (or at least, how I've done it in our environment) by adding blackhole routes for your vip's (or ideally, subnet allocated for vip's). Basically, the idea is to get the routes into your route table where they are then available to redistribute to bgp, and then to bgp neighbors. AFAIK, there is not a magical "redistribute VIP's to bgp" option.
To redistribute the static routes into bgp, you'll need to:
config router bgp
config redistribute static
set status enable
<optional> set route-map '<xyz>'
end
end
The route map is optional - just depends on what you want to do when you push static routes into bgp for redistribution.
This will get the routes available to redistribute via bgp - normal bgp route maps and peering configuration applies.
thanks Blackhole . it worked .
configured a blackhole route to each VIP and advertised static routes , also used route maps.
so I have VIP 1to1 ,and ip-pool 1to1 , I routed between two vpn tunnels and my goal was to not expose internal subnet of one of them. I advertised the VIP's the way you suggested ,then created policy rules with SNAT and DNAT and basically have connectivity between the two tunnels. it was very helpful !
Nirtzen
User | Count |
---|---|
2119 | |
1187 | |
770 | |
451 | |
345 |
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.