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

    Filter out OSPF route?

    Scheduled Pinned Locked Moved pfSense Packages
    7 Posts 3 Posters 1.3k 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.
    • A
      AdamTheManTyler
      last edited by

      Hello, can anyone tell me how to filter out a route using pfsense and Quagga? I have a configuration that is working just fine, but just need to prevent two routes from entering the routing table.

      my config is pretty basic at this point.

      router ospf
      ospf router-id 10.10.15.1
      network 10.10.15.0/24 area 0.0.0.0
      area 0.0.0.0 authentication message-digest
      

      I'd like to prevent the router from learning the following two routes..

      10.10.152.0/28
      10.10.48.32/28
      

      Regards,
      Adam Tyler

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

        On the FRR Global Settings tab, add entries in the Route Handling area for those subnets with Do Not Accept checked.

        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!

        A 1 Reply Last reply Reply Quote 1
        • A
          AdamTheManTyler @jimp
          last edited by

          @jimp I found that area under global config, but it doesn't seem to make any difference. Routes I am trying to prevent still seem to display in both OSPF and Zebra tables...

          It's strange, even with the "Disable Acceptance" box checked, it still seems to just add a network statement under the OSPF process.

          Take a peek...

          49daf4a3-b9c2-42ea-a35e-6a736d1c2fe8-image.png

          61ea7386-60fc-4c03-b34e-a8cf01f1584a-image.png

          a644eda1-82f4-44e1-9a58-500225b9c72d-image.png

          28786334-b524-4c72-bfe0-e112c389aee0-image.png

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

            Sure they show there but they are not active. They have no > so not selected. They have no * so not in the FIB. Check the actual system routing table, they should not be present there.

            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!

            A 1 Reply Last reply Reply Quote 1
            • A
              AdamTheManTyler @jimp
              last edited by

              @jimp Crap! I missed that * detail, thanks!

              On a Cisco device you are able to run the command "show ip route" and it lists all routes that actually exist in the active routing table. Is there something similar for the pfsense?

              Regards,
              Adam Tyler

              1 Reply Last reply Reply Quote 0
              • DerelictD
                Derelict LAYER 8 Netgate
                last edited by

                Diagnostics > Routes

                netstat -rn

                Chattanooga, Tennessee, USA
                A comprehensive network diagram is worth 10,000 words and 15 conference calls.
                DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
                Do Not Chat For Help! NO_WAN_EGRESS(TM)

                A 1 Reply Last reply Reply Quote 2
                • A
                  AdamTheManTyler @Derelict
                  last edited by

                  @Derelict Thank you.

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