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

    DHCP Server wrong IP CARP

    Scheduled Pinned Locked Moved HA/CARP/VIPs
    4 Posts 3 Posters 497 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.
    • T
      tiwing
      last edited by

      Hi, Hopefully one of my last asks for help for HA setup. I've successfully got HA up and running. sync works, failover appears to be working except that on at least my windows machines, both physical and virtual, my DHCP server is showing up as the primary IP, not as the CARP IP.
      b765462a-0e74-4086-9288-8c4546a3fca6-image.png

      LAN DHCP Server is set like this and gateway seems to be working:
      edf194ca-3ccf-4a8b-8eb6-1fa56a7c4e81-image.png

      Is there anywhere else I need to set this so DHCP works properly if I lose my primary?

      Thank you!
      Tiwing

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

        This is correct. The DHCP service runs on the interface address of the firewall, not the CARP address. You need to fill in the failover peer ip on each node. Check the DHCP status to see if they are in sync. Sometimes you need to stop and restart the service, then wait a few minutes for them to get in sync.

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

          The two HA nodes act in a coordinated manner for failover when you properly set them up in the DHCP settings. On the primary, add the secondary interface address in each active DHCP server tab.

          They will both hand out addresses and share lease information. If either one goes down, clients will still obtain an address.

          That is covered in the docs for HA

          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!

          T 1 Reply Last reply Reply Quote 0
          • T
            tiwing @jimp
            last edited by

            @jimp said in DHCP Server wrong IP CARP:
            On the primary, add the secondary interface address in each active DHCP server tab.

            Yup, did that! Thanks both of you - I didn't realize it was supposed to be that way, and although I've read the HA docs a number of times I guess I missed the part where DHCP server address would show as the actual IP of the box, not the VIP.

            Thank you!
            Cheers
            Tiwing

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