Creating a static route for the SD-WAN interface
After you create an SD-WAN interface, the FortiGate adds a virtual interface for SD-WAN to the interface list. You can create routes using this SD-WAN interface.
You must configure a default route for the SD-WAN interface. You don’t need to configure a gateway address for the default route that uses the SD-WAN interface because the FortiGate forwards packets to the appropriate gateway based on the SD-WAN member interface gateway information.
Create a static route for SD-WAN – GUI
- Go to Network > Static Routes.
- Select Create New.
- In the Destination field, select Subnet and leave the destination IP address and subnet mask as 0.0.0.0/0.0.0.0.
- In the Interface field, select the SD-WAN interface from the drop-down menu.
- Ensure that the Status field is set to Enable.
- Select OK.
If you previously removed or redirected existing references in routes to interfaces that you wanted to add as SD-WAN interface members, you can now reconfigure those routes to reference the SD-WAN interface.
Create a static route for SD-WAN – CLI
config router {static | static6}
edit <sequence_number>
set virtual-wan-link enable
next
end