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

    BGP Local preference configuration example needed

    Scheduled Pinned Locked Moved General pfSense Questions
    5 Posts 3 Posters 648 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
      mauro.tridici
      last edited by

      Dear Users,

      I"m trying to configure the BGP local preference in order to manage the routes to the ISP routers.
      Unfortunately, I didn't find a clear example in the official documentation. Aldo Google didn't help.

      Could you please help me to understand how to configure local preference assigning it to the neighbors?

      Thank you in advance.
      Mauro

      P 1 Reply Last reply Reply Quote 0
      • P
        Patch @mauro.tridici
        last edited by

        @mauro-tridici
        Err, how is this different to your other thread?
        https://forum.netgate.com/topic/175902/replacing-old-router-with-a-new-instance-of-pfsense-bgp-protocol-to-configure-a-dual-link-to-the-isp

        M 1 Reply Last reply Reply Quote 0
        • M
          mauro.tridici @Patch
          last edited by

          @patch

          In my previous topic I configured BGP with the help of community.
          BGP is working as expected, but now I need to manage the routes using BGP local preference.
          ISP suggested to use local preference instead of weight, med, or other.

          bingo600B 1 Reply Last reply Reply Quote 0
          • bingo600B
            bingo600 @mauro.tridici
            last edited by

            @mauro-tridici

            @mauro-tridici

            Idea ...

            Not tested, but, maybe you can extract something usable from this thread.
            https://github.com/FRRouting/frr/issues/10700

            I haven't used FRR , but would think/expect the pfSense implementation to accept "standard" FRR notation, somewhere in an input field.

            /Bingo

            If you find my answer useful - Please give the post a šŸ‘ - "thumbs up"

            pfSense+ 23.05.1 (ZFS)

            QOTOM-Q355G4 Quad Lan.
            CPUĀ  : Core i5 5250U, Ram : 8GB Kingston DDR3LV 1600
            LANĀ  : 4 x Intel 211, DiskĀ  : 240G SAMSUNG MZ7L3240HCHQ SSD

            M 1 Reply Last reply Reply Quote 1
            • M
              mauro.tridici @bingo600
              last edited by

              @bingo600 thank you, Bingo.

              Following your idea, I was able to configure the LocPrf for the BGP.
              Here the link that I read

              https://docs.frrouting.org/en/latest/bgp.html

              Thanks again,
              Mauro

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