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

    CARP with multiple subnets

    HA/CARP/VIPs
    2
    4
    1.2k
    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.
    • R
      rogerivy
      last edited by

      Is there a guide somewhere that explains how to set up CARP where one has multiple subnets running on the same WAN interface.

      When I attempt to create a new CARP VIP I get this message: "Sorry, we could not locate an interface with a matching subnet for xxx. Please add an IP alias in this subnet on this interface."

      1 Reply Last reply Reply Quote 0
      • jimpJ
        jimp Rebel Alliance Developer Netgate
        last edited by

        The error message told you what needs to happen. Do what it says: Add an IP alias to each firewall inside the new subnet, then you can add CARP VIPs inside that subnet.

        Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

        Need help fast? Netgate Global Support!

        Do not Chat/PM for help!

        1 Reply Last reply Reply Quote 0
        • R
          rogerivy
          last edited by

          Thanks Jimp

          I've tried your suggestion and either I'm doing it wrong or the IPs haven't been set up correctly by the colo provider. They got the first subnet wrong so it's possible hey could have the 2nd one wrong too.

          As they are over an hour away, I'd like to ask exactly what settings you would use to potentially save me a trip.

          The "extra" subnet is tiny, I actually only get 3 workable IPs from it.

          The network address is: 185.64.95.8 / 29
          The gateway is 185.64.95.9
          The colo provider reserves 185.64.95.9 - 185.64.95.11
          That leaves me with three additional useable IPs 185.64.95.12 - 185.64.95.14

          So am I to create a IP Alias with the following:
          185.64.95.8 / 29
          or
          185.64.95.12 / 29

          I tried the latter and then I tried a 1:1 NAT but it didn't work.
          If I try the former I get this error message "You cannot use the network address for this VIP"

          If I try setting up an IP Alias of 185.64.95.12 / 29
          and then try setting up CARP for it the system tells me I have a duplicate

          Can I actually use those three IPs for anything useful at all?

          TIA

          1 Reply Last reply Reply Quote 0
          • R
            rogerivy
            last edited by

            I forgot to add: for those extra three IPs I don't have to have CARP. They will be used for non-essential operations. Does that make it easier?

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