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

    Could not find a matching real interface subnet for the virtual IP

    HA/CARP/VIPs
    2
    6
    1.6k
    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
      remi_
      last edited by

      Hi all,

      I am trying to set up CARP with 2 pfSense boxes.
      Both are running 2.1.3, same hardware.

      When I synchronise the master to the slave, I have one issue with 1 of the 3 Virtual IP, with the following message:
      "Sorry but we could not  find a matching real interface subnet for the virtual ip address 10.132.0.254"

      My real interfaces are configured correctly, and I do not understand why it cannot set the VIP.

      Master interface: vlan 254, IP 10.132.0.253/16
      Slave interface: vlan 254, IP 10.132.0.252/16
      Virtual interface: IP 10.132.0.254

      So, when it sync, the VIP is attached to the pfsync interface, which is not good.

      You can see attached the screenshots of my config.

      Any idea on how to resolve this issue?

      Thanks for you help,

      Remi
      if_master.png_thumb
      if_master.png
      if_slave.png
      if_slave.png_thumb
      if_virt.png
      if_virt.png_thumb
      if_virt_master.png
      if_virt_master.png_thumb
      if_virt_slave.png
      if_virt_slave.png_thumb

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

        With a CARP setup the order of the interfaces on Interfaces > (assign) must be identical, including any internal identifiers for the names (e.g. wan->wan, lan->lan, opt1->opt1, opt2->opt2)

        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
          remi_
          last edited by

          OK, indeed the network interfaces are not in the same order on the master and backup server.

          Is there an easy way to reorder the interfaces?

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

            get a backup, edit the interfaces, restore the backup

            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
              remi_
              last edited by

              ok thanks, I will try tomorrow, thanks a lot!

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

                Hi,

                it works fine now, thanks!

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