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 Router > Static > Static Routes.
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