[Olsr-users] Where am I going wrong in the settings.

Teco Boot (spam-protected)
Tue Apr 8 22:59:13 CEST 2014


The plugin parameters are ordered, at least for dyn_gw.
Read from bottom to top.
Your config reads first "HNA" "0.0.0.0 0.0.0.0", no ping test set.
Then the "Ping" "10.4.0.1", but no HNA for it.

Please test with:

LoadPlugin "olsrd_dyn_gw.so.0.5"
{
        PlParam "HNA" "0.0.0.0 0.0.0.0"
        PlParam "Ping" "10.4.0.1"
        PlParam "CheckInterval" "5000"
        PlParam "PingInterval" "5"
}


When no HNA parameter is provided, "HNA" "0.0.0.0 0.0.0.0” is assumed (not tested by me!).

Teco


Op 8 apr. 2014, om 22:47 heeft ANDERSON JUNIOR GADO DA SILVA <(spam-protected)> het volgende geschreven:

> I understand WHAT you explained to me, since I made the change as suggested Teco, thus:
> 
> LoadPlugin "olsrd_dyn_gw.so.0.5"
> {
>         PlParam "Ping" "10.4.0.1"
>         PlParam "HNA" "0.0.0.0 0.0.0.0"
>         PlParam "CheckInterval" "5000"
>         PlParam "PingInterval" "5"
> }
> 
> 10.4.0.1 is a local dns server, so I continued using it as a reference for the ping,
> 
> this correct?
> 
> Att
> Anderson Junior
> 
> 
> 2014-04-08 16:34 GMT-04:00 Henning Rogge <(spam-protected)>:
> On Tue, Apr 8, 2014 at 10:27 PM, ANDERSON JUNIOR GADO DA SILVA
> <(spam-protected)> wrote:
> > I'll try to explain with my words, ping the address must be a reachable
> > address outside the network, preferably the Internet, a known site or dns,
> > it ensures that the node has internet, HNA understand to be the network
> > where the olsr will flood with your posts, this would be the network where
> > the working olsr. If you are traveling to pull my ear, (laughs).
> 
> A HNA announces a prefix outside the OLSR mesh network. In fact it
> announces that the local node can reach this prefix, the HNA allows
> the other nodes to access this prefix through the local node.
> 
> The ping mechanism of the dyn_gw plugin checks the bi-directional
> connectivity to a host within this prefix.
> 
> If you are re-distributing a route to the internet, the prefix would
> be 0.0.0.0/0 (the default route) and the ping address would be a host
> on the internet (e.g. 8.8.8.8, the google dns).
> 
> Henning
> 
> 
> 





More information about the Olsr-users mailing list