reading direct route

Mattia Milani mattia.milani at studenti.unitn.it
Tue May 15 00:04:58 CEST 2018


Oh god, you are right, i known it was a stupid things, thanks a lot,
tomorrow i'll try to change my conf
Mattia

Il mar 15 mag 2018, 00:02 Mikhail Mayorov <mm at tagan.ru> ha scritto:

> Hi Mattia!
>
> It isn't kernel protocol. Use direct proto for import local connected
> network.
>
> protocol direct {
>
>
>
>     ipv4 {
>
>
>
>         import all;
>
>
>
>         export none;
>
>
>
>     };
>
>
>
>     ipv6 {
>
>
>
>         import all;
>
>
>
>         export none;
>
>
>
>     };
>
>
>
> };
>
>
>
>
> 14.05.2018 23:58, Mattia Milani пишет:
> > Hello all, i'm having a little problem, (Probabily is somthing so
> > stupid) but i can't find the solution.
> >
> > I have this conf file:
> >
> > log "logTwo.log" all;
> > router id 10.0.2.15;
> >
> > protocol kernel {
> >   metric 0;
> >   ipv4{
> >       import all;
> >       export all;
> >   };
> > }
> >
> > protocol device {
> > }
> >
> > protocol direct {
> >   interface "lo";
> > }
> >
> >
> > The pourpose of the deamon that i need is simple, read the route address
> > that i put in the "lo" interface and put it with the route of the deamon.
> >
> > i run the conf file with no error.
> > Then i add a route in the lo interface, for example with this command:
> >
> > ip a add 192.168.4.0/24 <http://192.168.4.0/24> dev lo
> >
> > and if i check the address with the commadn "ip addr" i can see it in
> > the lo interface.
> >
> > but if i run the command:
> >
> > birdc show route all
> >
> > I cannot see the new route address that i just addedd in the "lo"
> interface
> >
> > How can i do that?
> >
> > Thanks to everyone that could help me, it will be so apreciated.
> >
> > Mattia
>
> --
> Regards,
> Mikhail V. Majorov
>
> Megalink Company, Director of engineering
> 318, Chehova street, Taganrog, Russia, 347932
> tel work: +7 8634 431431 (ext 101)
> tel mobile: +7 918 5565520
> sip: 000101 at tagan.ru
> www.tagan.ru
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://trubka.network.cz/pipermail/bird-users/attachments/20180515/9d174e12/attachment.html>


More information about the Bird-users mailing list