Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
General Discussion
»
[RESOLVED] HA : CARP and Virtual IP
« previous
next »
Print
Pages: [
1
]
Author
Topic: [RESOLVED] HA : CARP and Virtual IP (Read 111 times)
fcalleja
Newbie
Posts: 2
Karma: 0
[RESOLVED] HA : CARP and Virtual IP
«
on:
November 16, 2024, 11:16:13 am »
Hi,
I want to setup HA on my existing FW01 using OPNSENSE 24.7, using a second FW02.
I have setup CARP for the OUTSIDE interface and reassign IP of FW01 and FW02. But on this OUTSIDE interface, I also have an IP Alias configured.
I have a /29 network and configured it as :
.1 and .2 IP Alias to redirect to specific servers with one-to-one NAT or Port forwarding NAT
.3 FW01
.4 FW02
.5 CARP IP
.6 my provider GW
In normal operation (when both FW are active) what will happen to my IP aliases (.1 and .2) operation ? Which FW will do the gratuitous ARP of those IP, and which one will serve the outside requests from Internet.
Same question when FW01 or FW02 will go down ?
Thanks for help in understanding how it works.
Franck
«
Last Edit: November 16, 2024, 01:26:11 pm by fcalleja
»
Logged
Patrick M. Hausen
Hero Member
Posts: 6794
Karma: 570
Re: HA : CARP and Virtual IP
«
Reply #1 on:
November 16, 2024, 12:47:58 pm »
You need to assign the same VHDI as your CARP address to those two aliases. Then they will switch to the active/working node just like the CARP one does.
Logged
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do.
(Isaac Asimov)
fcalleja
Newbie
Posts: 2
Karma: 0
Re: HA : CARP and Virtual IP
«
Reply #2 on:
November 16, 2024, 01:09:41 pm »
Hi,
Great. It seems to be functional.
In the dashboard, I got now the boths virtual IP associated with the outside address and its MASTER/BACKUP status.
Thanks.
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
General Discussion
»
[RESOLVED] HA : CARP and Virtual IP