[Olsr-users] Next hop with link local address
Henning Rogge
(spam-protected)
Thu Jul 28 10:40:44 CEST 2016
Hi,
I assume that 1.1.1.1 and 2.2.2.2 are on the loopback device...
if yes, the 12.1 version looks correct, the "via" parameter should be
something that is on the interface.
the 11.7 variant works because Linux does strange things and answer
ARPs for IPs not on the local interface.
I would guess with IPv6 you would have got the "linklocal via" anyways
with both versions.
Henning
On Wed, Jul 27, 2016 at 5:50 PM, Fábio Carvalho
<(spam-protected)> wrote:
> 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
>
>
More information about the Olsr-users
mailing list