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

    2.8.0 - OSPF Route Propagation Fails After Reboot

    Scheduled Pinned Locked Moved FRR
    2 Posts 1 Posters 39 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.
    • F
      fmroeira86
      last edited by fmroeira86

      Since upgrading my pfSense with FRR, OSPF no longer seems to function correctly.

      I use site-to-site OpenVPN tunnels to propagate routes between my locations. However, after rebooting either the primary or secondary firewall, OSPF does not automatically start advertising the routes.

      The OpenVPN tunnels come up successfully, but no OSPF routes are exchanged.

      If I manually restart the FRR services, or toggle FRR off and on again (via Services > FRR > OSPF), or even just reapply the OSPF interface settings, the routes start propagating as expected.

      Restarting the OpenVPN tunnels will not trigger route propagation. Only manipulating FRR will.

      Something's different between 2.0.2_1 and 2.0.2_6 packages

      This doesn't seem to occur on standalone pfSense — only in HA setups.

      F 1 Reply Last reply Reply Quote 0
      • F
        fmroeira86 @fmroeira86
        last edited by fmroeira86

        After further troubleshooting, I discovered that, for some reason, the file /var/etc/frr/frr.conf is missing the line "ip ospf area 0.0.0.0" on every interface.

        However, whenever I restart the FRR services, the file is rewritten and the "ip ospf area 0.0.0.0" line is correctly added to every interface.

        I’m not sure if this is the root cause of the problem or just a symptom. The fact is, when I reboot my HA PFSense box, /var/etc/frr/frr.conf is missing the "ip ospf area 0.0.0.0" statements, and only after restarting the FRR service does the file get updated.

        In practical terms, I observe that no OSPF hello packets are sent until this is fixed—that is, until the services are restarted.

        EDIT:

        /usr/local/pkg/frr/inc/frr_ospf.inc

        line 215, remove:

        	if (empty($interface_ip)) {
        		continue;
        	}
        

        This fixes the problem.

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