Do one of the following:
- In the GUI, click on the System configuration tab if it is not already selected. Then click on the arrow (u) beside VLANs to expand the branch. Click on the arrow (u)beside a VLAN to expand the branch to display the subnets. Right-click on the name of a subnet and select Add Static Route.
or
- In the GUI, click on the System configuration tab if it is not already selected. Then click on the arrow (u) beside VLANs to expand the branch. Click on the arrow (u)beside a VLAN to expand the branch to display the subnets and select a subnet.
The following will be displayed.
Specify the DestinationIPAddress, Gateway, and Source IP address. This determines the route to be used. For example, you may want a set of routes on a subnet such as the following:
- Destination IP Address: 0/0, Gateway: 172.16.0.1, Source IP: 188.161.0.118.32
- Destination IP Address: 0/0, Gateway: 192.168.0., Source IP: sn (subnet)
This routing scenario says:If a packet destined to "anywhere" (Destination IP Address 0/0) is from Source IP 188.161.0.118/32, use Gateway 172.16.0.1. Otherwise, use Gateway 192.168.0.1.
Destination IP Address
|
The IP address for the host or subnet. For IPv4, specified as a Classless Internet Domain Routing (CIDR) address (e.g. 192.168.1.0/24). For IPv6, specified using IPv6 subnet notation. |
Gateway
|
The IP address of the gateway used to reach the host or subnet. |
Source IP
|
The IP address of where a packet originates. |
Prefer
|
Enabling this flag allows you to specify the “preferred” route to be used for any matching destination - even if the destination address is on a subnet that is defined on FortiADC. One Prefer flag is allowed for each subnet is allowed at this time, however, this can be enabled on as many static routes as necessary. |
To modify a static route, highlight the route in the table and click the Modify icon . Change the parameters and click commit.
To delete a static route, highlight the route in the table and click the Delete icon .