BGP Local preference configuration example needed
-
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 -
@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 -
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. -
Idea ...
Not tested, but, maybe you can extract something usable from this thread.
https://github.com/FRRouting/frr/issues/10700I haven't used FRR , but would think/expect the pfSense implementation to accept "standard" FRR notation, somewhere in an input field.
/Bingo
-
@bingo600 thank you, Bingo.
Following your idea, I was able to configure the LocPrf for the BGP.
Here the link that I readhttps://docs.frrouting.org/en/latest/bgp.html
Thanks again,
Mauro