Can bird include metrics when installing linux kernel routes?

Ondrej Zajicek santiago at crfreenet.org
Tue Feb 16 21:33:55 CET 2016


On Wed, Feb 10, 2016 at 04:46:13PM +0000, Mike C wrote:
> Hi,
> 
> Is there a way to make bird include a metric when installing routes into
> the linux routing table? I want to base the metric on the length of the BGP
> path (so longer path via prepending has higher metric), or failing that, a
> local_pref value.

Hi

You could set krt_metric attribute, but usually it is better to resolve
multiple routes inside BIRD and then have just one route per destination
in the kernel routing table. What purpose such dynamic setting is
supposed to have?

-- 
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."
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://trubka.network.cz/pipermail/bird-users/attachments/20160216/9beabf32/attachment.asc>


More information about the Bird-users mailing list