Support Forum
The Forums are a place to find answers on a range of Fortinet products from peers and product experts.
techdsmart
New Contributor

Fotigate VM 7.2.4 HA in OVH Cloud

Hi Community,

I am trying to set up HA for my two FortiGate VMs running on VMware environment on OVH cloud dedicated servers. The FortiGate VMs are running on diffrenet datacenters in OVH.

Problem I am running is automatic move of the WAN/failover IP from one dedicated server to another. OVH recommends use of:

  1. Custom script to detect downtime on one firewall and move the IP  via API (API failover IP move takes about 50-55 seconds to finish which means i will have up to 1minute downtime)
  2. Common Address Redundancy Protocol or CARP. (They don't seem to know if this works with FortiGate or how to set it up)

My goal is to achieve active-passive failover between the two FortiGate while maintaining the same public IP.

There is no issue is configuring the VMs from the VMware side to accept promiscuous mode, issue is on the cloud provider on how they handle the WAN/failover IP.

Question: Has anyone encountered such a design? Is CARP feasible? Any idea on how to set up the this HA

9 REPLIES 9
Anthony_E
Community Manager
Community Manager

Hello techdsmart,


Thank you for using the Community Forum. I will seek to get you an answer or help. We will reply to this thread with an update as soon as possible.


Thanks,

Anthony-Fortinet Community Team.
Anthony_E
Community Manager
Community Manager

Hello techdsmart,

 

We are still looking for someone to help you.

We will come back to you ASAP.


Regards,

Anthony-Fortinet Community Team.
gfleming
Staff
Staff

FGT does not support CARP. It uses its own proprietary—but very similar—protocol, FGCP.

 

https://docs.fortinet.com/document/fortigate/7.2.4/administration-guide/297020/ha-between-remote-sit...

 

FGCP works by using a virtual MAC address on the interfaces that is shared between the two FortiGates. This vMAC will ARP for the IP address configured on that interface. So if you have two FortiGates at two different data centers with two different public IPs it will be difficult to get this right.

 

Can you explain how the public IP moves from one DC to the other?

 

OVH recommends CARP. Can you get them to explain how CARP can be used in this scenario? Beacuse if so we can very likely translate it to FGCP.

Cheers,
Graham
techdsmart

Hi,

Sorry for late reply.

IP move is done via an API (internal to OVH), customers have a control panel where they can do it manually or via an API. More info here: https://help.ovhcloud.com/csm/en-dedicated-servers-ip-fo-move?id=kb_article_view&sysparm_article=KB0...

They seem to support CARP and from the KB articles shared by them, CAAR seems to work for NetGate Firewalls since they even have a dedicated interface that works for CARRP.

 

gfleming

I don't see anything in that link that talks about CARP. CARP works pretty much the same as Fortinet's FGCP. Again it uses a virtual MAC to assign an IP address to a specific box that is active. Can you point to OVH documentation where they talk about using CARP in this scenario? We can extraoplate from that for FGCP.

 

If you are using OVH Cloud to move an IP address from one instance to another instance via API then very likely these two FortiGates will need to operate independently. 

 

There might be other options though. Do you run the same internal subnet between the two OVH Datacenters? Or is it completely separate on both sides?

Cheers,
Graham
techdsmart

OVH doesn't provide any documentation on CARP but its pretty much active since at this point we always associate (from OVH control panel) the FGT WAN interface MAC to the IP we need to use. So if i move the IP to another box, i have to associate another MAC to the IP. The main issue here is currently if we set up HA between the FGT instances, we have to move the WAN IP  one instance to another instance via API or manually. The IP move in OVH is not instant meaning a downtime of up to 5 minutes would be experienced; looking for a set up that would avoid moving the IP altogether since they don't provide any other option. 

Yes, i run the same internal subnet between the two OVH Datacenters all traffic controlled by one FGT box.

gfleming

You have previously said:

"OVH recommends use of...Common Address Redundancy Protocol or CARP"

and 

"They seem to support CARP and from the KB articles shared by them, CAAR seems to work for NetGate Firewalls since they even have a dedicated interface that works for CARRP."

 

And now you say "OVH doesn't provide any documentation on CARP".

 

So which one is it?

 

But do keep in mind if you enable FGCP and put the FGTs into HA mode, they will create a new viftual MAC on the WAN interface that you can associate the public IP to. That virtual MAC will automatically shift to the secondary node during failover.

 

Now, I have no idea if OVH Cloud will automatically move the public IP to the other DC for you..... they probably won't.

 

 

Cheers,
Graham
techdsmart

Hi Graham,
In response to "OVH doesn't provide any documentation on CARP", i meant there is no official documentation apart from discussions on their community pages and the discussion was in response to NetGate customer.

 

Thanks for the response . I will try to set up the FGTs in HA and try associating the virtual mac with the public IP and see if it works

techdsmart
New Contributor

I am really running out of options since this OVH Cloud set up is really f***d up. Do you think its possible to achieve HA with two FGTs with different WAN IPs and a Load Balancer?

Labels
Top Kudoed Authors