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.
ydong01
Staff
Staff
Article Id 230623
Description

This article describes a change in behavior of the 'set tie-break fib-best-match' option that has been extended to consider only the best routes.

 

In SD-WAN service rules, if the 'set default' and 'set gateway' options are disabled, a FIB lookup will occur based on the destination IP address.  If there is a FIB match, and the interface is an SD-WAN member, the next SD-WAN service rule will not be checked, even if this FIB match is not the best.

 

ydong01_2-1669179591500.png

 

 

Since v7.0.1, there has been a change in default behavior.  The 'set tie-break fib-best-match' option is extended to consider only the best routes.

 

This works on manual, priority, and SLA SD-WAN service modes.

Scope FortiGate 7.0.1 and above.
Solution

SD-WAN members, the routing table and FIB are the same in all 3 examples:

 

Members:

 

ydong01_7-1669180106751.png

 

Route:

 

ydong01_8-1669180213518.png

 

FIB:

 

ydong01_4-1669179772394.png

 

One member is in the SD-WAN service rule:

Only SD-WAN member 1 is in the SD-WAN service rule and has a default route.  Traffic will egress SD-WAN member 1.  The next SD-WAN service rule will not be checked even though it has which has SD-WAN member 2, which has the best match in the FIB with the longest prefix 8.8.8.8/32.

 

Service:

 

ydong01_0-1669179455218.png

 

Policy route match:

 

ydong01_5-1669179835264.png

 

Packet capture:

 

ydong01_6-1669179880587.png

 

Two members are in the SD-WAN service, without 'set tie-break fib-best-match' configured:

SD-WAN member 1 has a default route, and SD-WAN member 2 has the most specific match in the FIB with the longest prefix, 8.8.8.8/32.  Packets will egress SD-WAN member 1, as it has a valid route (default route) and is configured as the priority member.

 

Service:

 

ydong01_9-1669180540192.png

 

Policy route match:


ydong01_10-1669180841936.png

 

Packet capture:

 

 ydong01_11-1669180919007.png

 

Two members are in the SD-WAN service, with 'set tie-break fib-best-match' configured:

SD-WAN member 1 is configured as the priority member and has a default route.  SD-WAN member 2 has the most specific match in the FIB with the longest prefix 8.8.8.8/32.  By configuring 'set tie-break fib-best-match', packets will egress SD-WAN member 2.

 

Service:

 

ydong01_12-1669181102609.png

 

 Policy route match:

 

ydong01_13-1669181145302.png

 

Packet capture:

 

ydong01_14-1669181190930.png

 

Related document:

Changes in default behavior