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.
DPadula
Staff
Staff
Article Id 286736
Description This article describes how to deploy a SD-WAN Zone and properly set up the routing to have one PPPoE interface and one interface configured with static IP to be part of the SD-WAN Zone and have both active at the same time.
Scope

FortiOS.

All configuration was done on version 7.0.12, but these steps can be applied to any version between 7.0.x and 7.2.x.

Solution

At the beginning of this configuration there is no SD-WAN setting configured and the only settings already configured are the static IP on port1 and its default route and the PPPoE settings on port2. 

 
static IP and pppoe.png

Note: Port1 is configured as 'set mode static' but by default FortiGate does not present it on a simple show command. It is only possible to see the static mode command when 'show full-configuration' is used.

 

This is the static route that uses port1. The Administrative Distance of 10 is the default value added automatically by FortiGate.

 

Adding a static route.JPG

 

These are the PPPoE interface settings. The Administrative Distance of 5 is also the default value assigned by the FortiGate.

 

PPPoE default settings.JPG

 

Checking the routing table will reveal that FortiGate has only one default route via port2 (shown as ppp1), but it has a secondary default route via port1 on its routing-table database. Due to the difference in administrative distance between them, only the default route via port2 is considered active. This is expected behavior. 

 

Default routing settings EDITED.jpg

 

Solution:

 

Step 1: Create a Zone.

Select Network -> SD-WAN -> Create New and select SD-WAN Zone.

 

Creating new Zone EDITED.jpg

 

Enter a name and select OK.

 

new underlay zone.JPG

 

Step 2: Create an SD-WAN member.

Select Network -> SD-WAN -> Create New and select SD-WAN Member.

 

Creating new member.JPG

 

Select port1 as an Interface, select UNDERLAY as the SD-WAN Zone, and select OK.

 

new member port 1.JPG

 

Repeat the process for port2.

 

new member port 2.JPG

 

If everything was done correctly, the results should be similar to the following screenshot.

 

SD-WAN after zone and members.JPG

 

Step 3: Check the routing table.

Ensure the routing table and routing-table database are still the same. For example:

 

Default routing settings.JPG

 

Step 4: Delete the old static route.

Select Network -> Static Routes, then select the old default route using port1, and select Delete.

 

deleting static route port1.png

 

Step 5: Add a static route using a new Zone Underlay.

Select Network -> Static Routes -> Create New, select UNDERLAY on the interface list, then select OK.

 

Adding static route UNDERLAY.JPG

 

Note: After selecting UNDERLAY as the interface, the Gateway address field will disappear. This is expected.

 

If everything was done correctly, the results should be similar to the following:

 

default route UNDERLAY.JPG

 

Step 6: Check the routing table.

Routing table and routing-table database only show one route using the port2 (ppp1) interface. 

 

default route UNDERLAY.png

 

Step 7: Fix the routing table.

Navigate to Network -> SD-WAN then expand UNDERLAY by selecting the '+' sign, then select port1 and select Edit.

 

fixing routing table.png

 

Add the previous gateway IP address used by the static route via port1, then select OK.

 

fixing routing table 02.png

 

Step 8: Check the routing table.

Checking the routing table after the last change will show a default route using port1(static IP) and port2 (PPPoE) with an administrative distance of 1.

 

final routing table.png

 

Note: editing port2 settings will still show an Administrative Distance of 5. That value is not updated to 1 upon adding the PPPoE interface to the SD-WAN settings. 

 

PPPoE default settings.JPG

Contributors