Hello,
I'm having some trouble to change my OSPF topology.
Firewall site4-fw1 is in Area 1 and everything else in Area 0.
At this time site4-fw1 prefered to used direct VPN to contact 10.10.1.0/24 on site1 (blue square).
Interface cost is ok. 100 for VPN and 1 for L2 link.
In OSPF database, LSA for both network is the same (metric 10)
Do you have any idea ? Should I tried to set a route map to force metric ?
Nominating a forum post submits a request to create a new Knowledge Article based on the forum post topic. Please ensure your nomination includes a solution within the reply.
Hi @mgauthier,
Can you check the routing table by running "get router info routing-table detail 10.10.1.1" in the CLI?
Regards,
FortiGate-VM64-KVM # get router info routing-table details 10.10.1.0
Routing table for VRF=0
Routing entry for 10.10.1.0/24
Known via "ospf", distance 110, metric 10, best
Last update 00:01:50 ago
* 100.65.0.5, via vpn1 distance 0
FortiGate-VM64-KVM # get router info routing-table details 10.10.1.1
Routing table for VRF=0
Routing entry for 10.10.1.0/24
Known via "ospf", distance 110, metric 10, best
Last update 00:01:56 ago
* 100.65.0.5, via vpn1 distance 0
Hi,
Is the VPN route a static route?
Static route would have lower AD if compare to OSPF.
Lower AD would be preferred.
Checked the routing database table 'get router info routing-table database' and see the ADs.
regards
No, the only static route is the fake public ip for the vpn
FortiGate-VM64-KVM # sh router static
config router static
edit 1
set dst 80.0.1.0 255.255.255.252
set gateway 80.0.4.2
set device "port2"
next
end
FortiGate-VM64-KVM
This lab has been done on Eve NG with :
You can find all config change/add below to reproduce
Select Forum Responses to become Knowledge Articles!
Select the “Nominate to Knowledge Base” button to recommend a forum post to become a knowledge article.
User | Count |
---|---|
1660 | |
1077 | |
752 | |
443 | |
220 |
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.