default protocol preference values

Ondrej Zajicek santiago at crfreenet.org
Tue Aug 3 16:26:59 CEST 2021


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 at 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."


More information about the Bird-users mailing list