Single address CARP
-
I have got only one IP from my ISP. I'd like to setup two pfsense boxes w/ CARP.
From the tutorial I understand that I should put the IP which my ISP gave me as CARP Virtual IP….
But what about 'real interfaces' IPs ?
Let's be more clear w/ example.
My ISP give me address 193.x.x.2/30 & default gw & DNS = 193.x.x.1/30
What IP addresses should I put on WAN interfaces of my two boxes? Is it possible to use 192.168.1.1 & 192.168.1.2 for the WAN addresses and 193.x.x.2 as VIP address ? -
No, CARP IP and real interface IPs have to be within the same subnet. You could set up your WAN subnet to /29 and use 2 IPs that are out of your range for the real WAN IPs. This way you lose access to a few IPs at the internet but as this most probably are other customers of your provider that might not even run any public services this should be no problem. Just make sure the gateway IP and the CARP WAN IP is what your provider told you for the IP you have.