Dynamic Routing OSPF Configuration for FortiGate
Instead of using static routing use OSPF for better management and flexibility.
To configure ;
config router ospf
PS: 0.0.0.0 is indicating routing table, in my configuration its 0.0.0.0 but maybe it could be different in your network pls ask to network guys …
set prefix xxx.xxx.xxx.xxx 255.255.255.248
PS: You should ask to network guys to with which network you will talk OSPF
set interface “port10”
PS: Also you should inform that via which interface you will talk OSPF, its generally your outside interface
config redistribute connected
set status enable
PS : This configuration explain that each internal stetted vlan interface or interface will be published to OSPF routing table
set router-id xxx.xxx.xxx.xxx
PS : This is only a tag, not more, generally i set the interface ip address.