[Olsr-users] olsrd2 with vmware,

Taner Kurtulus (spam-protected)
Wed Mar 4 10:52:50 CET 2015


Hi Henning,

Thanks for your valuable help.

I have tested with just *olsrd2_static eth1* and everything worked fine.

In my first trials, I disabled plugin which uses libnl to compile it. Since
I don't  use wifi, I thought that I don't need it. But it didn't work with
this simple command (*olsrd2_static eth1*) than I added the other
parameters. However it didn't work. Than, I thought  that it would be
because of libnl. Than I compiled with libnl, but I didn't test again with
that simple command (*olsrd2_static eth1*).  After your advise, I checked
and it worked. Thanks again.

After working the first scenario, I tried my real need which is about
choosing the best link in terms of bandwidth and reliability.
Here is my real need, which is choosing the best route,
and dynamically change when the conditions change.  I believe OLSRv2 can
handle my need.


10.0.1.1   < -  2 Mbps - > 10.0.1.2   10.0.2.2    < -  2 Mbps - > 10.0.2.3
  A                B                C
10.0.3.1   < -                   128 kbps  %5 loss                        -
> 10.0.3.3

After, using olsrv2 I would like to reach C from A via B. But it chooses
direct link which is 128 kbps.

But, when I run the scenario, it didn't worked in the way I want. Could you
help me about configuring the olsrd2 to make my scenario work.

By the way, there is an other strange behavior about routing table.  Such
that OLSR adds its own IP addres into the routing table with a next hop
destined to other machine.

                                     Destination      Gateway   Dev

At machine A, it added  10.0.3.1          10.0.1.2    eth1
At machine B, it added  10.0.2.2          10.0.2.3    eth4
At machine C, it added  10.0.3.3          10.0.2.2    eth2

you can note that Destination addresses are actually their own addresses.
In practice there is no problem because operating system doesn't use those
routing table entries. I think, it would be nice to not add them into the
routing table.

You can find my testing environment and results as attached.  Name of
virtual machine indicates the location at topology.

Regards,

Note: I am using 64 bit CentOS 6.5.


On Wed, Mar 4, 2015 at 8:04 AM, Henning Rogge <(spam-protected)> wrote:

> On Tue, Mar 3, 2015 at 8:33 PM, Taner Kurtulus <(spam-protected)>
> wrote:
> > Thanks Henning, for very fast reply.
> >
> > Now, I am out the office. I could only provide address information. But
> if
> > those are not sufficient, I will send the output of "ip addr" tomorrow.
> >
> > Here is the address configurations.
> > A: 172.1.16.151 <-> B1:172.1.16.162 B2:192.168.1.128 <-> 192.168.1.129
> >
> > What kind of parameters I should see from the output of ip addr?
> >
> > By the way, I couldn't find any example configuration file. Is there any?
>
> The default configuration is "no" configuration.
>
> Start with just adding all relevant interfaces to the parameter list.
>
> > olsrd2_static eth1
>
> To make your debugging easier you could just skip the third VM and the
> second interface on the second VM. Olsrd2 should still produce an IPv4
> routing entry to each one-hop neighbor.
>
> Henning Rogge
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.olsr.org/pipermail/olsr-users/attachments/20150304/1426f278/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ipAddr.png
Type: image/png
Size: 655276 bytes
Desc: not available
URL: <http://lists.olsr.org/pipermail/olsr-users/attachments/20150304/1426f278/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: iperfResults.png
Type: image/png
Size: 650730 bytes
Desc: not available
URL: <http://lists.olsr.org/pipermail/olsr-users/attachments/20150304/1426f278/attachment-0001.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OLSRv2Routes.jpg
Type: image/jpeg
Size: 430189 bytes
Desc: not available
URL: <http://lists.olsr.org/pipermail/olsr-users/attachments/20150304/1426f278/attachment.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PacketLoss.png
Type: image/png
Size: 105633 bytes
Desc: not available
URL: <http://lists.olsr.org/pipermail/olsr-users/attachments/20150304/1426f278/attachment-0002.png>


More information about the Olsr-users mailing list