Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    CARP VIPs Multiple IPs

    Scheduled Pinned Locked Moved HA/CARP/VIPs
    2 Posts 2 Posters 929 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S Offline
      steve.hills
      last edited by

      Hello, Ill try to explain our proposed setup, please bear with me. Theres a question in here too…

      we currently use pfsense on a single machine. it has 2 WAN connections (1 x 50MB Ethernet leased line, and 1 x 10MB ADSL via a modem, used for minor services and failover). I want to replace this system with 2 new pfsense boxes, using CARP and hopefully down the line experiment with arp load balancing (but thats for another day).

      My first plan is to get CARP setup. so we have a public IP range (a.b.c.250-254 usable). On our existing system, the WAN interface is .250, though the remaining addresses also have services defined for different internal NATted hosts.

      I assume that the .250 address will become the VIP, and 2 of the other addresses (lets use 251 and 252) will become the WAN addresses for each firewall. My question here though is that with these addresses assigned to physical machines, will services that connect from outside to those addresses pass only through the relevant firewall? We have quite a few IPSEC VPN tunnels which Id like to fail over in the event of a firewall outage, but as i have to use different endpoint addresses for each tunnel, Im concerned that I dont have enough IP capacity for what Im trying to achieve.

      1 Reply Last reply Reply Quote 0
      • dotdashD Offline
        dotdash
        last edited by

        You will need an IP for each physical box, so you are only going to have three IPs that will fail over.
        Lets say .249 is the gateway, 250 could be one firewall, 251 the second, leaving you with 252, 253, and 254.
        You might be able to share IPs using port forwards and have enough. You can terminate multiple IPSec tunnels on one CARP VIP.

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.