[prev in list] [next in list] [prev in thread] [next in thread] 

List:       bird-users
Subject:    Re: Linux 'local' table (255) import into BIRD?
From:       Jan Matejka <jan.matejka () nic ! cz>
Date:       2016-11-25 18:19:20
Message-ID: f1f5956b-70ad-b600-a3cc-6946290ec54b () nic ! cz
[Download RAW message or body]

Hello!

If you want to export these routes via OSPF3, it should be enough to add
the interfaces as stub:

interface "eth5" { stub; }

where "eth5" is the interface that creates the route you need to export
via OSPF3.

(Writing without looking into doc, the syntax may be slightly different.)

MQ

On 11/25/2016 04:24 PM, Eric Vyncke (evyncke) wrote:
> Ondrej,
> 
> But grep'ing for RTN_LOCAL in the code, I have also tried this but then the route \
> is marked 'unreachable' and I cannot import it to be exporting in OSPFv3 (which is \
> my goal actually). 
> Thanks for confirming that I was looking in the right direction ;-)
> 
> -éric
> 
> On 25/11/16 15:46, "Ondrej Zajicek" <santiago@crfreenet.org> wrote:
> 
> On Fri, Nov 25, 2016 at 11:39:32AM +0000, Eric Vyncke (evyncke) wrote:
> > Hello,
> > 
> > I am trying to import 'local' routes from the kernel into Bird without any \
> > success... 
> > The route is installed as: "/sbin/ip -6 route add local 2001:db8:cafe:babe::/64 \
> > dev lo" (it allows the host to reply/answer to any address in this prefix :-))
> 
> Hello
> 
> Routes in table 255 have special type (RTN_LOCAL, RTN_BROADCAST ...) and
> these route types are unsupported by BIRD.
> 
> You could import them as unreachable routes by compiling BIRD with attached patch.
> 
> Also note that routes with 'proto kernel' are ignored, byt that is
> probably not relevant to your case, just to other routes in table 255.
> 
> -- 
> 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."
> 
> 
> 


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic