[Olsr-dev] unusable OSX routing table

math (spam-protected)
Sat Jun 18 18:10:41 CEST 2011


OSX writes entries into the routing table that aren't deleted after  
exiting and lead to an unusable system at runtime.
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?)

How can this be fixed?

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









More information about the Olsr-dev mailing list