Fortinet white logo
Fortinet white logo

Administration Guide

Dynamic routing

Dynamic routing

Dynamic routing protocols attempt to build a map of the network topology to identify the best routes to reach different destinations. Instead of manually defining static routes, which is not scalable, dynamic routing typically involves defining neighbors and peer routers that share their network topology and routing updates with each other. Protocols like distance vector, link state, and path vector are used by popular routing protocols. FortiGate supports RIP, OSPF, BGP, and IS-IS, which are interoperable with other vendors. When different dynamic routing protocols are used, the administrative distance of each protocol helps the FortiGate decide which route to pick.

Note

Go to System > Feature Visibility and enable Advanced Routing to configure dynamic routing options in the GUI. See Feature visibility for more information.

This section includes:

To view the routing table and perform route look-ups in the GUI, go to Dashboard > Network and expand the Routing widget.

To view the routing table in the CLI:

# get router info routing-table all

Codes: K - kernel, C - connected, S - static, R - RIP, B - BGP
O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
* - candidate default

Routing table for VRF=0

S* 0.0.0.0/0 [5/0] via 192.168.0.1, wan1

C 10.10.10.0/24 is directly connected, internal

C 169.254.2.1/32 is directly connected, Dialup-test

C 172.31.0.0/30 is directly connected, toKVM-MPLS

C 172.31.0.1/32 is directly connected, toKVM-MPLS

C 192.168.0.0/24 is directly connected, wan1

O 192.168.2.0/24 [110/101] via 10.10.10.11, internal, 00:00:26

S 192.168.20.0/24 [10/0] via 172.31.0.2, toKVM-MPLS

[10/0] via 10.10.10.11, internal

Dynamic routing

Dynamic routing

Dynamic routing protocols attempt to build a map of the network topology to identify the best routes to reach different destinations. Instead of manually defining static routes, which is not scalable, dynamic routing typically involves defining neighbors and peer routers that share their network topology and routing updates with each other. Protocols like distance vector, link state, and path vector are used by popular routing protocols. FortiGate supports RIP, OSPF, BGP, and IS-IS, which are interoperable with other vendors. When different dynamic routing protocols are used, the administrative distance of each protocol helps the FortiGate decide which route to pick.

Note

Go to System > Feature Visibility and enable Advanced Routing to configure dynamic routing options in the GUI. See Feature visibility for more information.

This section includes:

To view the routing table and perform route look-ups in the GUI, go to Dashboard > Network and expand the Routing widget.

To view the routing table in the CLI:

# get router info routing-table all

Codes: K - kernel, C - connected, S - static, R - RIP, B - BGP
O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
* - candidate default

Routing table for VRF=0

S* 0.0.0.0/0 [5/0] via 192.168.0.1, wan1

C 10.10.10.0/24 is directly connected, internal

C 169.254.2.1/32 is directly connected, Dialup-test

C 172.31.0.0/30 is directly connected, toKVM-MPLS

C 172.31.0.1/32 is directly connected, toKVM-MPLS

C 192.168.0.0/24 is directly connected, wan1

O 192.168.2.0/24 [110/101] via 10.10.10.11, internal, 00:00:26

S 192.168.20.0/24 [10/0] via 172.31.0.2, toKVM-MPLS

[10/0] via 10.10.10.11, internal