<div>Hi All,</div>
<div>&nbsp;</div>
<div>As you know, to compute the routes to all destinations in the network, an ospf&nbsp;router creates an Spt object, and adds itself to it as the root (area_router.cc). Then, the source router sets some relevant information such as version, node id, origin, type, and more importantly the LSA&nbsp;for each node added to the Spt object including itself.</div>

<div>&nbsp;</div>
<div>Then, it calls compute() function on Spt object, and finds the routes to all destinations.</div>
<div>&nbsp;</div>
<div>However, under the assumtion that I have the entire link state advertisement database, I want to&nbsp;identify&nbsp;one of&nbsp;destinations in the network as&nbsp;the root of&nbsp;my own&nbsp;Spt object, rather than &quot;myself&quot; &nbsp;(So, I will compute routes for somebody else).</div>

<div>(For example, If router A (i.e., &quot;myself&quot;) is the router computing the routes, A creates an Spt object and sets B, one of the destinations in the network, as the root of&nbsp;the Spt object).</div>
<div>&nbsp;</div>
<div>Even though A (&quot;myself&quot;) makes the necessary settings (LSA, version, type, router ID, etc.) properly for B (of course, B&#39;s LSA should be obtained from the link state database), the interface addresses of the next hops of calculated routes&nbsp;for B show up as zero (<a href="http://0.0.0.0">0.0.0.0</a>).</div>

<div>However, router ID&#39;s for the destinations and next hops are correct (I already know the network topology).</div>
<div>&nbsp;</div>
<div>If my question does not lack&nbsp;sufficient information, what may be causing the interface addresses of the next hops to show up as <a href="http://0.0.0.0">0.0.0.0</a> when computing the routes for somebody else ?</div>

<div>(When computing the routes for myself, next hop interface addresses look fine)</div>
<div>&nbsp;</div>
<div>Thanks,</div>
<div>Selcuk</div>