<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;}
@page Section1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
{page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=EN-US link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal>Hello all, <o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>I am currently playing with olsrd version 0.5.5 and had a
few question regarding topology entries and kernel routes. I have been
modifying this version a little to meet my needs and came across a problem
which I found was also occurring in an unmodified version so I thought I’d
get some insight. Now as I watch the debug output from a terminal I
noticed a few things that really puzzled me. A node is not added to the kernel
routes unless there exists a topology entry for it as the source ip address.
This really stumped me since there exists an alternate route to this node via
other outputted topology entries. For instance, I have four test nodes and
depending on the link qualities I can see some nodes come in and out of visibility
in the LINKS section of the output which is only natural. However, in the TOPOLOGY
output and kernel routes I get confused, for example a snapshot of the topology
from Node 1’s perspective at a point in time:<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>TOPOLOGY<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>Source IP Dest
IP ETX<o:p></o:p></p>
<p class=MsoNormal>Node 1 Node
2 …<o:p></o:p></p>
<p class=MsoNormal>Node 1 Node
3 …<o:p></o:p></p>
<p class=MsoNormal>Node 1 Node
4 <o:p></o:p></p>
<p class=MsoNormal>Node 2 Node
1<o:p></o:p></p>
<p class=MsoNormal>Node 2 Node
3<o:p></o:p></p>
<p class=MsoNormal>Node 2 Node
4<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>With this specific snapshot for instance the kernel routes
would only have the route to Node 2 i.e. Node 2 via Node 2. I would
assume that with the other entries, depending on which path is better, there should
also exist kernel routes to Node 3 and Node 4 via directly or using Node 2 even
though there aren’t topology entries for Node 3 and Node 4 (as the source
IP). Can someone explain if this is how it should work, and if not, where would
a situation like this be handled in the code?<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>Thank you very much for your time,<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>-Hassan.<o:p></o:p></p>
</div>
</body>
</html>