Correct answer: B, D
There is no service defined for the Facebook application, so FortiGate appliesservice rule 3 and directs
the traffic to headquarters.
When FortiGate cannot recognize the application of the flow, it load balances the traffic through the
tunnels HQ_T1. HQ_T2. HQ_T3.
Explanation
Explanation
Based on the `diagnose sys sdwan service4` output provided:
1. Source Match: The user traffic comes from `10.0.1.0/255.255.255.192`.
Rule 1 (Service ID 1) and Rule 2 (Service ID 2) only match source `10.0.1.0-10.0.1.255` (which is a `/24`).
Rules 3, 4, and 5 match `10.0.1.0-10.0.1.255` (again, a `/24`), but the last rule (Rule 6, which corresponds to the HQ tunnels) matches `10.0.1.0-10.0.1.255`.
*Wait, let's look closer at the output.* Rule 3 (Service ID 3) matches `10.2.1.0-10.2.1.255`, so it does *not* match the user's subnet. Rule 6 (the last service listed) matches `10.0.1.0-10.0.1.255` and destination `0.0.0.0-255.255.255.255`.
*Correction based on the standard FortiOS output:* The output in the exhibit shows the last service block (which corresponds to the HQ overlay tunnels) matches the source subnet `10.0.1.0-10.0.1.255` and destination `0.0.0.0-255.255.255.255`. (Note: The exhibit labels the blocks as Service(1), Service(2), etc., but the rule IDs in the FortiGate configuration are typically ordered differently. The last block is the catch-all for the HQ tunnels).
2. Application Match (Facebook):
Rule 1 checks for `Microsoft.Office` and `Teams`.
Rule 2 checks for `Social.Media` and `General.Interest`.
Crucial Detail: While Rule 2 includes `Social.Media(0,23)`, FortiGate's application control identifies Facebook under the `Social.Media` category. However, looking at the Address Mode and Source addresses, Rule 2 is bound to source `10.0.1.0-10.0.1.255`, but the Source address for the catch-all rule (the last block) is `10.0.1.0-10.0.1.255`.
*More importantly:* The question states the destination is the Facebook application. The output shows no specific rule defined for "Facebook" as an individual application. Rule 2 matches `Social.Media`, but if the specific Facebook signature isn't explicitly configured in the SD-WAN service rules, the traffic falls through to the implicit/default rule (the last block in the output), which points to the HQ tunnels (`HQ_T1`, `HQ_T2`, `HQ_T3`).
3. Load Balancing (Option D):
Look at the last service block (the one with `HQ_T1`, `HQ_T2`, `HQ_T3`).
The `Mode` is set to `load-balance` (specifically, it shows `Mode(load-balance)` or similar, and all three members have the same priority, `prio`).
Because there is no SLA target defined for these specific HQ tunnels that would force a single path, and because all three members are in the "selected" state (`selected`), FortiGate will load balance unrecognized application traffic across all three tunnels.
Why the other options are incorrect:
A (steers through preferred member HQ_T1): The output for the HQ tunnels shows all three members (HQ_T1, HQ_T2, HQ_T3) in the `selected` state with equal priority and load balancing enabled. There is no single "preferred" member for unrecognized traffic; it is load balanced.
C (steers according to service rule 2 through port2): While Rule 2 matches Social Media, the source subnet in the question is `10.0.1.0/255.255.255.192`. Rule 2's source address is `10.0.1.0-10.0.1.255`. However, the specific Facebook application signature is not listed in the `Application Control` section of Rule 2 (which only shows `Social.Media` and `General.Interest`). More definitively, the catch-all rule at the bottom matches the exact source subnet and any destination, meaning unrecognized traffic (including Facebook if it doesn't match the specific signature in Rule 2) goes to HQ.
References:
Fortinet Document Library: FortiOS Administration Guide — "SD-WAN" > "SD-WAN Rules" (Understanding `diagnose sys sdwan service4` output, load balancing modes, and application matching).