Hi,<br><br>Looks like we might be on to a bug here in the olsr dyn-gw. Yes, my opinion is the same as yours. The default route should be removed if the pings do not go through that route. Then I am sure it will behave correctly.
<br><br>For clarification to everyone regarding my setup.<br>Node1 and 2 : Linksys WRT54G routers running the OpenWrt , WhiteRussian, Release RC4<br>OLSR: compiled for RC4.<br><br>For sake of simplicity please ignore the LaptopsA and B. My apologies its just confusing it. The laptops are being used mainly for accessing the Linksys routers console via SSH.
<br><br>Thanks,<br>Rajesh.<br><br><br><div><span class="gmail_quote">On 1/9/07, <b class="gmail_sendername">Drew</b> <<a href="mailto:drew@alamedawireless.org">drew@alamedawireless.org</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I've asked basically the same thing before, and never got a reply:<br><a href="http://www.olsr.org/pipermail/olsr-users/2006-October/646474.html">http://www.olsr.org/pipermail/olsr-users/2006-October/646474.html</a><br>
<br>Good luck,<br>Drew<br><br>Rajesh Narayanan wrote:<br>> Hi,<br>><br>><br>>                              *  *                         *  *<br>>                              |  |                          |  |
<br>> InternetA--------->Node1 <-(OLSR)->  Node2---------->InternetB<br>>                              ^                              ^<br>>                              |                               |
<br>>                              |                               |<br>>                Wired link laptop A        Wired link laptop B<br>>                   (HNA4)                        (HNA4)<br>><br>><br>
> I got the dyn gw plugin up and running and configured as suggested.<br>> Well the problem is that :<br>> * Assume I remove the link the InternetA (cable disconnect to simulate<br>> link failure)<br>> * Node 2 gets notified that a route does not exist to the internet anymore
<br>> * But the Route to internetA still remains in Node 1!!!<br>> * Node1 tries to route the pings (to <a href="http://google.com">google.com</a> <<a href="http://google.com">http://google.com</a>>)<br>> via this interface since its the default route
<br>> * As the default route does not get removed (due to link failure) the<br>> OLSR link is not chosen.<br>> * If I manually remove the default route, only then the Node1 forwards<br>> the pings via Node2 and out.
<br>><br>> What am I doing wrong? Any other config issues I need to look at??<br>><br>> Thanks,<br>> Rajesh<br><br></blockquote></div><br>