RE: does bird 2.0 support administrative distance for routing protocol

2018-04-15 Thread Derek Pan
Hi Daniel Got it. Thank you very much! Best regards, Derek Pan ADVA Shenzhen -Original Message- From: Daniel Suchy [mailto:da...@danysek.cz] Sent: Monday, April 16, 2018 2:50 PM To: Derek Pan ; bird-users@network.cz Subject: Re: does bird 2.0 support administrative distance for routin

Re: does bird 2.0 support administrative distance for routing protocol

2018-04-15 Thread Daniel Suchy
Hello, "preference" attribute can be used for this purpose (don't be confused by "local preference" used in BGP, it's another attribute).. With regards, Daniel On 04/16/2018 03:56 AM, Derek Pan wrote: > Hi All, > >   > > I want to implement the AD (administrative distance) function like cisco >

does bird 2.0 support administrative distance for routing protocol

2018-04-15 Thread Derek Pan
Hi All, I want to implement the AD (administrative distance) function like cisco by using bird 2.0.0 but I have no idea. does anyone know how to configure it? Many thanks in advance. Best regards, Derek Pan ADVA Shenzhen

local address as next-hop

2018-04-15 Thread Alexander Demenshin
Hi, When next-hop specified as a local address, bird 2 produces a warning like: 2018-04-15 18:34:31.136 Next hop address 192.168.100.100 is a local address of iface routers and the route itself is installed as "unreachable". Is there any reason for this? It is completely legal under linux

Re: bird 2.0.2 does not propagate krt_metric set in static routes when exporting to kernel (and couple other small issues in static protocol)

2018-04-15 Thread Alexander Demenshin
On 2018-04-15 06:42, Radu Anghel wrote: You need to set metric 0; in your kernel protocol in order to have custom krt_metric per route. Now I see, thank you... how could I miss it in docu :) Though, this has a nasty side effect - it is impossible to set "default" metric on export and then ove