<div dir="ltr">Hi,<div><br></div><div>olsrd2 only sets routes in the routing table... it doesn't touch traffic at all. So if you can exchange data between the two PIs (which would also work without the routing agent because of your subnet mask), everything else should not depend on olsrd2.</div><div><br></div><div>You have checked if a ping works between both sides?</div><div><br></div><div>Henning</div></div><br><div class="gmail_quote"><div dir="ltr">On Tue, Dec 11, 2018 at 1:16 PM Said Uçar <<a href="mailto:said.ucar@gohm.com.tr">said.ucar@gohm.com.tr</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div bgcolor="#FFFFFF">
<p>Hi all,</p>
<p><br>
</p>
<p>I'm trying to do some performance tests using olsrd v2 on
Raspberry Pi3 with wlan0 interface using 2 Raspberry Pi without
Access Point. I followed up the steps on github readme page to run
olsrd. I have two pi3 (<i>let's call them PiA and PiB</i>). I
fetched the source codes and compiled without any problem. Then I
executed the following commands for PiA;</p>
<blockquote>sudo iw wlan0 set type ibss<br>
sudo ip link set wlan0 up<br>
sudo iw wlan0 ibss join my-mesh 2432 key d:2:abcde<br>
sudo ip addr add <b>14.15.16.1</b>/24 dev wlan0<br>
sudo olsrd2_dlep_static --set=<a href="http://log.info" target="_blank">log.info</a>=nhdp_r wlan0<br>
</blockquote>
<p>Then the same commands for PiB;</p>
<blockquote>
<p>sudo iw wlan0 set type ibss<br>
sudo ip link set wlan0 up<br>
sudo iw wlan0 ibss join my-mesh 2432 key d:2:abcde<br>
sudo ip addr add <b>14.15.16.2</b>/24 dev wlan0<br>
sudo olsrd2_dlep_static --set=<a href="http://log.info" target="_blank">log.info</a>=nhdp_r wlan0</p>
</blockquote>
<p><br>
</p>
<p>After running olsrd2 for both pi, I started to see logs in both
console. Below is the sample logs I see on PiA console;</p>
<p>12:00:57.126 INFO(nhdp_r) src/nhdp/nhdp/nhdp_reader.c 411:
Incoming message type 0 from 14.15.16.<b>2</b>:269 through any
(addrlen = 4), got message tlvs<br>
12:00:57.127 INFO(nhdp_r) src/nhdp/nhdp/nhdp_reader.c 411:
Incoming message type 0 from 14.15.16.<b>2</b>:269 through wlan0
(addrlen = 4), got message tlvs<br>
12:00:59.226 INFO(nhdp_r) src/nhdp/nhdp/nhdp_reader.c 411:
Incoming message type 0 from 14.15.16.<b>2</b>:269 through any
(addrlen = 4), got message tlvs<br>
12:00:59.227 INFO(nhdp_r) src/nhdp/nhdp/nhdp_reader.c 411:
Incoming message type 0 from 14.15.16.<b>2</b>:269 through wlan0
(addrlen = 4), got message tlvs<br>
</p>
<p>And here is the logs that I see on PiB console;</p>
<p>12:00:25.350 INFO(nhdp_r) src/nhdp/nhdp/nhdp_reader.c 411:
Incoming message type 0 from 14.15.16.<b>1</b>:269 through any
(addrlen = 4), got message tlvs<br>
12:00:25.351 INFO(nhdp_r) src/nhdp/nhdp/nhdp_reader.c 411:
Incoming message type 0 from 14.15.16.<b>1</b>:269 through wlan0
(addrlen = 4), got message tlvs<br>
12:00:27.450 INFO(nhdp_r) src/nhdp/nhdp/nhdp_reader.c 411:
Incoming message type 0 from 14.15.16.<b>1</b>:269 through any
(addrlen = 4), got message tlvs<br>
12:00:27.451 INFO(nhdp_r) src/nhdp/nhdp/nhdp_reader.c 411:
Incoming message type 0 from 14.15.16.<b>1</b>:269 through wlan0
(addrlen = 4), got message tlvs<br>
</p>
<p>So far so good, I assumed. Then, to measure bandwidth, I used
iperf3. Started server on PiA with '<i>iperf3 -s</i>' command and
started a client on PiB using '<i>iperf3 -c 14.15.16.1</i>'
command. And the results are below respectively;</p>
<p><br>
</p>
<hr width="100%" size="2">
<p>pi@raspberrypi:~ $ iperf3 -s<br>
-----------------------------------------------------------<br>
Server listening on 5201<br>
-----------------------------------------------------------<br>
Accepted connection from 14.15.16.2, port 41238<br>
[ 5] local 14.15.16.1 port 5201 connected to 14.15.16.2 port
41240<br>
[ ID] Interval Transfer Bandwidth<br>
[ 5] 0.00-1.00 sec 0.00 Bytes 0.00
bits/sec <br>
[ 5] 1.00-2.00 sec 0.00 Bytes 0.00
bits/sec <br>
[ 5] 2.00-3.00 sec 0.00 Bytes 0.00
bits/sec <br>
[ 5] 3.00-4.00 sec 0.00 Bytes 0.00
bits/sec <br>
[ 5] 4.00-5.00 sec 0.00 Bytes 0.00
bits/sec <br>
[ 5] 5.00-6.00 sec 0.00 Bytes 0.00
bits/sec <br>
[ 5] 6.00-7.00 sec 0.00 Bytes 0.00
bits/sec <br>
[ 5] 7.00-8.00 sec 0.00 Bytes 0.00
bits/sec <br>
[ 5] 8.00-9.00 sec 0.00 Bytes 0.00
bits/sec <br>
[ 5] 9.00-10.00 sec 0.00 Bytes 0.00
bits/sec <br>
[ 5] 10.00-10.03 sec 0.00 Bytes 0.00
bits/sec <br>
- - - - - - - - - - - - - - - - - - - - - - - - -<br>
[ ID] Interval Transfer Bandwidth<br>
[ 5] 0.00-10.03 sec 0.00 Bytes 0.00
bits/sec sender<br>
[ 5] 0.00-10.03 sec 0.00 Bytes 0.00
bits/sec receiver<br>
-----------------------------------------------------------<br>
Server listening on 5201<br>
-----------------------------------------------------------</p>
<hr width="100%" size="2">
<p>pi@raspberrypi:~ $ iperf3 -c 14.15.16.1<br>
Connecting to host 14.15.16.1, port 5201<br>
[ 4] local 14.15.16.2 port 41240 connected to 14.15.16.1 port
5201<br>
[ ID] Interval Transfer Bandwidth Retr Cwnd<br>
[ 4] 0.00-1.00 sec 28.3 KBytes 231 Kbits/sec 2 1.41
KBytes <br>
[ 4] 1.00-2.00 sec 0.00 Bytes 0.00 bits/sec 1 1.41
KBytes <br>
[ 4] 2.00-3.00 sec 0.00 Bytes 0.00 bits/sec 0 1.41
KBytes <br>
[ 4] 3.00-4.00 sec 0.00 Bytes 0.00 bits/sec 1 1.41
KBytes <br>
[ 4] 4.00-5.00 sec 0.00 Bytes 0.00 bits/sec 0 1.41
KBytes <br>
[ 4] 5.00-6.00 sec 0.00 Bytes 0.00 bits/sec 0 1.41
KBytes <br>
[ 4] 6.00-7.00 sec 0.00 Bytes 0.00 bits/sec 1 1.41
KBytes <br>
[ 4] 7.00-8.00 sec 0.00 Bytes 0.00 bits/sec 0 1.41
KBytes <br>
[ 4] 8.00-9.00 sec 0.00 Bytes 0.00 bits/sec 0 1.41
KBytes <br>
[ 4] 9.00-10.00 sec 0.00 Bytes 0.00 bits/sec 0 1.41
KBytes <br>
- - - - - - - - - - - - - - - - - - - - - - - - -<br>
[ ID] Interval Transfer Bandwidth Retr<br>
[ 4] 0.00-10.00 sec 28.3 KBytes 23.2 Kbits/sec
5 sender<br>
[ 4] 0.00-10.00 sec 0.00 Bytes 0.00
bits/sec receiver<br>
<br>
iperf Done.<br>
</p>
<hr width="100%" size="2">
<p><br>
</p>
<p>Why the iperf test results are so strange? Or is my mesh setup
wrong? And if you have some throughput test results, please share
with me.</p>
<p><br>
</p>
<p>Best Regards,<br>
</p>
<div class="gmail-m_-7843139643789941819moz-signature">-- <br>
<table style="background:none;border:0px;margin:0px;padding:0px" cellspacing="0" cellpadding="0" border="0">
<tbody>
<tr>
<td colspan="2" style="padding-bottom:5px"><img></td>
</tr>
<tr>
<td colspan="2" style="padding-bottom:5px;color:rgb(21,20,156);font-size:18px;font-family:Arial,Helvetica,sans-serif">Said Uçar</td>
</tr>
<tr>
<td colspan="2" style="color:rgb(51,51,51);font-size:14px;font-family:Arial,Helvetica,sans-serif"><i>Software
Engineer</i></td>
</tr>
<tr>
<td colspan="2" style="color:rgb(51,51,51);font-size:14px;font-family:Arial,Helvetica,sans-serif"><strong>GOHM
Electronics & Software</strong></td>
</tr>
<tr>
<td style="vertical-align:top;width:20px;color:rgb(21,20,156);font-size:14px;font-family:Arial,Helvetica,sans-serif" width="20" valign="top">m:</td>
<td style="color:rgb(51,51,51);font-size:14px;font-family:Arial,Helvetica,sans-serif">+905442613124</td>
</tr>
<tr>
<td style="vertical-align:top;width:20px;color:rgb(21,20,156);font-size:14px;font-family:Arial,Helvetica,sans-serif" width="20" valign="top">a:</td>
<td style="vertical-align:top;color:rgb(51,51,51);font-size:14px;font-family:Arial,Helvetica,sans-serif" valign="top">Bogazici University North Campus Teknopark
103</td>
</tr>
<tr>
<td style="vertical-align:top;width:20px;color:rgb(21,20,156);font-size:14px;font-family:Arial,Helvetica,sans-serif" width="20" valign="top"> </td>
<td style="vertical-align:top;color:rgb(51,51,51);font-size:14px;font-family:Arial,Helvetica,sans-serif" valign="top">34470 Bebek/ISTANBUL</td>
</tr>
<tr>
<td style="vertical-align:top;width:20px;color:rgb(21,20,156);font-size:14px;font-family:Arial,Helvetica,sans-serif" width="20" valign="top">w:</td>
<td style="vertical-align:top;color:rgb(51,51,51);font-size:14px;font-family:Arial,Helvetica,sans-serif" valign="top"><a href="http://gohm.com.tr" style="color:rgb(29,161,219);text-decoration:none;font-weight:normal;font-size:14px" target="_blank">gohm.com.tr</a> <span style="color:rgb(21,20,156)">e: </span><a href="mailto:said.ucar@gohm.com.tr" style="color:rgb(29,161,219);text-decoration:none;font-weight:normal;font-size:14px" target="_blank">said.ucar@gohm.com.tr</a></td>
</tr>
</tbody>
</table>
</div>
</div>
-- <br>
Olsr-users mailing list<br>
<a href="mailto:Olsr-users@lists.olsr.org" target="_blank">Olsr-users@lists.olsr.org</a><br>
<a href="https://lists.olsr.org/mailman/listinfo/olsr-users" rel="noreferrer" target="_blank">https://lists.olsr.org/mailman/listinfo/olsr-users</a></blockquote></div>