Skip to main content
FredH
New Member
May 8, 2024
Question

Static routing using less specific route 7.0.14

  • May 8, 2024
  • 1 reply
  • 1134 views

We are currently deploying a Fortinet at a client (ver 7.0.14) and have added two static routes:

 

192.168.0.0/16 -> LAN

192.168.100.0/24 -> Port1

 

Any traffic sent to the 192.168.100.0/24 network is still sent to LAN.  We have reduced the AD and Priority for the more specific route, but this has still not helped. When checking which route is used for traffic to the 192.168.100.0 network the CLI output shows that the 192.168.0.0 route is used.

 

 

1 reply

Toshi_Esumi
SuperUser
SuperUser
May 8, 2024

That's expected. Because the /24 route to Port1 is more specific than the /16 route to LAN. Or did you mistype and actually those routes are reversed?

 

Toshi

FredH
FredHAuthor
New Member
May 8, 2024

HI Toshi,

 

Yes it was a mistype and the /16 is being used instead of the /24.

Toshi_Esumi
SuperUser
SuperUser
May 8, 2024

Then please share us routing table with "get router info routing-table all". You can remove unrelated routes.

 

Toshi