[Olsr-dev] unusable OSX routing table

Markus Kittenberger (spam-protected)
Sat Jun 18 19:25:35 CEST 2011


On Sat, Jun 18, 2011 at 7:12 PM, Markus Kittenberger <
(spam-protected)> wrote:

> On Sat, Jun 18, 2011 at 6:10 PM, math <(spam-protected)> wrote:
>
>> OSX
>
> i guess u mean:
> olsrd running under OSX,..
>
>> writes entries into the routing table that aren't deleted after exiting
>> and lead to an unusable system at runtime.
>>
> does it delete/update routes while running (if they change)
>
btw. this is important to find out!,..

It seems as if the UGH routes don't aren't deleted anymore, but the UC and
>> UHLW routes work fine.
>> (why are the UHLW routes needed anyway?)
>>
> what are UGH, UC, UHLW routes?
>

(as i usually do not use route anymore,..)
i needed some seconds more to realise that you meant the route flags,.. (-;

ok clear that UC routes go away, they are cache entries made by the kernel
itself, and olsrd neither creates nor deletes them,..

but i still do not know what the L and W flag mean, maybe they are OSX
specific
but i asume it just means something like "no gateway"

so it looks like olsrd only cleans up routes to neighbours, but not routes
to nodes behind them,..
but i guess your topoogy is so small, that this is just little more than
guessing,..

>
>
>>
>> How can this be fixed?
>>
> via debugging,..
>

btw could you please also add the routes you have before you start olsrd,.



>
>> Math
>>
>>
>>
>> --------------------------------------------
>> OLSR debug information, when the bogous routes are created, or not
>> deleted:
>>
>> --- 15:45:30.697323 -------------------------------------------------
>> DIJKSTRA
>>
>> Updating kernel routes...
>> KERN: Adding 10.30.95.101/32 from 10.30.95.101 via 10.30.95.101, cost
>> 6.071, metric 1, v 8
>> Prefix 32 = Netmask: 255.255.255.255
>> KERN: Adding 10.21.33.10/32 from 10.21.33.10 via 10.30.95.101, cost
>> 7.071, metric 2, v 8
>> ROUTING TABLE
>> 10.21.33.10/32, via 10.30.95.101, best-originator 10.21.33.10
>>        from 10.21.33.10, cost 7.071, metric 2, via 10.30.95.101, en1, v 8
>> 10.30.95.101/32, via 10.30.95.101, best-originator 10.30.95.101
>>        from 10.30.95.101, cost 6.071, metric 1, via 10.30.95.101, en1, v 8
>>
>>
>>
>> --- 15:45:53.279367 -------------------------------------------------
>> DIJKSTRA
>>
>> Updating kernel routes...
>> KERN: Deleting 10.21.33.10/32 via 10.30.95.101
>> Prefix 32 = Netmask: 255.255.255.255
>> KERN: Adding 10.21.33.10/32 from 10.21.33.10 via 10.21.33.10, cost 2.107,
>> metric 1, v 22
>> Prefix 32 = Netmask: 255.255.255.255
>> ROUTING TABLE
>> 10.21.33.10/32, via 10.21.33.10, best-originator 10.21.33.10
>>        from 10.21.33.10, cost 2.107, metric 1, via 10.21.33.10, en1, v 22
>> 10.30.95.101/32, via 10.30.95.101, best-originator 10.30.95.101
>>        from 10.30.95.101, cost 1.363, metric 1, via 10.30.95.101, en1, v
>> 22
>>
>>
>>
>> --- 15:46:23.732878 -------------------------------------------------
>> DIJKSTRA
>>
>> Updating kernel routes...
>> KERN: Deleting 10.30.95.101/32 via 10.30.95.101
>> KERN: Adding 10.30.95.101/32 from 10.30.95.101 via 10.21.33.10, cost
>> 2.465, metric 2, v 40
>> ROUTING TABLE
>> 10.21.33.10/32, via 10.21.33.10, best-originator 10.21.33.10
>>        from 10.21.33.10, cost 1.465, metric 1, via 10.21.33.10, en1, v 40
>> 10.30.95.101/32, via 10.21.33.10, best-originator 10.30.95.101
>>        from 10.30.95.101, cost 2.465, metric 2, via 10.21.33.10, en1, v 40
>>
>>
>>
>> --- 15:46:35.640199 -------------------------------------------------
>> DIJKSTRA
>>
>> Updating kernel routes...
>> KERN: Deleting 10.30.95.101/32 via 10.21.33.10
>> Prefix 32 = Netmask: 255.255.255.255
>> KERN: Adding 10.30.95.101/32 from 10.30.95.101 via 10.30.95.101, cost
>> 2.276, metric 1, v 47
>> Prefix 32 = Netmask: 255.255.255.255
>> ROUTING TABLE
>> 10.21.33.10/32, via 10.21.33.10, best-originator 10.21.33.10
>>        from 10.21.33.10, cost 1.386, metric 1, via 10.21.33.10, en1, v 47
>> 10.30.95.101/32, via 10.30.95.101, best-originator 10.30.95.101
>>        from 10.30.95.101, cost 2.276, metric 1, via 10.30.95.101, en1, v
>> 47
>>
>>
>>
>> --------------------------------------------
>> System: OSX 10.5.8
>> OLSRD >= 0.6.0
>>
>> --------------------------------------------
>> setup:
>> 3 nodes:
>> OSX: 10.75.187.195
>> Node1: 10.21.33.10
>> Node2: 10.30.95.101
>>
>>
>> --------------------------------------------
>> routing table after OLSRD start:
>>
>> 10                 link#6             UCS         1        0    en1
>> 10.21.33.10        10.30.95.101       UGH         0        0    en1
>> 10.21.33.10/32     link#6             UC          0        0    en1
>> 10.30.95.101       link#6             UHLW        1        0    en1
>> 10.30.95.101/32    link#6             UC          1        0    en1
>> 10.75.187.195      127.0.0.1          UHS         0        0    lo0
>> 10.255.255.255     link#6             UHLWb       2       61    en1
>>
>>
>> --------------------------------------------
>> routing table during OLSRD runtime:
>>
>> 10                 link#6             UCS         1        0    en1
>> 10.21.33.10        10.30.95.101       UGH         1        0    en1
>> 10.21.33.10/32     link#6             UC          0        0    en1
>> 10.30.95.101       10.21.33.10        UGH         0        0    en1
>> 10.30.95.101/32    link#6             UC          0        0    en1
>> 10.75.187.195      127.0.0.1          UHS         0        0    lo0
>> 10.255.255.255     link#6             UHLWb       2       61    en1
>>
>>
>> --------------------------------------------
>> routing table after OLSRD shutdown:
>>
>> 10                 link#6             UCS         1        0    en1
>> 10.21.33.10        10.30.95.101       UGH         1        0    en1
>> 10.30.95.101       10.21.33.10        UGH         0        0    en1
>> 10.75.187.195      127.0.0.1          UHS         0        0    lo0
>> 10.255.255.255     link#6             UHLWb       2       65    en1
>>
>>
>>
>>
>>
>>
>> --
>> Olsr-dev mailing list
>> (spam-protected)
>> https://lists.olsr.org/mailman/listinfo/olsr-dev
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.olsr.org/pipermail/olsr-dev/attachments/20110618/2f03a453/attachment.html>


More information about the Olsr-dev mailing list