Fortinet white logo
Fortinet white logo

GCP Administration Guide

Configuring static routing in FortiGate-VM

Configuring static routing in FortiGate-VM

By default, Google Compute virtual machine (VM) instances' network configuration use single host (/32 net mask) subnets regardless of the subnet CIDR configuration. The internal IP address and routes are assigned to the VM using the dynamic host configuration protocol (DHCP), but in some cases, you may need to configure addresses and routing statically in FortiOS. This guide describes configuring static IP addresses and routing for such requirements.

Note

You can affect the way that subnets work on a per-VM basis during VM deployment using the MULTI_IP_SUBNET guest operating system feature, which is described at the end of this guide. As some Fortinet templates use this feature, confirm whether your deployment uses MULTI_IP_SUBNET or the standard networking scheme before continuing.

Configuring static routing in FortiGate-VM

Configuring static routing in FortiGate-VM

By default, Google Compute virtual machine (VM) instances' network configuration use single host (/32 net mask) subnets regardless of the subnet CIDR configuration. The internal IP address and routes are assigned to the VM using the dynamic host configuration protocol (DHCP), but in some cases, you may need to configure addresses and routing statically in FortiOS. This guide describes configuring static IP addresses and routing for such requirements.

Note

You can affect the way that subnets work on a per-VM basis during VM deployment using the MULTI_IP_SUBNET guest operating system feature, which is described at the end of this guide. As some Fortinet templates use this feature, confirm whether your deployment uses MULTI_IP_SUBNET or the standard networking scheme before continuing.