Ahead of the Threat. FCNSA v5 / FCNSP v5
Fortigate 1000C / 1000D / 1500D
Solved! Go to Solution.
Hello Lucas,
lpiris wrote:But the big question is:
If I have an Active-Active HA with the synchronized sessions, the routing table synchronized with the SLAVE, you can check
with the command:
get info kernel router
Why to forcibly turn off the MASTER, OSPF need to renegotiate?
What do you understand by that? That's right? I have a case in the TAC, but no satisfactory conclusion.
this is because only the master unit it's actually running OSPF process (and btw there is only ONE OPSF process system wide), HA process simply injects (sync every route-wait+route-hold) OSPF route entries into other slaves FIB and marking those routes according to a specific TTL (route-ttl). IF you try to dig onto slaves with "get router info ospf database" you will see what i'm saying anyway there is a decent explanation of OSPF + GR at http://kb.fortinet.com/kb....do?externalID=FD34881 Why OSPF process lives only on master and it's not a "stetefull mirrored" process? IMHO i think that developers have realized that there is not a one-size-fit-all solution and maybe in some scenarios a statefull mirrored routing process/lsdb could be a backfire (stretched or transparent deployments, GRArp not viable,ecc): in those scenarios even OSPF GR could be a detriment and you want to adjust route-ttl,route-wait,route-hold to aggressively invalidate routes and establish newer adjacencies ASAP. Hope the explanation sounds satisfactory..maybe one of the forum gurus can add/correct the above speculations! Best regards, Antonio
Ahead of the Threat. FCNSA v5 / FCNSP v5
Fortigate 1000C / 1000D / 1500D
Ahead of the Threat. FCNSA v5 / FCNSP v5
Fortigate 1000C / 1000D / 1500D
Ahead of the Threat. FCNSA v5 / FCNSP v5
Fortigate 1000C / 1000D / 1500D
However when I revert (connect the port back) then it still gives five ‘timeouts’ is there a way we can prevent this as well ?you trigger a failback in a HA with asym priority or it' s a A-P HA ?
Does Fortigate use IETF Graceful Restart or Non-IETF Graceful RestartAFAIK both: restart-mode graceful-restart == IETF RFC3623 retart-mode lls == non IETF NSF (say cisco mode) anyhow you should enable OSPF GR onto adjacent routers so they could obey (GR helpers) to NSF restart or GR process cloud exit abruptly (f.e.apon LSA arrival), or your FIB will be invalidated either by ttl and by failed restart. AFAIK on h3c switches it' s nor GR neither GR helper are enabled by default. About GR grace timer imho the default 120 sec (per RFC IIRC) fits enought topologies. Regards, Antonio
I have the same case with an HA FortiGate 600C.
Configuring the graceful-restart works perfectly.
But the big question is:
If I have an Active-Active HA with the synchronized sessions, the routing table synchronized with the SLAVE, you can check
with the command:
get info kernel router
Why to forcibly turn off the MASTER, OSPF need to renegotiate?
What do you understand by that? That's right? I have a case in the TAC, but no satisfactory conclusion.
Regards
Lucas
Antonio Milanese wrote:
Hello Dipen,However when I revert (connect the port back) then it still gives five ‘timeouts’ is there a way we can prevent this as well ?you trigger a failback in a HA with asym priority or it' s a A-P HA ?Does Fortigate use IETF Graceful Restart or Non-IETF Graceful RestartAFAIK both: restart-mode graceful-restart == IETF RFC3623 retart-mode lls == non IETF NSF (say cisco mode) anyhow you should enable OSPF GR onto adjacent routers so they could obey (GR helpers) to NSF restart or GR process cloud exit abruptly (f.e.apon LSA arrival), or your FIB will be invalidated either by ttl and by failed restart. AFAIK on h3c switches it' s nor GR neither GR helper are enabled by default. About GR grace timer imho the default 120 sec (per RFC IIRC) fits enought topologies. Regards, Antonio
Hello Lucas,
lpiris wrote:But the big question is:
If I have an Active-Active HA with the synchronized sessions, the routing table synchronized with the SLAVE, you can check
with the command:
get info kernel router
Why to forcibly turn off the MASTER, OSPF need to renegotiate?
What do you understand by that? That's right? I have a case in the TAC, but no satisfactory conclusion.
this is because only the master unit it's actually running OSPF process (and btw there is only ONE OPSF process system wide), HA process simply injects (sync every route-wait+route-hold) OSPF route entries into other slaves FIB and marking those routes according to a specific TTL (route-ttl). IF you try to dig onto slaves with "get router info ospf database" you will see what i'm saying anyway there is a decent explanation of OSPF + GR at http://kb.fortinet.com/kb....do?externalID=FD34881 Why OSPF process lives only on master and it's not a "stetefull mirrored" process? IMHO i think that developers have realized that there is not a one-size-fit-all solution and maybe in some scenarios a statefull mirrored routing process/lsdb could be a backfire (stretched or transparent deployments, GRArp not viable,ecc): in those scenarios even OSPF GR could be a detriment and you want to adjust route-ttl,route-wait,route-hold to aggressively invalidate routes and establish newer adjacencies ASAP. Hope the explanation sounds satisfactory..maybe one of the forum gurus can add/correct the above speculations! Best regards, Antonio
Hi Antonio,
Thank you for your explanation.
Best Regards
Lucas
Antonio Milanese wrote:Hello Lucas,
lpiris wrote:But the big question is:
If I have an Active-Active HA with the synchronized sessions, the routing table synchronized with the SLAVE, you can check
with the command:
get info kernel router
Why to forcibly turn off the MASTER, OSPF need to renegotiate?
What do you understand by that? That's right? I have a case in the TAC, but no satisfactory conclusion.
this is because only the master unit it's actually running OSPF process (and btw there is only ONE OPSF process system wide), HA process simply injects (sync every route-wait+route-hold) OSPF route entries into other slaves FIB and marking those routes according to a specific TTL (route-ttl). IF you try to dig onto slaves with "get router info ospf database" you will see what i'm saying anyway there is a decent explanation of OSPF + GR at http://kb.fortinet.com/kb....do?externalID=FD34881 Why OSPF process lives only on master and it's not a "stetefull mirrored" process? IMHO i think that developers have realized that there is not a one-size-fit-all solution and maybe in some scenarios a statefull mirrored routing process/lsdb could be a backfire (stretched or transparent deployments, GRArp not viable,ecc): in those scenarios even OSPF GR could be a detriment and you want to adjust route-ttl,route-wait,route-hold to aggressively invalidate routes and establish newer adjacencies ASAP. Hope the explanation sounds satisfactory..maybe one of the forum gurus can add/correct the above speculations! Best regards, Antonio
Hi,
This is a solution:
config router ospf set restart-mode graceful-restart end
config system ha set route-ttl 60 set route-wait 60 set route-hold 60 end
:D
Now HA works as expected.
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 |
---|---|
1744 | |
1114 | |
760 | |
447 | |
241 |
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 2025 Fortinet, Inc. All Rights Reserved.