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

    Reasons/conditions for CARP state change

    Scheduled Pinned Locked Moved HA/CARP/VIPs
    3 Posts 2 Posters 454 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.
    • M
      mahomed
      last edited by

      Hi

      Could someone please point me at a doc or confirm all the situations/conditions/reasons for a CARP state change (i.e. Master -> Backup or Backup -> Master)

      What I have so far are:

      • Physical port down
      • Not receiving advertisement from peer (usually due to a layer 2 issue/misconfig)
      • Receiving an "unexpected" advertisement with the same VHID (e.g. from other devices running vrrp on the same physical network)
      • MAC address conflict (probably relating to above)
      • Manual change of advskew
      • Platform specific issues when using hypervisors/VMs

      Have I missed anything please? Thanks.

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

        The hypervisor/VM issue isn't really one of it's own, it's just a variation of one of the others (likely the second point in your list)

        The only one I don't see there is entering maintenance mode, which isn't exactly a manual change of advskew since the user isn't editing advskew directly, but it is similar as the system automatically sets an advskew of 254 when in maintenance mode.

        And "MAC address conflict" isn't really the root cause of a CARP issue. A VHID conflict would be. Two systems with CARP VIPs on the same L2 using the same VHID will technically have the same MAC, but it's not the MAC that's the problem, it's the conflicting VHID advertisements.

        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 1
        • M
          mahomed
          last edited by

          Thanks for that clarification @jimp. It helps.

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