Support Forum
The Forums are a place to find answers on a range of Fortinet products from peers and product experts.
New Contributor

How to block specific subnet not to use SD-WAN Rule rule if the BGP link is down.

Hi all, 


This is a DR site so the internet traffic goes via DC not directly via WAN.  This has sd-wan rule for internet traffic


Let's say... 

My FGT  is learning 192.168.1.x/28 (in real its public IP range ) subnet from external BGP. Whenever this link goes down. Fortigate starts using the default route and tries to reach 192.168.1.x even though it's a Public IP but it's not reachable via the internet. it should use the same BGP link to reach.  When the BGP link is back up the sessions are attached with the WAN link and each time I have to manually clear the session then only it starts working. 


1. Blackhole route for 192.168.1.x -- to drop the traffic when BGP is down but SD-WAN rule will have a preference so it will never hit that blackhole route I guess?





Any suggestion...


Thank you!




Hi @KKM_forti,


With blackhole route configured for 192.168.1.x/28 subnet with AD 254 : When BGP neighbroship goes down, routing lookup will point towards blackhole route (due to longest prefix match ). So, It will not use default route to reach the destination in this subnet and traffic will be blackholed.



New Contributor

Hi @ap 


Thanks for your reply. The only thing to consider is that it has an SD-WAN rule for internet traffic /, so I am a little confused about it.  Will it check the routing table or SD-WAN rule first?   This makes sense " routing lookup will point towards blackhole route (due to longest prefix match )"


Thank you! 


Select Forum Responses to become Knowledge Articles!

Select the “Nominate to Knowledge Base” button to recommend a forum post to become a knowledge article.

Top Kudoed Authors