[Olsr-users] Next hop with link local address

Fábio Carvalho (spam-protected)
Wed Jul 27 17:50:50 CEST 2016


Same network on different versions of OONF. The network have two nodes,
node 1 (ip address: 1.1.1.1/32) and node 2 (ip address: 2.2.2.2/32).

ip route on VERSION 11.7:
*node 1*
default via 192.168.10.1 dev eth0
default via 192.168.10.1 dev eth0  metric 202
2.2.2.2 via 2.2.2.2 dev wlan0  proto 100  src 1.1.1.1  metric 2 onlink
169.254.0.0/16 dev wlan0  proto kernel  scope link  src 169.254.72.150
 metric 303
192.168.10.0/24 dev eth0  proto kernel  scope link  src 192.168.10.52
 metric 202

*node2*
default via 192.168.10.1 dev eth0
default via 192.168.10.1 dev eth0  metric 202
1.1.1.1 via 1.1.1.1 dev wlan0  proto 100  src 2.2.2.2  metric 2 onlink
169.254.0.0/16 dev wlan0  proto kernel  scope link  src 169.254.31.51
 metric 303
192.168.10.0/24 dev eth0  proto kernel  scope link  src 192.168.10.51
 metric 202


ip route on VERSION 12.1:
*node1*
default via 192.168.10.1 dev eth0
default via 192.168.10.1 dev eth0  metric 202
2.2.2.2 via 169.254.31.51 dev wlan0  proto 100  src 1.1.1.1  metric 2
onlink
169.254.0.0/16 dev wlan0  proto kernel  scope link  src 169.254.72.150
 metric 303
192.168.10.0/24 dev eth0  proto kernel  scope link  src 192.168.10.52
 metric 202

*node2*
default via 192.168.10.1 dev eth0
default via 192.168.10.1 dev eth0  metric 202
1.1.1.1 via 169.254.72.150 dev wlan0  proto 100  src 2.2.2.2  metric 2
onlink
169.254.0.0/16 dev wlan0  proto kernel  scope link  src 169.254.31.51
 metric 303
192.168.10.0/24 dev eth0  proto kernel  scope link  src 192.168.10.51
 metric 202


*Cumprimentos,*
*Fábio Carvalho*

2016-07-27 15:00 GMT+01:00 Henning Rogge <(spam-protected)>:

> On Wed, Jul 27, 2016 at 3:45 PM, Fábio Carvalho
> <(spam-protected)> wrote:
> > Hi,
> >
> > On version 12.1 all ip address of next hops appear on routing table with
> > link local address and not with ip address of your interfaces.
>
> by default the current olsrv2 should only build up routes to the
> originator address (one per router) and the attached network.
>
> I am not quite sure what you mean, can you show me the "ip route"
> output of one router and explain what you expected?
>
> > The configuration file had the following lines in previous versions:
> > [olsrv2]
> >         originator      -127.0.0.1/8
> >         originator      -::/0
> >         originator      default_accept
> >
> > [interface]
> >         bindto          -127.0.0.1/8
> >         bindto          -::/0
> >         bindto          default_accept
> >
> > [interface=wlan0]
> >         bindto          -127.0.0.1/8
> >         bindto          -::/0
> >         bindto          default_accept
> >
> >
> > In this new version I changed the first part to:
> > [olsrv2]
> >         routable        -127.0.0.0/8
> >         routable        default_accept
> >         originator      -127.0.0.1/8
> >         originator      -::/0
> >         originator      default_accept
> >
> > What do i doing wrong?
>
> Henning
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.olsr.org/pipermail/olsr-users/attachments/20160727/a21afe5e/attachment-0001.html>


More information about the Olsr-users mailing list