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

    OSPF with CARP?

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

      Hi All

      I am trying to create a config with 2 PFSense boxes running as an HA pair, and doing OSPF with the rest of my network. I have got the CARP side of things running without too much grief but OSPF is being a pain.

      I can't see a way of integrating the OSPF with the CARP setup, i.e. having the VIP populated in the route tables of my other routers.

      Is there a way to do this please?

      Many thanks!

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

        We typically suggest editing /etc/rc.carpmaster and /etc/rc.carpbackup so that the OSPF daemon gets stopped while in backup mode, and started when it's in master mode.

        Given the dynamic nature of OSPF, it really doesn't matter if it's advertising the CARP VIP, if the adjacency changes it'll need to update anyhow. Might have a few seconds of downtime as the neighboring comes back up during a switch, but afaik there's no way to have the OSPF daemon actually advertise the CARP VIP as the router address.

        Alternately, you can also just setup OSPF as normal on the secondary box but with higher costs than the primary box has, so it would fail to that one quicker, perhaps. I can't remember if I've tried that one before.

        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.