Oh, looks like FreeBSD does not have metric for the routes. So yes, it is not the possibility then.
On Tue, Jun 15, 2021 at 3:24 PM Ondrej Zajicek <[email protected]> wrote: > > On Tue, Jun 15, 2021 at 02:50:09PM +0200, Alexander Zubkov wrote: > > Hi, > > > > I think it is intentional so that bird should not meddle with "foreign" > > routes. In Linux, for example, it uses it's own protocol label and > > does not touch other routes. It can import them, but does not change them. > > Hi > > Yes, that is true. > > > > In your situation, I think the optimal solution is to have your > > original default routes with some high metric, so that bird's default > > should override it later. In that case it will not need to replace > > routes it does not own, because usually you can have routes with the > > same prefix but different metrics simultaneousely in your routing > > table. > > > That works in Linux, but i do not think it works in FreeBSD. AFAIK there > is only one route per network there. > > Using -proto1 -nostatic for route is an easy way how to workaround this > issue on BSD. > > -- > Elen sila lumenn' omentielvo > > Ondrej 'Santiago' Zajicek (email: [email protected]) > OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, wwwkeys.pgp.net) > "To err is human -- to blame it on a computer is even more so."
