[Olsr-users] Problem with Route-Distribution... dont know where the problem

Michael Rack (spam-protected)
Sat Sep 5 21:47:34 CEST 2009


Hi List,

i had never problems with OLSR. But now, i dont get rid of this problem 
and hope one of you can help me.

First: My Network-Setup:

#1 i386 Linux Router NIC <---> OSBridge 5GXi in Master-Mode <---> 
OSBridge 5GXi Slave-Mode <---> #2 i386 Linux-Router

On both i386 routers running the same binary:

	*** olsr.org - 0.5.6-r5 ***
	Build date: 2009-07-24 03:47:55 on saaldorf-surheim-r03
	http://www.olsr.org

#1 i386 Router is connected to an ISP and have OLSR running over a 
VPN-Tunnel. The Route-Distribution works as expected. I get all routes 
distributed to this router, including the default gateway.

My Problem is located at #2. Router #2 adds only HNA Broadcasts and the 
direct NIC-Interface-Addresses of Router #1.

Routing-Table managed by #1 (all routes are pushed by vpn-router 
xxx.205.12.0):

   router1 # ip route show table rsmconnect-networks
   xxx.205.12.9 via xxx.205.12.0 dev uplink  metric 2
   xxx.95.14.114 via xxx.205.12.0 dev uplink  metric 2
   xxx.95.14.17 via xxx.205.12.0 dev uplink  metric 2
   xxx.95.14.1 via xxx.205.12.0 dev uplink  metric 2
   xxx.95.14.98 via xxx.205.12.0 dev uplink  metric 2
   xxx.95.14.115 via xxx.205.12.0 dev uplink  metric 2
   xxx.95.14.33 via xxx.205.12.0 dev uplink  metric 2
   xxx.95.14.19 via xxx.205.12.0 dev uplink  metric 2
   ... and so on.

Router #1 see also the routes published by #2:

   router1 # ip route show table rsmconnect-networks | grep 'vlan1'
   xxx.205.12.97 via xxx.205.12.18 dev vlan1  metric 2
   xxx.205.12.18 dev vlan1  scope link  metric 2
   xxx.205.12.21 via xxx.205.12.18 dev vlan1  metric 2
   xxx.205.12.96/28 via xxx.205.12.18 dev vlan1  metric 2
   172.16.2.32/27 via xxx.205.12.18 dev vlan1  metric 2

Looking at #2: This router only see the direct neighbour:

   router2 # ip route show table rsmconnect-networks
   xxx.205.12.17 dev wan  scope link  metric 2
   xxx.205.12.33 via xxx.205.12.17 dev wan  metric 2
   xxx.205.12.4 via xxx.205.12.17 dev wan  metric 2
   172.16.1.64/29 via xxx.205.12.17 dev wan  metric 2
   172.16.1.80/28 via xxx.205.12.17 dev wan  metric 2
   xxx.205.12.32/27 via xxx.205.12.17 dev wan  metric 2
   ... thats really all. no more routes.

It does not show the routes pushed by the vpn! What goes wrong here?

When i start OLSR on Router #2, then i get the following output:

    server2 # /usr/sbin/olsrd -f /etc/olsrd.conf -nofork

      *** olsr.org - 0.5.6-r5 ***
      Build date: 2009-07-24 03:47:55 on saaldorf-surheim-r03
      http://www.olsr.org

     Parsing file: "/etc/olsrd.conf"
     Warning: probably sizeof(pointer) in strscpy(0x8f22858, wan, 4)!
     Warning: probably sizeof(pointer) in strscpy(0x8f22f98, wan, 4)!
     -- ALL PLUGINS LOADED! --

     Warning: probably sizeof(pointer) in strscpy(0x8f24210, wan, 4)!

What is that warning meaning? Is that a problem?

When i start OLSR on Router #1, there will this warning not happen:

    server1 # /usr/sbin/olsrd -f /etc/olsrd.conf -nofork

      *** olsr.org - 0.5.6-r5 ***
      Build date: 2009-07-24 03:47:55 on saaldorf-surheim-r03
      http://www.olsr.org

     Parsing file: "/etc/olsrd.conf"
     -- ALL PLUGINS LOADED! --

Can anyone help me please. I dont get the problem solved for serval 
hours and i dont know any way to solve this problem.

I have attached the configuration-files to this mail, but they can not 
be the problem, because this files work on all my 12 stations without 
any problems.

Michael.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: olsrd.server1.conf
URL: <http://lists.olsr.org/pipermail/olsr-users/attachments/20090905/e856d550/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: olsrd.server2.conf
URL: <http://lists.olsr.org/pipermail/olsr-users/attachments/20090905/e856d550/attachment-0001.ksh>


More information about the Olsr-users mailing list