• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
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 678 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 Nov 26, 2022, 6:04 AM

    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 Nov 26, 2022, 6:15 AM Reply Quote 0
    • P
      Patch @mauro.tridici
      last edited by Nov 26, 2022, 6:15 AM

      @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 Nov 26, 2022, 6:22 AM Reply Quote 0
      • M
        mauro.tridici @Patch
        last edited by Nov 26, 2022, 6:22 AM

        @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.

        B 1 Reply Last reply Nov 26, 2022, 6:44 AM Reply Quote 0
        • B
          bingo600 @mauro.tridici
          last edited by Nov 26, 2022, 6:44 AM

          @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 Nov 26, 2022, 8:45 PM Reply Quote 1
          • M
            mauro.tridici @bingo600
            last edited by Nov 26, 2022, 8:45 PM

            @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
            1 out of 5
            • First post
              1/5
              Last post
            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
              This community forum collects and processes your personal information.
              consent.not_received