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

SD-WAN: Setting the Gateway for underlay circuits?



I have a project to implement SD-WAN for a client so I'm labbing it with FMG on 7.2.4 and FTGs on 7.2.6. I can get everything working but there is an oddity...


When configuring the SDWAN overlay template, the third page of the wizard asks for the WAN underlay port 1 and port 2 interfaces, but there is no option to set the gateway?


I can edit the SDWAN template (note: not the overlay template but the standard SDWAN template) and add the gateway IP (via a variable) for each WAN underlay circuit and this works fine, but if I then edit and save the overlay template, it removes the gateway configuration from the SDWAN template which could be VERY painful in the future in prod if FMG removes all gateways from all circuits at branch sites!


Am I doing something wrong?


What do others do to set the gateway IP for the branch underlay circuits?


Many thanks!


New Contributor III

Thank you for the links @sahmed_FTNT, they are good.

However, it doesn't necessarily answer the question.

What I need to know is, in a SD-WAN overlay environment, what is the recommendation for configuring DIA SD-WAN for branch sites?

Should you configure the DIA SD-WAN zones, members, gateways and rules manually (not via a template) per site before adding to FMG and installing the overlay template?

Or should you use the SD-WAN template with variables to push a consistent config from FMG to each branch?

Or something else?

Unless I'm being blind, the guides don't say this.

And ultimately, I want to know if what I observed in the original post is a bug or is by design (the fact that when you run through the overlay wizard a second time, it removes any gateway configs you have configured in the referenced SD-WAN template).

Please see attached screenshots.





Hi @mattw ,


It removes the Gateway to nulL, or changes to another IP? 


New Contributor III

It changes it to (same as setting to null effectively)

It's worth pointing out that I am using the SDWAN template that the SDWAN overlay template  creates when working through the wizard, so it automatically creates zones for WAN1, WAN2, HUB1 and HUB2. I'm adding the SLAs, SDWAN rules (and gateways) to this template.


What I mean is, on page 4 of the overlay wizard, you can choose to "Add Overlay Objects to SD-WAN Template" and you can pick an existing SD-WAN template or get it to create a new one. I created a new one. See attached.

overlay new sdwan template.png

Top Kudoed Authors