Thanks for providing that. I was thinking about the same but couldn't find it in the manual. Additional question is do I see it correctly that bird in comparison to Cisco/Juniper does reverse logical so higher value means "more preferred" route?

 

Regards,

Grzegorz

 

From: Ondrej Zajicek <santiago@crfreenet.org>
Date: Tuesday 2021-08-03 at 16:27
To: Kseniya Blashchuk <ksyblast@gmail.com>
Cc: "bird-users@network.cz" <bird-users@network.cz>
Subject: Re: default protocol preference values

 

On Tue, Aug 03, 2021 at 10:00:45AM +0300, Kseniya Blashchuk wrote:

Hello!

I could not find any information about default protocol preference values

(administrative distance) for bird. Can anybody please help with it? Are

there any default values for OSFP, BGP, static, etc.? Or is it better to

configure each value explicitly?

 

Hello

 

#define DEF_PREF_DIRECT                           240         /* Directly connected */

#define DEF_PREF_STATIC                            200         /* Static route */

#define DEF_PREF_OSPF                               150         /* OSPF */

#define DEF_PREF_BABEL                             130         /* Babel */

#define DEF_PREF_RIP                   120         /* RIP */

#define DEF_PREF_BGP                 100         /* BGP */

#define DEF_PREF_RPKI                 100         /* RPKI */

#define DEF_PREF_INHERITED    10           /* Routes inherited from other routing daemons */

 

--

Elen sila lumenn' omentielvo

 

Ondrej 'Santiago' Zajicek (email: santiago@crfreenet.org)

OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, wwwkeys.pgp.net)

"To err is human -- to blame it on a computer is even more so."