<div>On Sat, Jun 18, 2011 at 6:10 PM, math <span dir="ltr"><<a href="mailto:lists@saibo.ch">lists@saibo.ch</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
OSX</blockquote><div>i guess u mean:</div><div>olsrd running under OSX,.. </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"> writes entries into the routing table that aren't deleted after exiting and lead to an unusable system at runtime.<br>
</blockquote><div>does it delete/update routes while running (if they change) </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
It seems as if the UGH routes don't aren't deleted anymore, but the UC and UHLW routes work fine.<br>
(why are the UHLW routes needed anyway?)<br></blockquote><div><div>what are UGH, UC, UHLW routes?</div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br>
How can this be fixed?<br></blockquote><div>via debugging,.. </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br>
Math<br>
<br>
<br>
<br>
--------------------------------------------<br>
OLSR debug information, when the bogous routes are created, or not deleted:<br>
<br>
--- 15:45:30.697323 ------------------------------------------------- DIJKSTRA<br>
<br>
Updating kernel routes...<br>
KERN: Adding <a href="http://10.30.95.101/32" target="_blank">10.30.95.101/32</a> from 10.30.95.101 via 10.30.95.101, cost 6.071, metric 1, v 8<br>
Prefix 32 = Netmask: 255.255.255.255<br>
KERN: Adding <a href="http://10.21.33.10/32" target="_blank">10.21.33.10/32</a> from 10.21.33.10 via 10.30.95.101, cost 7.071, metric 2, v 8<br>
ROUTING TABLE<br>
<a href="http://10.21.33.10/32" target="_blank">10.21.33.10/32</a>, via 10.30.95.101, best-originator 10.21.33.10<br>
from 10.21.33.10, cost 7.071, metric 2, via 10.30.95.101, en1, v 8<br>
<a href="http://10.30.95.101/32" target="_blank">10.30.95.101/32</a>, via 10.30.95.101, best-originator 10.30.95.101<br>
from 10.30.95.101, cost 6.071, metric 1, via 10.30.95.101, en1, v 8<br>
<br>
<br>
<br>
--- 15:45:53.279367 ------------------------------------------------- DIJKSTRA<br>
<br>
Updating kernel routes...<br>
KERN: Deleting <a href="http://10.21.33.10/32" target="_blank">10.21.33.10/32</a> via 10.30.95.101<br>
Prefix 32 = Netmask: 255.255.255.255<br>
KERN: Adding <a href="http://10.21.33.10/32" target="_blank">10.21.33.10/32</a> from 10.21.33.10 via 10.21.33.10, cost 2.107, metric 1, v 22<br>
Prefix 32 = Netmask: 255.255.255.255<br>
ROUTING TABLE<br>
<a href="http://10.21.33.10/32" target="_blank">10.21.33.10/32</a>, via 10.21.33.10, best-originator 10.21.33.10<br>
from 10.21.33.10, cost 2.107, metric 1, via 10.21.33.10, en1, v 22<br>
<a href="http://10.30.95.101/32" target="_blank">10.30.95.101/32</a>, via 10.30.95.101, best-originator 10.30.95.101<br>
from 10.30.95.101, cost 1.363, metric 1, via 10.30.95.101, en1, v 22<br>
<br>
<br>
<br>
--- 15:46:23.732878 ------------------------------------------------- DIJKSTRA<br>
<br>
Updating kernel routes...<br>
KERN: Deleting <a href="http://10.30.95.101/32" target="_blank">10.30.95.101/32</a> via 10.30.95.101<br>
KERN: Adding <a href="http://10.30.95.101/32" target="_blank">10.30.95.101/32</a> from 10.30.95.101 via 10.21.33.10, cost 2.465, metric 2, v 40<br>
ROUTING TABLE<br>
<a href="http://10.21.33.10/32" target="_blank">10.21.33.10/32</a>, via 10.21.33.10, best-originator 10.21.33.10<br>
from 10.21.33.10, cost 1.465, metric 1, via 10.21.33.10, en1, v 40<br>
<a href="http://10.30.95.101/32" target="_blank">10.30.95.101/32</a>, via 10.21.33.10, best-originator 10.30.95.101<br>
from 10.30.95.101, cost 2.465, metric 2, via 10.21.33.10, en1, v 40<br>
<br>
<br>
<br>
--- 15:46:35.640199 ------------------------------------------------- DIJKSTRA<br>
<br>
Updating kernel routes...<br>
KERN: Deleting <a href="http://10.30.95.101/32" target="_blank">10.30.95.101/32</a> via 10.21.33.10<br>
Prefix 32 = Netmask: 255.255.255.255<br>
KERN: Adding <a href="http://10.30.95.101/32" target="_blank">10.30.95.101/32</a> from 10.30.95.101 via 10.30.95.101, cost 2.276, metric 1, v 47<br>
Prefix 32 = Netmask: 255.255.255.255<br>
ROUTING TABLE<br>
<a href="http://10.21.33.10/32" target="_blank">10.21.33.10/32</a>, via 10.21.33.10, best-originator 10.21.33.10<br>
from 10.21.33.10, cost 1.386, metric 1, via 10.21.33.10, en1, v 47<br>
<a href="http://10.30.95.101/32" target="_blank">10.30.95.101/32</a>, via 10.30.95.101, best-originator 10.30.95.101<br>
from 10.30.95.101, cost 2.276, metric 1, via 10.30.95.101, en1, v 47<br>
<br>
<br>
<br>
--------------------------------------------<br>
System: OSX 10.5.8<br>
OLSRD >= 0.6.0<br>
<br>
--------------------------------------------<br>
setup:<br>
3 nodes:<br>
OSX: 10.75.187.195<br>
Node1: 10.21.33.10<br>
Node2: 10.30.95.101<br>
<br>
<br>
--------------------------------------------<br>
routing table after OLSRD start:<br>
<br>
10 link#6 UCS 1 0 en1<br>
10.21.33.10 10.30.95.101 UGH 0 0 en1<br>
<a href="http://10.21.33.10/32" target="_blank">10.21.33.10/32</a> link#6 UC 0 0 en1<br>
10.30.95.101 link#6 UHLW 1 0 en1<br>
<a href="http://10.30.95.101/32" target="_blank">10.30.95.101/32</a> link#6 UC 1 0 en1<br>
10.75.187.195 127.0.0.1 UHS 0 0 lo0<br>
10.255.255.255 link#6 UHLWb 2 61 en1<br>
<br>
<br>
--------------------------------------------<br>
routing table during OLSRD runtime:<br>
<br>
10 link#6 UCS 1 0 en1<br>
10.21.33.10 10.30.95.101 UGH 1 0 en1<br>
<a href="http://10.21.33.10/32" target="_blank">10.21.33.10/32</a> link#6 UC 0 0 en1<br>
10.30.95.101 10.21.33.10 UGH 0 0 en1<br>
<a href="http://10.30.95.101/32" target="_blank">10.30.95.101/32</a> link#6 UC 0 0 en1<br>
10.75.187.195 127.0.0.1 UHS 0 0 lo0<br>
10.255.255.255 link#6 UHLWb 2 61 en1<br>
<br>
<br>
--------------------------------------------<br>
routing table after OLSRD shutdown:<br>
<br>
10 link#6 UCS 1 0 en1<br>
10.21.33.10 10.30.95.101 UGH 1 0 en1<br>
10.30.95.101 10.21.33.10 UGH 0 0 en1<br>
10.75.187.195 127.0.0.1 UHS 0 0 lo0<br>
10.255.255.255 link#6 UHLWb 2 65 en1<br><font color="#888888">
<br>
<br>
<br>
<br>
<br>
<br>
-- <br>
Olsr-dev mailing list<br>
<a href="mailto:Olsr-dev@lists.olsr.org" target="_blank">Olsr-dev@lists.olsr.org</a><br>
<a href="https://lists.olsr.org/mailman/listinfo/olsr-dev" target="_blank">https://lists.olsr.org/mailman/listinfo/olsr-dev</a><br>
</font></blockquote></div><br>