[OLSR-users] Anyone tried two nodes with internet connection?

Andreas Tønnesen (spam-protected)
Wed Jan 10 10:48:24 CET 2007


Ok, it's been a long time since I've looked at the dyn-gw plugin so I
might be wrong here. But isn't the whole point with the pinging to
determine if the Internet connection has gone bad? Now if you remove the
route and the pings go via the OLSR network then the node will belive that
it has an Internet connection and therefore will start announcing it
again. AFAIK the GWs should be dedicated GWs that will loose Internet
connectivity if their uplink goes down. They should not be boxes that
depend on Internet connectivity via the OLSR network.

So IMO the current behavior is the "correct" one as long as the ping is
routed normally by the IP-stack. I guess one alternative could be to set
up host routes to the pinged hosts...

- Andreas

> More things to add. I am trying:
> Pings to Google.com from Node1 -- This works with Internet A up and
> running.
> Pings to Google.com from Node1 -- FAILS when I remove the link to
> InternetA.
>
> I would assume it should hop via Node2 and hit google.com via InternetB.
>
> Problem is that since Node1 still has InternetA as its default route (even
> though it has Node2 as another route), it tries to send all the pings via
> the default route.
>
> What I (and Drew) have contend is that even this route should be removed
> from the local route table preserving only the route via Node2. This I
> proved by manually deleting the default route on Node1 via InternetA,
> Pings
> go through immediately!
>
> Thanks,
> Rajesh.
>
> On 1/9/07, Rajesh Narayanan <(spam-protected)> wrote:
>>
>> Hi,
>>
>> 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.
>>
>>
>> For clarification to everyone regarding my setup.
>> Node1 and 2 : Linksys WRT54G routers running the OpenWrt , WhiteRussian,
>> Release RC4
>> OLSR: compiled for RC4.
>>
>> 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.
>>
>> Thanks,
>> Rajesh.
>>
>>
>> On 1/9/07, Drew <(spam-protected)> wrote:
>> >
>> > I've asked basically the same thing before, and never got a reply:
>> > http://www.olsr.org/pipermail/olsr-users/2006-October/646474.html
>> >
>> > Good luck,
>> > Drew
>> >
>> > Rajesh Narayanan wrote:
>> > > Hi,
>> > >
>> > >
>> > >                              *  *                         *  *
>> > >                              |  |                          |  |
>> > > InternetA--------->Node1 <-(OLSR)->  Node2---------->InternetB
>> > >                              ^                              ^
>> > >                              |                               |
>> > >                              |                               |
>> > >                Wired link laptop A        Wired link laptop B
>> > >                   (HNA4)                        (HNA4)
>> > >
>> > >
>> > > I got the dyn gw plugin up and running and configured as suggested.
>> > > Well the problem is that :
>> > > * Assume I remove the link the InternetA (cable disconnect to
>> simulate
>> > > link failure)
>> > > * Node 2 gets notified that a route does not exist to the internet
>> > anymore
>> > > * But the Route to internetA still remains in Node 1!!!
>> > > * Node1 tries to route the pings (to google.com <http://google.com>)
>> > > via this interface since its the default route
>> > > * As the default route does not get removed (due to link failure)
>> the
>> > > OLSR link is not chosen.
>> > > * If I manually remove the default route, only then the Node1
>> forwards
>> > > the pings via Node2 and out.
>> > >
>> > > What am I doing wrong? Any other config issues I need to look at??
>> > >
>> > > Thanks,
>> > > Rajesh
>> >
>> >
>>
> _______________________________________________
> olsr-users mailing list
> (spam-protected)
> https://www.olsr.org/mailman/listinfo/olsr-users
>






More information about the Olsr-users mailing list