[Olsr-users] OLSR network routing question

Henning Rogge (spam-protected)
Wed Feb 15 08:07:37 CET 2017


On Tue, Feb 14, 2017 at 10:13 PM, Deepak Lal <(spam-protected)> wrote:
>
> Hello,

> This network is to simulate a two networks (mesh/manet and a static network). Objective is for all nodes to be able to ping each other.
>
> Mesh is the 192.168.2.0/24 network and the other network is 192.168.3.0/24
>
> On the laptops connected to both mesh and static network I am running OLSR on both eth0 and eth1. I am also displaying the routing table populated by OSLRv2
>
>
> I am able to ping almost every node to every node.
>
>
> Issue I am having is that the interfaces 192.168.2.1 and 192.168.2.2 are not being propagated by OSLR.
>
> I cannot ping 192.168.2.1 FROM 192.168.2.12 or even 192.168.2.2
>
> I cannot ping 192.168.2.2 FROM 192.168.2.10, 192.168.2.11 and even 192.168.2.1
>
>
> I was expecting to see a route such as
>
>
> 192.168.2.1 (dest)  192.168.3.1(gw)
>
> 192.168.2.2 (dest)   192.168.3.2(gw)

By default olsrd only propagates the addresses of the mesh interfaces,
olsrd2 only propagates the chosen originator IP address!

Neither propagates a prefix of a non-mesh interface unless you specify
it in the configuration.

In case of olsrd, you want to set a HNA entry in the configuration...
in olsrd2, you set a "lan" (locally attached network) in the "olsrv2"
section of the configuration or use the lan_import plugin (see
olsr.org wiki "deployments").

Henning



More information about the Olsr-users mailing list