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

    CARP + LAGG + Switch Stack

    Scheduled Pinned Locked Moved HA/CARP/VIPs
    2 Posts 2 Posters 1.4k 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 Offline
      MikeX
      last edited by

      I need confirmation on the behavior of CARP before I deploy in two weeks.

      Unfortunately I am unable to lab this up as this will be a hot cut with the existing equipment.

      The question is simple, if one of the stacks goes offline, and there's a LAGG between the CARP hosts and the stack across both switches (SW1 port 1, SW2, port 1).. what happens to the CARP state? That is, since it will detect a physical port failure on one port in the LAGG, will it start flapping between CARP hosts?

      My intent was to create a highly available solution between the CARP hosts and the switch stack by connecting across both stack members, but if that is going to cause issues, I'll probably put the primary CARP host on a LAGG w/SW1, and the secondary CARP host on a LAGG w/SW2.

      I'd rather have my switching fabric fail and lose half of the LAGG than a CARP state change, but if this is the only way that's fine too.

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

        If the CARP VIP is on the lagg interface, the link status of the lagg and thus CARP VIP should only flip if both NICs die.

        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
        • First post
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.