<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Hi Lixia,<div><br></div><div>thanks for your reply, i finaly managed to make it work, it was a problem with the propagation loss model that i used wich affected the transmission range of the nodes.<br><br>Ahmed<br><br><div><hr id="stopSpelling">Subject: Re: [ndnSIM] Multi-hop Wireless Ad-hoc  Scenario<br>From: lixia@cs.ucla.edu<br>Date: Fri, 22 Apr 2016 21:10:28 -0700<br>CC: ndnsim@lists.cs.ucla.edu; davide.pesavento@lip6.fr<br>To: ahmedaboud@outlook.com<br><br><br><div><blockquote><div>On Apr 15, 2016, at 12:32 PM, ahmed aboud <<a href="mailto:ahmedaboud@outlook.com">ahmedaboud@outlook.com</a>> wrote:</div><br class="ecxApple-interchange-newline"><div><div dir="ltr" style="font-family:Calibri;font-size:16px;font-style:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;">Hi all,<div><span style="white-space:pre-wrap;font-size:12pt;"><br></span></div><div><span style="white-space:pre-wrap;font-size:12pt;">I am trying to develop a </span><span style="white-space:pre-wrap;font-size:12pt;">scenario for </span><span style="font-size:12pt;white-space:pre-wrap;">multi-hop wireless ad-hoc network , currently i'm working with a 3 nodes topology A-->B-->C where </span><span style="font-size:12pt;white-space:pre-wrap;">(A:consumer ; B: forwarder ; C: producer ) and i managed to forward interest packets to node C, by creating a custom forwarding strategy that enable forwarding through the same face. </span></div><div><span style="white-space:pre-wrap;font-size:12pt;">My problem is that node B receives the returned data packet and it doesn't forward it back to node A since the NFD forwarder doesn't permit forwarding data packet throw the same downstream face </span></div><div><span style="white-space:pre-wrap;font-size:12pt;"><br></span></div><div><span style="white-space:pre-wrap;font-size:12pt;">as shown on this file: </span><a href="https://github.com/named-data-ndnSIM/NFD/blob/bd8eea71137bc382fe1fb8225334b926a5484527/daemon/fw/forwarder.cpp#L365" target="_blank" style="font-size:12pt;">https://github.com/named-data-ndnSIM/NFD/blob/bd8eea71137bc382fe1fb8225334b926a5484527/daemon/fw/forwarder.cpp#L36</a>4</div><div><br><div>and by modifying the Forwarder class to enable it to forward data packets to the same inFace only the first 2 packets were sent and received correctly as you can see on the Forwarder log, i suspect that node C doesn't have a route to the other nodes but i dont quite understand why only 2 packets were sent and received correctly.</div><div><br></div><div>any help will be much appreciated.</div></div><div><br></div><div>Thanks ,</div><div>Ahmed.</div></div></div></blockquote><br></div><div>Hi Ahmed,</div><div><br></div><div>just saw this, dont know if anyone has replied. </div><div>1/ Davide et al, copied here, had similar problem a few years back (i.e. need to send packets out thru the same WiFi interface they came in), I believe they modified the code to do that.</div><div><br></div><div>2/ a note to NFD folks on this list: maybe one would re-visit this design issue of "NFD forwarder doesn't permit forwarding data packet throw the same downstream face"?</div><div><br></div><div>Lixia</div><br></div></div>                                    </div></body>
</html>