<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Hi</p>
<p>I could not found default protocol preferences on the user doc. I
had to search the code.</p>
<p>I think the defaults (or at least the order of preference) should
be somewhere in the documentation.</p>
<p>This is the info I was looking for :<br>
</p>
<p>/*<br>
* Default protocol preferences<br>
*/<br>
<br>
#define DEF_PREF_DIRECT 240 /* Directly connected */<br>
#define DEF_PREF_STATIC 200 /* Static route */<br>
#define DEF_PREF_OSPF 150 /* OSPF intra-area,
inter-area and type 1 external routes */<br>
#define DEF_PREF_BABEL 130 /* Babel */<br>
#define DEF_PREF_RIP 120 /* RIP */<br>
#define DEF_PREF_BGP 100 /* BGP */<br>
#define DEF_PREF_RPKI 100 /* RPKI */<br>
#define DEF_PREF_L3VPN_IMPORT 80 /* L3VPN import ->
lower than BGP */<br>
#define DEF_PREF_L3VPN_EXPORT 120 /* L3VPN export ->
higher than BGP */<br>
#define DEF_PREF_INHERITED 10 /* Routes inherited from
other routing daemons */<br>
<br>
</p>
<p>Thanks to the devs for the good work.<br>
</p>
<p><br>
</p>
<pre class="moz-signature" cols="72">--
Arnaud HOUDELETTE-LANGLOIS
Administrateur systèmes et réseaux informatiques
Responsable de la sécurité des systèmes d'information
Normandie-Université
+33 2 31 56 69 54</pre>
<div id="grammalecte_menu_main_button_shadow_host"
style="width: 0px; height: 0px;"></div>
</body>
</html>