Chapter 2 Advanced Routing for FortiOS 5.0 : Advanced Static Routing : Static routing example : Configure FortiGate unit : Configure static routing
  
Configure static routing
With the rest of the FortiGate unit configured, static routing is the last step before moving on to the rest of the local network. All traffic on the local network will be routed according to this static routing entry.
To configure Fortinet unit static routing - web-based manager
1. Go to Routing > Static.
2. Select Edit for the top route on the page.
3. Enter the following:
Destination IP/Mask
172.100.20.5
Device
port2
Gateway
172.100.20.5
Distance
10
4. Select OK.
To configure Fortinet unit static routing - CLI
configure routing static
edit 1
set gateway 172.100.20.5
set distance 10
set device port2
set dst 0.0.0.0
end
end