Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
18.7 Legacy Series
»
BGP learned route reset on NIC update
« previous
next »
Print
Pages: [
1
]
Author
Topic: BGP learned route reset on NIC update (Read 4430 times)
cloudguy
Newbie
Posts: 5
Karma: 0
BGP learned route reset on NIC update
«
on:
February 10, 2019, 08:25:27 pm »
Hi. I’m running BGP via FRR in Opnsense 18.7.10. Have BGP going via FRR, everything works great. However, noticed that everyone settings are applied to a NIC (eg IP changes, new NIC etc) dynamically learned routes disappear from the opnsense route table. Have to restart BGP session to get them back. Is this by design or am I missing something?
Logged
mimugmail
Hero Member
Posts: 6756
Karma: 494
Re: BGP learned route reset on NIC update
«
Reply #1 on:
February 10, 2019, 09:09:34 pm »
I'd guess the daemon stops as the Interface is gone. This would also be the case with every other OS.
Logged
WWW:
www.routerperformance.net
Support plans:
https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German):
https://opnsense.max-it.de/
cloudguy
Newbie
Posts: 5
Karma: 0
Re: BGP learned route reset on NIC update
«
Reply #2 on:
February 10, 2019, 09:22:50 pm »
FRR keeps running, BGP session active. Interface doesn’t go away. When Interface setting are applied the BGP learned routes are cleared from the routing table (only static ones persist). I’m thinking there needs to be a process to refresh routing tables or restart BGP as part of interface “apply” workflow.
And no, it doesn’t happen on every other OS.
Logged
mimugmail
Hero Member
Posts: 6756
Karma: 494
Re: BGP learned route reset on NIC update
«
Reply #3 on:
February 10, 2019, 11:18:35 pm »
When you bring down an Interface in Linux all Kernel routes go down. Agree on apply action but it's not easy to catch as frr is only a plugin
Logged
WWW:
www.routerperformance.net
Support plans:
https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German):
https://opnsense.max-it.de/
cloudguy
Newbie
Posts: 5
Karma: 0
Re: BGP learned route reset on NIC update
«
Reply #4 on:
February 12, 2019, 04:42:43 pm »
Thanks for this, but unlike an OS, Opnsense is the distribution (not RH / Cent / Freebsd). I'm thinking there should be a hook built into the FRR package to detect and reload routes on I/F reset / apply. I've made a note of this in our processes, however other routing / security platforms / distributions have that process link between them.
Would this constitute a formal feature request or there's another mechanism to post such a request to the OpnSense developers?
Logged
mimugmail
Hero Member
Posts: 6756
Karma: 494
Re: BGP learned route reset on NIC update
«
Reply #5 on:
February 12, 2019, 05:35:31 pm »
As this error occurs when reconfiguring an interface it would be a bug report and/or feature request in core repo
Logged
WWW:
www.routerperformance.net
Support plans:
https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German):
https://opnsense.max-it.de/
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
18.7 Legacy Series
»
BGP learned route reset on NIC update