[Olsr-users] OLSR network routing question

Henning Rogge (spam-protected)
Wed Feb 15 15:28:50 CET 2017


On Wed, Feb 15, 2017 at 3:23 PM, Deepak Lal <(spam-protected)> wrote:
> Thanks.
>
> I tried two appproaches and neither work correctly.
>
> Approach 1) On the TWO multi-homed linux routers, I had the following config
> (192.168.2.0/24 is mesh network and 192.168.3.0/24 is lan)

> ---
>
> [olsrv2]
>   lan 192.168.3.0/24
>
> [interface eth1]


you mean "[interface=eth1]" ?

> The issue here was that the whole topology was not propagated
>
> -> 192.168.2.10/11 could not reach 192.168.2.12 and vice-versa
>
> ->192.168.2.10/11 could not reach 192.168.3.2
>
> ->192.168.2.12 could not reach 192.168.3.1

Please don't forget that olsrd2 only installs routes on the mesh
routers... so you need some kind of route on the devices attached to
the "local ethernet" back to the router, e.g. a default route.

> Approach 2)  On the two multi-homes linux routers, I had the following
> config (running olsr on both interfaces)
>
> [interface eth0]
>
> [interface eth1]
>
>
> Now, I had much elaborate routing tables and almost everything was working
> except:
>
>
> -> I could not ping 192.168.2.1 from 192.168.2.2
>
> -> I could not ping 192.168.2.2 from 192.168.2.1
>
> -> I could not ping 192.168.2.1 from 192.168.2.12
>
> -> I could not ping 192.168.2.2 from 192.168.2.10

maybe you could just post the output of "ip route" from all 4 devices
(two mesh routers and two attached devices)?

Henning



More information about the Olsr-users mailing list