[Olsr-users] Problem with new gateway on the network

ANDERSON JUNIOR GADO DA SILVA (spam-protected)
Mon Apr 7 14:11:09 CEST 2014


Hello, things are increasingly becoming clearer to me, I am very grateful
to you for the time spent with my doubts beginner, feathers made a network
with 4 routers to explore more, and gw 2 simple knots, and put the same
configuration previous email on all routers, did a test as follows, called
the router which is a 1 gw, called the 2 and 3 which are somentes us, they
detected the gateway took the correct route and everything functioned
normally, so I called the router 4 which is also a gw, after a few seconds
routers changed their routes to the 4 because of being closer believe he
found to be the best route, so far so good, so I cut the internet router 4,
and waited to see if the routers changed the route back to router 1, but to
my surprise it did not, I waited for over 30 minutes and they kept pointing
to the router 4, then restarted the service olsr, alas they did correct
route, I forgot something in the configuration dyn_gw? because I can not
find my mistake ...

Att.
Anderson Junior

2014-04-07 3:32 GMT-04:00 Saverio Proto <(spam-protected)>:

> The idea is that you dont just check the default route but also
> specific networks that you announce via HNA.
>
> if cannot ping 192.168.81.12
> do not announce
>
> 192.168.80.0/24 and 192.168.81.0/24
>
> Saverio
>
> 2014-04-07 1:00 GMT+02:00 ANDERSON JUNIOR GADO DA SILVA
> <(spam-protected)>:
> > Hello, I made my setup like this:
> >
> > PlParam     "CheckInterval"  "10000"
> > PlParam     "PingInterval"   "50"
> > PlParam     "Ping"   "10.4.0.1"  #internal dns on my network that can be
> > accessed from anywhere on the network
> >
> >
> > so far I think I understand, the plugin will trickle case and find the ip
> > 10.4.0.1 keeps as gw, otherwise warns us that he is no longer a gw, now I
> > got a few questions, the first is, I can only put this code nodes that
> are
> > gw? the reason for the question is if I put these settings on the other
> > nodes, when they connect to any node that has internet it conceguira
> > dripping in 10.4.0.1 and thus will announce that it is a gw, but it is
> > actually a client node, where the cord does not reach internet but
> serves to
> > bring internet to inside the house.
> >
> > My second doubt is:
> >
> >     #   First group of HNAs with related ping host
> >     PlParam   "HNA"      "192.168.80.0 255.255.255.0"
> >     PlParam   "HNA"      "192.168.81.0 255.255.255.0"
> >     PlParam   "Ping"   "192.168.81.12"
> >
> >     #   Second HNA group with multiple related ping hosts.
> >     #   Specifying multiple ping hosts provides redundancy.
> >     PlParam "HNA"    "192.168.100.0 255.255.255.0"
> >     PlParam "HNA"    "192.168.101.0 255.255.255.0"
> >     PlParam "HNA"    "192.168.102.0 255.255.255.0"
> >     PlParam "Ping"   "192.168.100.10"
> >     PlParam "Ping"   "192.168.101.10"
> >
> >     #   Third HNA group without ping check
> >     PlParam "HNA"    "192.168.200.0 255.255.255.0"
> >     PlParam "HNA"    "192.168.201.0 255.255.255.0"
> >     PlParam "HNA"    "192.168.202.0 255.255.255.0"
> >
> >
> >
> > even reading several times I do not understand this snippet concegui
> > parameters
> >
> > Att
> > Anderson Junior
> >
> >
> > 2014-04-06 18:36 GMT-04:00 ANDERSON JUNIOR GADO DA SILVA
> > <(spam-protected)>:
> >
> >> Ok, thanks for the tip I will read and take the tests, come back to ask
> >> any questions, but thank you very much.
> >>
> >> Att
> >> Anderson Junior
> >>
> >>
> >> 2014-04-06 15:56 GMT-04:00 Saverio Proto <(spam-protected)>:
> >>
> >>> Hello,
> >>> here you find how to configure the dyn_gw plugin:
> >>>
> >>>
> >>>
> http://olsr.org/git/?p=olsrd.git;a=blob;f=lib/dyn_gw/README_DYN_GW;h=0aea1f9d3340938ce128295964a81dd8d32b7f64;hb=release-0.6.6
> >>>
> >>> in the source code tarball, for every plugin there is a README file.
> >>>
> >>> Saverio
> >>>
> >>>
> >>>
> >>> 2014-04-06 15:54 GMT+02:00 ANDERSON JUNIOR GADO DA SILVA
> >>> <(spam-protected)>:
> >>> > Hello, until now I was using only one gateway in my small network,
> so I
> >>> > decided to add a new gateway so far so good, let's go to my
> experience,
> >>> > I
> >>> > believe I have done anything wrong, while adding new node I
> configured
> >>> > the
> >>> > wan interface ip addr d, called automatically when the radio he took
> >>> > with
> >>> > gateway, but he was not yet, because I still had internet, I was just
> >>> > connected to a switch, the closest we have also identified it as a
> >>> > gateway
> >>> > and changed its table routing, even though he was not yet a true
> >>> > gateway, as
> >>> > much as I restart, it remains the gateway, but does not have internt,
> >>> > has
> >>> > some parameter or setting that we test and see that it is not a true
> >>> > gateway
> >>> > and back for true route?
> >>> > my setup is as follows:
> >>> >
> >>> > DebugLevel 0
> >>> > AllowNoInt yes
> >>> > IpVersion 4
> >>> > LinkQualityLevel 2
> >>> > ClearScreen yes
> >>> >
> >>> > LoadPlugin "olsrd_arprefresh.so.0.1"
> >>> > {
> >>> > }
> >>> >
> >>> > LoadPlugin "olsrd_dyn_gw.so.0.5"
> >>> > {
> >>> > }
> >>> >
> >>> > LoadPlugin "olsrd_nameservice.so.0.3"
> >>> > {
> >>> >         PlParam "name" "gwsc1"
> >>> > }
> >>> >
> >>> > LoadPlugin "olsrd_txtinfo.so.0.1"
> >>> > {
> >>> >         PlParam "accept" "0.0.0.0"
> >>> > }
> >>> >
> >>> > Interface "wlan0"
> >>> > {
> >>> > }
> >>> >
> >>> > Att
> >>> > Anderson Junior
> >>> >
> >>> > --
> >>> > Olsr-users mailing list
> >>> > (spam-protected)
> >>> > https://lists.olsr.org/mailman/listinfo/olsr-users
> >>
> >>
> >>
> >
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.olsr.org/pipermail/olsr-users/attachments/20140407/e363862b/attachment.html>


More information about the Olsr-users mailing list