06-03-2022 12:21 PM - last edited on 06-05-2022 12:27 AM by Translator
Dear ALL,
I'm using FTD to generate the default route to internal switch,the FTD and internal switch are in same AREA 0, i had enabled the "Enable Default Information Originate" on FTD and the metric value is 100(this is value cant change), but i want to change the metric when receiveing the prefix in the internal switch.
Anyone can help?
Below is my configuration.
router ospf 1
log-adjacency-changes
redistribute connected subnets
network 10.195.0.0 0.0.0.255 area 0
distribute-list route-map OSPF-IN in
access-list 2 permit 192.168.188.0 0.0.0.255
route-map OSPF-IN permit 1
match ip address 2
set metric 0
Solved! Go to Solution.
06-03-2022 01:52 PM - last edited on 06-05-2022 12:50 AM by Translator
what I mean SW have
default route
toward FTD and
inject default-information
into OPSF not FTD, are this solution is accept from your side?
when we make
SW inject default route
we can modify metric and make it better than branch.
06-03-2022 12:24 PM - last edited on 06-05-2022 12:33 AM by Translator
Op1
Instead make
sw push defualt route
and
config metric
as you want,
Then
config static route toward ftd.
Op2
Try use
Match route type internal or external (depend on how opsf see default route) in route map
06-03-2022 12:53 PM - last edited on 06-05-2022 12:41 AM by Translator
I cant use static route on ftd,
My network is
(HQ) Fortigate(BGP)->FTD(BGP+OSPF)->internal switch(OSPF)->Point-to-point->(Branch)->internal switch(BGP+OSPF)->Fortigate(BGP).
the HQ and branch is using the
Point-to-point
to connect the both site, if the HQ internet down, the HQ can access the internet via branch, now my problem is if the HQ internet resumed, the default route is from branch, i checked the route, it is because the 0.0.0.0/0 from branch metric value is [110/110], but the 0.0.0.0/0 from HQ metric value is [110/111].
06-03-2022 01:52 PM - last edited on 06-05-2022 12:50 AM by Translator
what I mean SW have
default route
toward FTD and
inject default-information
into OPSF not FTD, are this solution is accept from your side?
when we make
SW inject default route
we can modify metric and make it better than branch.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide