:-)<br><br>This is precisely the question that I have been myself thinking since yesterday. I thought of going back to routing fundamentals to see if there is a good answer. So far I have not been able to think of anything except a 'not so clean hack' that would sound soemthing like this:
<br><br>1. Write a script to ping (dyn-gw already does this) on the default WAN interface.<br>2. If Pings succeed dont do anything<br>3. If ping fails then delete the default route.<br>    - This is the part you were talking about. HOW DO I RECOVER??
<br>    - Since if I delete the route then the pings are not going out of this interface anyways.<br>4. The hack is as follows:<br>    - every 5 mins add the default route.<br>    - test ping through that interface<br>    - if successful then leave it
<br>    - else, delete the default route again.<br><br>I know this is BAAAAAAAAAAAD, but all I want is that I should use the OLSR link only as a redundancy mechanism. Whereing if my DSL/Cable connection dies then I use my neighbors (who would be running olsr too of course) to reach the internet.
<br><br>Thanks,<br>Rajesh.<br><br><div><span class="gmail_quote">On 1/11/07, <b class="gmail_sendername">Bernd Petrovitsch</b> <<a href="mailto:bernd@firmix.at">bernd@firmix.at</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;">
On Wed, 2007-01-10 at 12:15 -0800, Rajesh Narayanan wrote:<br>> Well, thats right and exactly the problem I am having.<br>> Even when the pings do not go through via the static route, the router<br>> does not route the pings via the route introduced by the OLSR. But
<br>> when I manually remove the static route, the pings are successful.<br>><br>> My question is that this process should be transparent to the user. I<br>> should<br>>  not need to go remove the static route so that I can reach via the
<br>> olsr route.<br><br>How do you think the box (which just detected the upstream loss) should<br>detect the recovery *of it's own* upstream link afterwards?<br><br>[ Killed useless fullquote ]<br><br>        Bernd
<br>--<br>Firmix Software GmbH                   <a href="http://www.firmix.at/">http://www.firmix.at/</a><br>mobil: +43 664 4416156                 fax: +43 1 7890849-55<br>          Embedded Linux Development and Services
<br><br><br>_______________________________________________<br>olsr-users mailing list<br><a href="mailto:olsr-users@olsr.org">olsr-users@olsr.org</a><br><a href="https://www.olsr.org/mailman/listinfo/olsr-users">https://www.olsr.org/mailman/listinfo/olsr-users
</a><br></blockquote></div><br>