• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
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 560 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 Mar 20, 2020, 12:15 PM

    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
    • D
      dotdash
      last edited by Mar 20, 2020, 1:42 PM

      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
      • J
        jimp Rebel Alliance Developer Netgate
        last edited by Mar 20, 2020, 1:49 PM

        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 Mar 20, 2020, 2:02 PM Reply Quote 0
        • T
          tiwing @jimp
          last edited by Mar 20, 2020, 2:02 PM

          @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
          4 out of 4
          • First post
            4/4
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
            This community forum collects and processes your personal information.
            consent.not_received