<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><blockquote type="cite"><div>hmm is this reproduceable?<br></div></blockquote><div><br></div><div>Hi Markus</div><div><br></div><div>Yep! Unfortunately... I had a hard time before I even considered the bug to be in the routing table.</div><div>I flushed the routing table many times before running olsrd. </div><div>The routing table was fine and after running olsrd for about 10-30 seconds the new routes are set.</div><div>I checked on several machines always running OSX 10.5.8, olsr 0.6.0 (I had the same result with 0.5.6-r8)</div><div><br></div><div><br></div><blockquote type="cite"><div>can u post an complete txtinfo plugin output aswell.</div><div>and also check the syslog for oslrd eror messages</div><div><br></div></blockquote><div><br></div><div>found nothing of interest in syslog...</div><div>Interestingly the txtinfo plugin prints a different routing table from the one written to the system. </div><div>The txtinfo routing table makes complete sense... while the routing table does not.</div><div>Unfortunately the nonsense routes don't get deleted from the system. I had to flush them manually.</div><div><br></div><div>Hope this helps!</div><div>Best Math</div><div><br></div><div><div><br></div></div><div><div>--------------------------------------------------------------------------------------------------------</div><div><div>My Routing Table before running olsrd</div><div><br></div><div><div>Internet:</div><div>Destination Gateway Flags Refs Use Netif Expire</div><div>10 link#5 UCS 1 0 en1</div><div>10.91.101.9 127.0.0.1 UHS 0 0 lo0</div><div>10.255.255.255 link#5 UHLWb 2 31 en1</div><div>127 127.0.0.1 UCS 0 0 lo0</div><div>127.0.0.1 127.0.0.1 UH 1 181576 lo0</div></div><div><br></div><div><br></div><div><div>--------------------------------------------------------------------------------------------------------</div><div><div>My Routing Table during running olsrd</div></div></div><div><br></div><div><div>Internet:</div><div>Destination Gateway Flags Refs Use Netif Expire</div><div>10 link#5 UCS 1 0 en1</div><div>10.91.101.9 127.0.0.1 UHS 0 0 lo0</div><div>10.111.65.3 10.202.0.74 UGH 0 0 en1</div><div>10.111.65.3/32 link#5 UC 0 0 en1</div><div>10.202.0.74 10.111.65.3 UGH 1 0 en1</div><div>10.202.0.74/32 link#5 UC 0 0 en1</div><div>10.255.255.255 link#5 UHLWb 2 33 en1</div></div></div><div><br></div></div><div><div><div>--------------------------------------------------------------------------------------------------------</div><div><div>My Routing Table after running olsrd</div></div></div><div><br></div><div><div>Internet:</div><div>Destination Gateway Flags Refs Use Netif Expire</div><div>10 link#5 UCS 1 0 en1</div><div>10.91.101.9 127.0.0.1 UHS 0 0 lo0</div><div>10.111.65.3 10.202.0.74 UGH 1 0 en1</div><div>10.202.0.74 10.111.65.3 UGH 0 0 en1</div><div>10.255.255.255 link#5 UHLWb 2 34 en1</div></div><div><br></div></div><div><br></div><div><div><div>--------------------------------------------------------------------------------------------------------</div><div><div>txtinfo output:</div></div><div><br></div></div><div><pre>Table: Links
Local IP Remote IP Hyst. LQ NLQ Cost
10.91.101.9 10.202.0.74 0.00 0.313 0.940 3.387
10.91.101.9 10.111.65.3 0.00 0.317 0.886 3.552
Table: Neighbors
IP address SYM MPR MPRS Will. 2 Hop Neighbors
10.111.65.3 YES NO NO 3 1
10.202.0.74 YES NO NO 3 1
Table: Topology
Dest. IP Last hop IP LQ NLQ Cost
10.91.101.9 10.111.65.3 0.886 0.298 3.785
10.202.0.74 10.111.65.3 0.847 0.894 1.320
10.111.65.3 10.91.101.9 0.317 0.886 3.552
10.202.0.74 10.91.101.9 0.313 0.940 3.387
10.111.65.3 10.202.0.74 0.897 0.847 1.314
10.91.101.9 10.202.0.74 0.940 0.364 2.913
Table: HNA
Destination Gateway
Table: MID
IP address Aliases
Table: Routes
Destination Gateway IP Metric ETX Interface
10.111.65.3/32 10.111.65.3 1 3.552 en1
10.202.0.74/32 10.202.0.74 1 3.387 en1
</pre></div><div><br></div></div><div><br></div><div><div><div>--------------------------------------------------------------------------------------------------------</div><div><div>My console after shuting down olsrd (-d 1):</div></div></div><div><br></div></div><div><div> *** olsr.org - 0.6.0 (2011-02-14 14:25:10 on foton.local) ***</div><div><br></div><div>--- 01:12:02.053026 ---------------------------------------------------- LINKS</div><div><br></div><div>IP address hyst LQ ETX</div><div>10.202.0.74 0.000 0.466/0.894 2.396</div><div>10.111.65.3 0.000 0.435/0.886 2.592</div><div><br></div><div>--- 01:12:02.053075 ----------------------- TWO-HOP NEIGHBORS</div><div><br></div><div>IP addr (2-hop) IP addr (1-hop) Total cost</div><div>10.111.65.3 10.202.0.74 4.405</div><div>10.202.0.74 10.111.65.3 3.367</div><div><br></div><div>--- 01:12:02.053171 ------------------------------------------------- TOPOLOGY</div><div><br></div><div>Source IP addr Dest IP addr LQ ETX</div><div>10.111.65.3 10.91.101.9 0.944/0.529 1.998</div><div>10.111.65.3 10.202.0.74 0.831/0.894 1.345</div><div>10.91.101.9 10.111.65.3 0.435/0.886 2.592</div><div>10.91.101.9 10.202.0.74 0.466/0.894 2.396</div><div>10.202.0.74 10.111.65.3 0.897/0.831 1.339</div><div>10.202.0.74 10.91.101.9 0.894/0.388 2.880</div><div>^CReceived signal 2 - shutting down</div><div>Deleting all routes...</div><div>RIB: del prefix 10.111.65.3/32 from 10.111.65.3</div><div>TC: del edge entry 10.111.65.3 > 10.91.101.9, cost (0.944/0.529) 1.998</div><div>TC: del edge entry 10.111.65.3 > 10.202.0.74, cost (0.831/0.894) 1.345</div><div>RIB: del prefix 10.91.101.9/32 from 10.91.101.9</div><div>TC: del edge entry 10.91.101.9 > 10.111.65.3, cost (0.435/0.886) 2.592</div><div>TC: del edge entry 10.91.101.9 > 10.202.0.74, cost (0.466/0.894) 2.396</div><div>RIB: del prefix 10.202.0.74/32 from 10.202.0.74</div><div>TC: del edge entry 10.202.0.74 > 10.111.65.3, cost (0.897/0.831) 1.339</div><div>TC: del edge entry 10.202.0.74 > 10.91.101.9, cost (0.894/0.388) 2.880</div><div>Closing sockets...</div><div>Shutting down IPC...</div><div>Closing plugins...</div><div><br></div></div><br><blockquote type="cite"><div>if its reproduceable<br> please check before starting olsrd again on osx,, if there are old (olsrd) routes in the kernel, cause i doubt that one olsrd instance wrote this routes..</div><div>and as bsd/osx variants of olsrd can/will not overwrite delete existing routes<br> so u should flush at least all routes (to olsrd neighbours) before starting olsrd on osx</div><div><br></div><div>Markus</div><br><div class="gmail_quote">On Thu, Mar 17, 2011 at 8:58 AM, 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;">The OSX version of olsrd 0.6.x is writes routing tables that block<br> traffic:<br> Meshnet with 3 nodes (all nodes see each other): A, B, C<br> A: osx<br> Routingtable:<br> B -> Gateway C<br> C -> Gateway B<br> <br> see routing table:<br> 10.111.65.3 10.202.0.74 UGH 0 0 en1<br> 10.202.0.74 10.111.65.3 UGH 1 0 en1<br> <br> With this routing-table TCP connections to the nodes fail.<br> <br> Any hint, how to fix this?<br> <br> Kind regards<br> Math<br> <font color="#888888"><br> <br> --<br> Olsr-dev mailing list<br> <a href="mailto:Olsr-dev@lists.olsr.org">Olsr-dev@lists.olsr.org</a><br> <a href="http://lists.olsr.org/mailman/listinfo/olsr-dev" target="_blank">http://lists.olsr.org/mailman/listinfo/olsr-dev</a><br> </font></blockquote></div><br></blockquote></div><br></body></html>