[Olsr-users] olsrV2 domain configuration

FaByS (spam-protected)
Mon Nov 7 18:00:29 CET 2016


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"

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.

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




More information about the Olsr-users mailing list