Troubleshooting Tip: How to configure ISP WAN IPv4 with VLAN (Layer 3)
| Description | This article describes how to configure ISP IPv4 WAN on VLAN (Layer 3). |
| Scope | FortiGate v6.0.0 and above. |
| Solution | For GUI: Go to Network -> Interfaces.
Remember that this information is provided by the ISP:
Go to Network -> static routes.
Configure the Interface by CLI console:
config system interface edit "ISP_L3" set vdom "root" set ip 181.181.181.186 255.255.255.248 set allowaccess ping https http set role wan set snmp-index 19 set interface "port2" set vlanid 100 next end
Configure the static route by CLI console:
FGTAWS (3) # show config router static edit 3 set gateway 181.181.181.185 set device "ISP_L3" next end
Modify the Policy by CLI console:
config firewall policy edit 7 set status enable set name "To_INTERNET" set uuid 3730360e-4b5f-51ee-66bd-1481a21243de set srcintf "port3" set dstintf "ISP_L3" <----- This will be the new interface, the name may change by the configuration. set action accept set srcaddr "all" set dstaddr "all" set schedule "always" set service "ALL" set utm-status enable set ssl-ssh-profile "certificate-inspection" set logtraffic all set nat enable next end
If there is any doubt about how to create a VLAN, check the document: Configure the VLAN interfaces on FortiVoice and FortiGate |



