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

    Can you have more than one CARP VIP on the same interface?

    Scheduled Pinned Locked Moved HA/CARP/VIPs
    5 Posts 3 Posters 2.0k 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.
    • A
      ace
      last edited by

      we are trying to troubleshoot our CARP issues (e.g. "incorrect hash" on all CARPS except 2) , and came across a post which said:

      • cant have multiple carps assigned to the same subnet

      Is this true?  If so we are in trouble - each of our websites IPs are carped on our WAN interface - so we have about 10 carps for one interface.  The CARPS are used by the HAProxy module to load balance web servers etc.

      1 Reply Last reply Reply Quote 0
      • P
        podilarius
        last edited by

        Not sure what you mean here. I have around 20 CARP address on my WAN. (We have a 64 ip block from which to pull).  Are you trying to put some on that are not in the same subnet as the WAN interface?

        1 Reply Last reply Reply Quote 0
        • C
          cmb
          last edited by

          You have the context of that quote wrong. It was referencing conflicting VHIDs on the same broadcast domain. You can have as many CARP IPs on a subnet as there are VHIDs (and more IPs by adding aliases on top of CARP VIPs). You most likely have a VHID conflict.

          1 Reply Last reply Reply Quote 0
          • P
            podilarius
            last edited by

            You cannot have more that 1 or 2 on the same VHID … iirc. I usually just use the last octet as my vhid.

            1 Reply Last reply Reply Quote 0
            • C
              cmb
              last edited by

              @podilarius:

              You cannot have more that 1 or 2 on the same VHID … iirc. I usually just use the last octet as my vhid.

              One per VHID per broadcast domain. Using the last octet is a good option most of the time.

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