I've noticed that my OSPF metric value for a static route that is redistributed into OSPF has a value that is 1 more then the metrics I can account for. For example: I have a router 2 hops away. the metric for a static route that was redistributed in the Fortigate is 73. I can account for the first hop of 50. The second hop is 10 and the metric set for redistributing static routes into OSPF is 12. This added up is 72. But yet, the metric at the remote router is 73.
Where do I pick up the metric of 1?
Thanks Brian
Update
I've discovered that if I add an OSPF Network but do not add a OSPF Interface, the cost of 1 is added to the metric on inbound routes to through this interface. I programmed the interface and a cost of 10. Now the metric reflects the additional cost of 10 on outbound routes that pass through this interface and the additional cost of 1 is gone on the inbound routes from other routers. This is odd to me because this should have no affect on the cost for routes inbound to the Fortigate on that interface.
You can look at the OSPF database or pcap and validate but I think this is normal.
Ken Felix
PCNSE
NSE
StrongSwan
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2024 Fortinet, Inc. All Rights Reserved.