Redistribute VIP IP To BGP Peer - Fortinet Community
Redistribute VIP IP To BGP Peer - Fortinet Community
Help
Click here to
sign-up
Forums Knowledge Base Community Groups Blogs
FortiGate
FortiGate Next Generation Firewall utilizes purpose-built security
processors and threat intelligence security services from FortiGuard labs to
deliver top-rated protection and high performance, including encrypted
traffic.
Fortinet Community Knowledge Base FortiGate Technical Tip: Redistribute VIP IP to BGP peer
vprabhu_FTNT
Staff
Created on
08-16-2020 10:49 AM
Article Id
192376
Scope
BGP is setup and peering is up between 2 units.
VIP range or VIP is configured and policies configured for VIP to work.
Solution
1 of 5 12/1/2024, 2:46 PM
Redistribute VIP IP to BGP peer - Fortinet Community https://community.fortinet.com/t5/FortiGate/Technical-Tip-Redistribu...
BGP requires the network to be known in the network table to advertise to its peer, which does
not happen in case of VIP (with different subnet than exit interface IP) as virtual IP does not
show in network routing table.
Since this is impossible to redistribute such Virtual IP in BGP, create a static black hole route
and redistribute static route in the BGP as per below:
VIP subnet : 10.98.8.0/24 is configured on 'FGT1'.
Exit interface IP is 10.106.0.62.
This subnet 10.98.8.0/24 is required to be advertised to BGP peer so the VIP IP is reachable
from remote 'FGT2'.
Configuration Steps.
'FGT1':
# config router static
edit 0
set dst 10.98.8.0 255.255.255.0
set blackhole enable
next
end
# config router bgp
# config redistribute "static"
set status enable
end
'FGT2' no config changes is required as the route will be advertised from 'FGT1' BGP peer.
Verification command.
2 of 5 12/1/2024, 2:46 PM
Redistribute VIP IP to BGP peer - Fortinet Community https://community.fortinet.com/t5/FortiGate/Technical-Tip-Redistribu...
Related Articles
Configuration Example: Using VIP (Virtual IP) for Port Translation only
FortiGate
6091 0
3 of 5 12/1/2024, 2:46 PM
Redistribute VIP IP to BGP peer - Fortinet Community https://community.fortinet.com/t5/FortiGate/Technical-Tip-Redistribu...
Contributors
vprabhu_FTNT
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.
Social Media
SECURITY RESEARCH
Threat Research
FortiGuard Labs
Threat Map
Threat Briefs
Ransomware
COMPANY
About Us
Security Fabric
4 of 5 12/1/2024, 2:46 PM
Redistribute VIP IP to BGP peer - Fortinet Community https://community.fortinet.com/t5/FortiGate/Technical-Tip-Redistribu...
Exec. Mgmt
Careers
Certifications
Events
Industry Awards
Social Responsibility
News Releases
News Articles
Trademarks
CONTACT US
Corporate
Community
5 of 5 12/1/2024, 2:46 PM