[Olsr-users] 2 hop nodes cost and packet loss

Vamsi Gondi (spam-protected)
Wed Mar 13 16:19:45 CET 2013


Hi,

thank you for quick response, i have good link quality on all the wireless
interfaces on all the nodes.

some of the data i collected from the gateway node

Links
Local IP Remote IP Hysteresis LinkCost
192.168.0.210 192.168.0.198 0.00 (1.000/0.815) 1.226
192.168.0.210 192.168.0.199 0.00 (0.913/0.831) 1.315
192.168.0.210 192.168.0.196 0.00 (0.905/0.831) 1.327
192.168.0.210 192.168.0.197 0.00 (0.748/0.497) 2.681
192.168.0.210 192.168.0.200 0.00 (0.000/0.497) INFINITE
Neighbors
IP Address SYM MPR MPRS Willingness 2 Hop Neighbors
192.168.0.199 YES NO NO 6 (4)
192.168.0.200 YES NO NO 6 (3)
192.168.0.196 YES YES NO 6 (4)
192.168.0.197 YES NO YES 6 (3)
192.168.0.198 YES NO YES 6 (4)
Topology Entries
Destination IP Last Hop IP Linkcost
192.168.0.197 192.168.0.196 (1.000/0.905) 1.104
192.168.0.198 192.168.0.196 (0.913/0.913) 1.197
192.168.0.199 192.168.0.196 (1.000/1.000) 1.000
192.168.0.200 192.168.0.196 (0.580/0.497) 3.459
192.168.0.210 192.168.0.196 (0.905/1.000) 1.104
192.168.0.196 192.168.0.197 (1.000/1.000) 1.000
192.168.0.198 192.168.0.197 (0.497/0.497) 4.031
192.168.0.199 192.168.0.197 (0.458/0.541) 4.026
192.168.0.210 192.168.0.197 (0.497/0.662) 3.029
192.168.0.196 192.168.0.198 (1.000/0.913) 1.094
192.168.0.197 192.168.0.198 (0.831/0.497) 2.415
192.168.0.199 192.168.0.198 (1.000/1.000) 1.000
192.168.0.200 192.168.0.198 (0.662/0.497) 3.029
192.168.0.210 192.168.0.198 (0.913/1.000) 1.094
192.168.0.196 192.168.0.199 (1.000/1.000) 1.000
192.168.0.197 192.168.0.199 (0.662/0.497) 3.029
192.168.0.198 192.168.0.199 (1.000/1.000) 1.000
192.168.0.200 192.168.0.199 (0.662/0.497) 3.029
192.168.0.210 192.168.0.199 (0.831/1.000) 1.202
192.168.0.196 192.168.0.200 (0.497/0.748) 2.681
192.168.0.198 192.168.0.200 (0.497/0.541) 3.710
192.168.0.199 192.168.0.200 (0.497/0.815) 2.461
192.168.0.196 192.168.0.210 (0.905/0.905) 1.218
192.168.0.197 192.168.0.210 (0.748/0.497) 2.681
192.168.0.198 192.168.0.210 (1.000/0.815) 1.226
192.168.0.199 192.168.0.210 (1.000/1.000) 1.000


On Wed, Mar 13, 2013 at 11:07 AM, Teco Boot <(spam-protected)> wrote:

> I think the problems you have are related to bad links, not to OLSR.
> But olsrd could do a better job selecting less lossy links, e.g. a 2-hop
> cost=2 path would perform far better than a 1-hop cost=1.7 path.
>
> Is the distance between your nodes within a range what your wifi cards
> support?
>
> Teco
>
>
> Op 13 mrt. 2013, om 10:47 heeft Vamsi Gondi <(spam-protected)> het
> volgende geschreven:
>
> >
> >
> > Hi,
> >
> > i am developing a testbed using OLSR on PCEngine Alix with Debian, i
> have 6 nodes as the part of the experiment, i initially used v0.5 version
> later moved to v0.6.5.2, i have enclosed the setup topology.
> >
> > I have a gateway 192.168.0.210
> >
> > 1 Hop Nodes 192.168.0.196, 192.168.0.198, 192.168.0.199
> >
> > 2 Hop Nodes 192.168.0.197, 192.168.0.200
> >
> > i dont have any issues with the 1 Hop nodes with the current
> configuration setup, but when it comes to 2 Hop nodes the cost goes to
> infinite most of the time even though they are in range with 1 hop nodes.
> >
> > Also when they establish the link, i have lot of packet losses and link
> is not stable for longer duration's. (I can Ping most of the nodes with
> variable latency like 6ms, 24ms. 43ms, 63ms, 6ms, 20ms from one packet to
> packet). I cant access most of the websites, tested with wget, after
> resolving the domain it says no route to host.
> >
> > please advice
> >
> > My config files
> >
> > Gateway
> > DebugLevel  0
> > IpVersion 4
> > FIBMetric "flat"
> > RtProto 0
> > SmartGateway no
> > Hna4
> > {
> > # Internet gateway
> > #0.0.0.0   0.0.0.0
> > # specific small networks reachable through this node
> > # 15.15.0.0 255.255.255.0
> > }
> > Hna6
> > {
> > # Internet gateway
> > #   0::                     0
> > # specific small networks reachable through this node
> > #   fec0:2200:106:0:0:0:0:0 48
> > }
> > LinkQualityFishEye  0
> > InterfaceDefaults {
> >     Ip4Broadcast      255.255.255.255
> > }
> > Interface "ath6"
> > {
> >     # Interface Mode is used to prevent unnecessary
> >     # packet forwarding on switched ethernet interfaces
> >     # valid Modes are "mesh" and "ether"
> >     # (default is "mesh")
> >
> >     HelloInterval       6.00
> >     HelloValidityTime   90.00
> >     TcInterval          3.00
> >     TcValidityTime      300.00
> >     MidInterval         15.00
> >     MidValidityTime     300.00
> >     HnaInterval         15.00
> >     HnaValidityTime     90.00
> >     #LinkQualityMult    default 1.0
> >
> >     # Mode "mesh"
> > }
> >
> > Willingness 6
> >
> > TcRedundancy 2
> > MprCoverage 5
> > LinkQualityLevel 2
> > Pollrate 0.5
> >
> > LoadPlugin "olsrd_dot_draw.so.0.3"
> > {
> >         # accept connection from IP:
> >         # default 127.0.0.1 (localhost)
> >         PlParam     "accept" "192.168.0.96"
> >         PlParam     "port" "2004"
> > }
> >   LoadPlugin "olsrd_httpinfo.so.0.1"
> > {
> > #       # defaults to 1978
> > #       PlParam "Port" "8080"
> > #       # if you dont set these, the default is to listen only on thd
> > #evice
> > #       #PlParam "Host"   "80.23.53.22"
> > #       #PlParam "Net"    "10.0.0.0 255.0.0.0"
> >         PlParam "port"  "1979"
> >        PlParam "Net" "0.0.0.0 0.0.0.0"
> > }
> >
> > LoadPlugin "olsrd_dyn_gw.so.0.5"
> > {
> >     # Here parameters are set to be sent to the
> >     # plugin. Theese are on the form "key" "value".
> >     # Parameters ofcause, differs from plugin to plugin.
> >     # Consult the documentation of your plugin for details.
> >
> >     # Example: dyn_gw params
> >
> >     # how often to check for Internet connectivity
> >     # defaults to 5 secs
> >    PlParam     "Interval"   "400"
> >
> >    PlParam     "Ping"       "8.8.8.8"
> >   # PlParam     "Ping"       "192.168.0.158"
> > }
> >
> >
> > Mesh Nodes - Same for all the nodes
> >
> > DebugLevel  0
> > IpVersion 4
> > FIBMetric "flat"
> > RtProto 0
> > SmartGateway no
> > Hna4
> > {
> > # Internet gateway
> > #0.0.0.0   0.0.0.0
> > # specific small networks reachable through this node
> > # 15.15.0.0 255.255.255.0
> > }
> > Hna6
> > {
> > # Internet gateway
> > #   0::                     0
> > # specific small networks reachable through this node
> > #   fec0:2200:106:0:0:0:0:0 48
> > }
> > LinkQualityFishEye  0
> > InterfaceDefaults {
> >     Ip4Broadcast      255.255.255.255
> > }
> > Interface "ath6"
> > {
> >     # Interface Mode is used to prevent unnecessary
> >     # packet forwarding on switched ethernet interfaces
> >     # valid Modes are "mesh" and "ether"
> >     # (default is "mesh")
> >
> >     HelloInterval       6.00
> >     HelloValidityTime   90.00
> >     TcInterval          3.00
> >     TcValidityTime      300.00
> >     MidInterval         15.00
> >     MidValidityTime     300.00
> >     HnaInterval         15.00
> >     HnaValidityTime     90.00
> >     #LinkQualityMult    default 1.0
> >
> >     # Mode "mesh"
> > }
> >
> > Willingness 6
> >
> > TcRedundancy 2
> > MprCoverage 5
> > LinkQualityLevel 2
> > Pollrate 0.5
> >
> >   LoadPlugin "olsrd_httpinfo.so.0.1"
> > {
> > #       # defaults to 1978
> > #       PlParam "Port" "8080"
> > #       # if you dont set these, the default is to listen only on thd
> > #evice
> > #       #PlParam "Host"   "80.23.53.22"
> > #       #PlParam "Net"    "10.0.0.0 255.0.0.0"
> >         PlParam "port"  "1979"
> >        PlParam "Net" "0.0.0.0 0.0.0.0"
> > }
> >
> >
> >
> > <topology.png>--
> > Olsr-users mailing list
> > (spam-protected)
> > https://lists.olsr.org/mailman/listinfo/olsr-users
>
>


-- 
Vamsi Krishna GONDI, Ph.D,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.olsr.org/pipermail/olsr-users/attachments/20130313/f7f4b1f4/attachment.html>


More information about the Olsr-users mailing list