[Olsr-users] olsrV2 domain configuration

Henning Rogge (spam-protected)
Fri Nov 18 10:36:56 CET 2016


On Mon, Nov 7, 2016 at 6:00 PM, FaByS <(spam-protected)> wrote:

> Hi Hanning,
>
> I was very busy and i 've tested directly the branch
> (commit 9f941b25e1ac806db9d41e9892a5cf361bfe98f5).
>
> It works fine with domain but if in [olsrv2] section of NODE 3 (see
> below)
> i write:
>
> lan   10.0.2.0/24
>
> instead of
>
> lan   10.0.2.0/24 domain=0
>
> i see the route on both domains (1 and 0) ... it looks that the default
> is "domain=*" instead of "domain=0"
>

Yes, the default is 'domain=all'.


> After that i try to send the default route on the same domain using
> route modifier as you suggested in you previous mail, but as you see in
> NODE 2  output below it doesn't work.
>

Could it just be that you don't have included the "route_modifier" plugin
into the executable?

check with "olsrd2 --version".

If its missing, add it to src/olsrd2/CMakeLists.txt".

If it works for you (you are the first planning to test it), I can add it
to the default list of plugins.

Henning


>
> Thanks.
>
>
>
>
> ------------------
> -------------------
>
>
> --------NODE 2--------
>
> olsrd2.conf
>
> [domain=0]
>         table 111
>
> [domain=1]
>         table 222
>
> [route_modifier=1]
> matches default_accept
> prefix_length 0
> table 112
>
>
> [interface=eth0]
>
> [olsrv2]
>
>
>
> n2 n2.conf # ip r
> 169.254.0.0/16 dev eth0  proto kernel  scope link  src 169.254.224.93
> n2 n2.conf # ip r s t 111
> default via 169.254.38.248 dev eth0  proto 100  src 169.254.224.93
> metric 2 onlink
> 10.0.2.0/24 via 169.254.38.248 dev eth0  proto 100  src 169.254.224.93
> metric 2 onlink
> n2 n2.conf # ip r s t 112
> n2 n2.conf # ip r s t 222
> 1.2.34.4 via 169.254.38.248 dev eth0  proto 100  src 169.254.224.93
> metric 2 onlink
> n2 n2.conf #
>
>
>  -------- NODE 3 -------------
> olsrd2.conf
>
>
> [domain=0]
>         table 111
> [interface=eth1]
>
> [olsrv2]
>         lan   10.0.2.0/24 domain=0
>         lan   0.0.0.0/0 domain=0
>         lan   1.2.34.4/32 domain=1
>
>
>
> Il giorno ven, 30/09/2016 alle 12.51 +0200, Henning Rogge ha scritto:
> > I think its a bug...
> >
> > can you test the attached patch?
> >
> > (quite busy this week at work)
> >
> > Henning
> >
> > O
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.olsr.org/pipermail/olsr-users/attachments/20161118/807ae5d9/attachment.html>


More information about the Olsr-users mailing list