Strange route selection (defroute and specific)
Yakimus // Netassist NOC
yakimus at netassist.ua
Thu Nov 20 12:22:07 CET 2025
My mistake. Here what I have in my config:
protocol static static_v4 {
ipv4 {
preference 1100;
};
# default route for clients
route 0.0.0.0/0 drop;
}
--
NETassist
On Thu, Nov 20, 2025 at 12:12:07PM +0100, Nico Schottelius wrote:
>
> I believe static does not support preference:
>
> /etc/bird/bird.conf:1047:5 syntax error, unexpected PREFERENCE
>
> from:
>
> protocol static defroutev4 {
> ipv4;
> preference 5;
>
> route 0.0.0.0/0 unreachable;
> }
>
>
> Yakimus // Netassist NOC <yakimus at netassist.ua> writes:
>
> > just add the preference for static:
> >
> > protocol static defroutev4 {
> > ipv4;
> > route 0.0.0.0/0 unreachable;
> > preference 5;
> > }
>
> --
> Sustainable and modern Infrastructures by ungleich.ch
More information about the Bird-users
mailing list