OPNsense Forum

English Forums => General Discussion => Topic started by: sense_f on October 19, 2021, 03:51:46 PM

Title: BGP route-reflector-client how save option in startup config?
Post by: sense_f on October 19, 2021, 03:51:46 PM
Hi all!
Didn't find route-reflector-client option in context of peer settings in bgp.
Found in FRR documentation that the option can be written in the config file.
https://docs.frrouting.org/en/latest/bgp.html#route-reflector
I set the setting for the peer in the config /usr/local/etc/frr/bgpd.conf, save the file. Then restart Quagga and draw the output in the console:
root@OPNsense:/ # /usr/local/bin/vtysh -c "show running-config"
Building configuration...

Current configuration:
!
frr version 7.4
frr defaults traditional
hostname OPNsense.localdomain
log syslog notifications
!
router bgp 65550
bgp router-id 192.168.1.1
no bgp ebgp-requires-policy
neighbor 10.11.1.1 remote-as 65550
neighbor 10.11.1.1 update-source gre0
!
address-family ipv4 unicast
   neighbor 10.11.1.1 route-reflector-client
exit-address-family
!
line vty
!
end


As you can see, the option is accepted and displayed in the running config, but after the opnsense reboot, the setting disappears. How can I save it?
Title: Re: BGP route-reflector-client how save option in startup config?
Post by: mimugmail on October 19, 2021, 07:20:22 PM
Can you open a feature request in GitHub so I dont forget it? It looks quite easy to implement
Title: Re: BGP route-reflector-client how save option in startup config?
Post by: sense_f on October 20, 2021, 11:13:24 AM
Sure, I''ll do it ;), but tell me please how I can implement temporary workaround?
Title: Re: BGP route-reflector-client how save option in startup config?
Post by: sense_f on October 20, 2021, 12:27:30 PM
I created the feature request.
But I'm still waiting for a possible temporary workaround. Thanks.
Title: Re: BGP route-reflector-client how save option in startup config?
Post by: sense_f on October 28, 2021, 12:40:56 PM
Thanks for fast decision  :)
https://github.com/opnsense/plugins/issues/2594