Re: Use presence of route to enable/disable BGP session

2021-11-24 Thread bird21
Hello again, Thank you for the replies. It's a simple setup with a private ASN and a default from upstream, so it's more advertising the inbound path that is the issue. Since the ASN is private, I can't do something like AS path padding to strongly prefer one path over the other. The backup w

Re: Use presence of route to enable/disable BGP session

2021-11-24 Thread Cybertinus
Hello, What also might be an idea is too keep both sessions up all the time, but give the routes recieved from the backup connection a lower preference. If you receive the same routes from both connections, then the routes learned from the primary connection will be used. If this connection f

Re: Use presence of route to enable/disable BGP session

2021-11-24 Thread Maria Matejka
Hello! This is not possible at all. We may implement something like this in near future, yet since it heavily depends on some now-unstable code, you'd be better for now to do it by an external script. You can also, instead of calling birdc show route repeatedly, use something like 'ip monito

BGP perf tests with filters

2021-11-24 Thread Justin Pietsch
Hi, I've written a new blog post on BGP performance testing, this time using filters. https://elegantnetwork.github.io/posts/bgperf-first-try-at-filtering/. Let me know how I could make this better and more representative. thanks, Justin

Use presence of route to enable/disable BGP session

2021-11-24 Thread bird21
Hi all, I want to enable a backup BGP session (or perhaps, keep the session up and change the import/export filters) only when the main peer goes down (default disappears) Conceptually, I want to do something like this: if net = 0.0.0.0/0 then { if from = x.x.x.x then { # x.x.x.x = main