<div dir="ltr"><div class="gmail_quote"><div dir="ltr">Hi Members,<div>   I modified one of the examples to simulate the mobility impact on caching.</div><div>My scenario is:</div><div>1. a grid of routers (5*5)</div><div>2. 8 WiFi access points </div><div>3. 15 mobile wifi consumers</div><div>4. Only one producer (router at grid(4,4) positions)</div><div><br></div><div>- both routers and APs are cache enabled, WiFi consumers are unable to cache.</div><div>- scenario code is accessed from <a href="https://gist.github.com/amiribrahim/47b31eb1d3918e21fa6717c7f5098af2">here</a> ( <a href="https://gist.github.com/amiribrahim/47b31eb1d3918e21fa6717c7f5098af2">https://gist.github.com/amiribrahim/47b31eb1d3918e21fa6717c7f5098af2</a> )</div><div><br></div><div>When I run the scenario, I get lot of NACKs with no route reason (when I use Best-route forwarding), and re-transmission trials when I use (multicast) forwarding strategy.</div><div><div><br></div><div>Any clue why nodes aren't forwarding interest packets</div></div><div><br></div><div>as below:</div><div><br></div><div><br></div><div>ns3@ubuntu:~/ndnSIM/ns-3$ NS_LOG=ndn.Consumer:ndn.<wbr>Producer ./waf --run scratch/project-simulation --vis</div><div>Waf: Entering directory `/home/ns3/ndnSIM/ns-3/build'</div><div>Waf: Leaving directory `/home/ns3/ndnSIM/ns-3/build'</div><div>Build commands will be stored in build/compile_commands.json</div><div>'build' finished successfully (3.637s)</div><div>0s -1 ndn.Consumer:Consumer()<br></div><div>0s -1 ndn.Consumer:Consumer()</div><div>0s -1 ndn.Consumer:Consumer()</div><div>0s -1 ndn.Consumer:Consumer()</div><div>0s -1 ndn.Consumer:Consumer()</div><div>0s -1 ndn.Consumer:Consumer()</div><div>0s -1 ndn.Consumer:Consumer()</div><div>0s -1 ndn.Consumer:Consumer()</div><div>0s -1 ndn.Consumer:Consumer()</div><div>0s -1 ndn.Consumer:Consumer()</div><div>0s -1 ndn.Consumer:Consumer()</div><div>0s -1 ndn.Consumer:Consumer()</div><div>0s -1 ndn.Consumer:Consumer()</div><div>0s -1 ndn.Consumer:Consumer()</div><div>0s -1 ndn.Consumer:Consumer()</div><div>0s -1 ndn.Producer:Producer()</div><div>0s 24 ndn.Producer:StartApplication(<wbr>)<br></div><div>0s 33 ndn.Consumer:StartApplication(<wbr>)</div><div>0s 34 ndn.Consumer:StartApplication(<wbr>)</div><div>0s 35 ndn.Consumer:StartApplication(<wbr>)</div><div>0s 36 ndn.Consumer:StartApplication(<wbr>)</div><div>0s 37 ndn.Consumer:StartApplication(<wbr>)</div><div>0s 38 ndn.Consumer:StartApplication(<wbr>)</div><div>0s 39 ndn.Consumer:StartApplication(<wbr>)</div><div>0s 40 ndn.Consumer:StartApplication(<wbr>)</div><div>0s 41 ndn.Consumer:StartApplication(<wbr>)</div><div>0s 42 ndn.Consumer:StartApplication(<wbr>)</div><div>0s 43 ndn.Consumer:StartApplication(<wbr>)</div><div>0s 44 ndn.Consumer:StartApplication(<wbr>)</div><div>0s 45 ndn.Consumer:StartApplication(<wbr>)</div><div>0s 46 ndn.Consumer:StartApplication(<wbr>)</div><div>0s 47 ndn.Consumer:StartApplication(<wbr>)</div><div>0s 33 ndn.Consumer:SendPacket()</div><div>0s 33 ndn.Consumer:SendPacket(): [INFO ] > Interest for 0</div><div>0s 33 ndn.Consumer:<wbr>WillSendOutInterest(): [DEBUG] Trying to add 0 with +0.0ns. already 0 items</div><div>0s 34 ndn.Consumer:SendPacket()</div><div>0s 34 ndn.Consumer:SendPacket(): [INFO ] > Interest for 0</div><div>0s 34 ndn.Consumer:<wbr>WillSendOutInterest(): [DEBUG] Trying to add 0 with +0.0ns. already 0 items</div><div>0s 35 ndn.Consumer:SendPacket()</div><div>0s 35 ndn.Consumer:SendPacket(): [INFO ] > Interest for 0</div><div>0s 35 ndn.Consumer:<wbr>WillSendOutInterest(): [DEBUG] Trying to add 0 with +0.0ns. already 0 items</div><div>0s 36 ndn.Consumer:SendPacket()</div><div>0s 36 ndn.Consumer:SendPacket(): [INFO ] > Interest for 0</div><div>0s 36 ndn.Consumer:<wbr>WillSendOutInterest(): [DEBUG] Trying to add 0 with +0.0ns. already 0 items</div><div>0s 37 ndn.Consumer:SendPacket()</div><div>0s 37 ndn.Consumer:SendPacket(): [INFO ] > Interest for 0</div><div>0s 37 ndn.Consumer:<wbr>WillSendOutInterest(): [DEBUG] Trying to add 0 with +0.0ns. already 0 items</div><div>0s 38 ndn.Consumer:SendPacket()</div><div>0s 38 ndn.Consumer:SendPacket(): [INFO ] > Interest for 0</div><div>0s 38 ndn.Consumer:<wbr>WillSendOutInterest(): [DEBUG] Trying to add 0 with +0.0ns. already 0 items</div><div>0s 39 ndn.Consumer:SendPacket()</div><div>0s 39 ndn.Consumer:SendPacket(): [INFO ] > Interest for 0</div><div>0s 39 ndn.Consumer:<wbr>WillSendOutInterest(): [DEBUG] Trying to add 0 with +0.0ns. already 0 items</div><div>0s 40 ndn.Consumer:SendPacket()</div><div>0s 40 ndn.Consumer:SendPacket(): [INFO ] > Interest for 0</div><div>0s 40 ndn.Consumer:<wbr>WillSendOutInterest(): [DEBUG] Trying to add 0 with +0.0ns. already 0 items</div><div>0s 41 ndn.Consumer:SendPacket()</div><div>0s 41 ndn.Consumer:SendPacket(): [INFO ] > Interest for 0</div><div>0s 41 ndn.Consumer:<wbr>WillSendOutInterest(): [DEBUG] Trying to add 0 with +0.0ns. already 0 items</div><div>0s 42 ndn.Consumer:SendPacket()</div><div>0s 42 ndn.Consumer:SendPacket(): [INFO ] > Interest for 0</div><div>0s 42 ndn.Consumer:<wbr>WillSendOutInterest(): [DEBUG] Trying to add 0 with +0.0ns. already 0 items</div><div>0s 43 ndn.Consumer:SendPacket()</div><div>0s 43 ndn.Consumer:SendPacket(): [INFO ] > Interest for 0</div><div>0s 43 ndn.Consumer:<wbr>WillSendOutInterest(): [DEBUG] Trying to add 0 with +0.0ns. already 0 items</div><div>0s 44 ndn.Consumer:SendPacket()</div><div>0s 44 ndn.Consumer:SendPacket(): [INFO ] > Interest for 0</div><div>0s 44 ndn.Consumer:<wbr>WillSendOutInterest(): [DEBUG] Trying to add 0 with +0.0ns. already 0 items</div><div>0s 45 ndn.Consumer:SendPacket()</div><div>0s 45 ndn.Consumer:SendPacket(): [INFO ] > Interest for 0</div><div>0s 45 ndn.Consumer:<wbr>WillSendOutInterest(): [DEBUG] Trying to add 0 with +0.0ns. already 0 items</div><div>0s 46 ndn.Consumer:SendPacket()</div><div>0s 46 ndn.Consumer:SendPacket(): [INFO ] > Interest for 0</div><div>0s 46 ndn.Consumer:<wbr>WillSendOutInterest(): [DEBUG] Trying to add 0 with +0.0ns. already 0 items</div><div>0s 47 ndn.Consumer:SendPacket()</div><div>0s 47 ndn.Consumer:SendPacket(): [INFO ] > Interest for 0</div><div>0s 47 ndn.Consumer:<wbr>WillSendOutInterest(): [DEBUG] Trying to add 0 with +0.0ns. already 0 items</div><div>0.5s 33 ndn.Consumer:SendPacket()</div><div>0.5s 33 ndn.Consumer:SendPacket(): [INFO ] > Interest for 1</div><div>0.5s 33 ndn.Consumer:<wbr>WillSendOutInterest(): [DEBUG] Trying to add 1 with +500000000.0ns. already 1 items</div><div>0.5s 34 ndn.Consumer:SendPacket()</div><div>0.5s 34 ndn.Consumer:SendPacket(): [INFO ] > Interest for 1</div><div>0.5s 34 ndn.Consumer:<wbr>WillSendOutInterest(): [DEBUG] Trying to add 1 with +500000000.0ns. already 1 items</div><div>0.5s 35 ndn.Consumer:SendPacket()</div><div>0.5s 35 ndn.Consumer:SendPacket(): [INFO ] > Interest for 1</div><div>0.5s 35 ndn.Consumer:<wbr>WillSendOutInterest(): [DEBUG] Trying to add 1 with +500000000.0ns. already 1 items</div><div>0.5s 36 ndn.Consumer:SendPacket()</div><div>0.5s 36 ndn.Consumer:SendPacket(): [INFO ] > Interest for 1</div><div>0.5s 36 ndn.Consumer:<wbr>WillSendOutInterest(): [DEBUG] Trying to add 1 with +500000000.0ns. already 1 items</div><div>0.5s 37 ndn.Consumer:SendPacket()</div><div>0.5s 37 ndn.Consumer:SendPacket(): [INFO ] > Interest for 1</div><div>0.5s 37 ndn.Consumer:<wbr>WillSendOutInterest(): [DEBUG] Trying to add 1 with +500000000.0ns. already 1 items</div><div>0.5s 38 ndn.Consumer:SendPacket()</div><div>0.5s 38 ndn.Consumer:SendPacket(): [INFO ] > Interest for 1</div><div>0.5s 38 ndn.Consumer:<wbr>WillSendOutInterest(): [DEBUG] Trying to add 1 with +500000000.0ns. already 1 items</div><div>0.5s 39 ndn.Consumer:SendPacket()</div><div>0.5s 39 ndn.Consumer:SendPacket(): [INFO ] > Interest for 1</div><div>0.5s 39 ndn.Consumer:<wbr>WillSendOutInterest(): [DEBUG] Trying to add 1 with +500000000.0ns. already 1 items</div><div>0.5s 40 ndn.Consumer:SendPacket()</div><div>0.5s 40 ndn.Consumer:SendPacket(): [INFO ] > Interest for 1</div><div>0.5s 40 ndn.Consumer:<wbr>WillSendOutInterest(): [DEBUG] Trying to add 1 with +500000000.0ns. already 1 items</div><div>0.5s 41 ndn.Consumer:SendPacket()</div><div>0.5s 41 ndn.Consumer:SendPacket(): [INFO ] > Interest for 1</div><div>0.5s 41 ndn.Consumer:<wbr>WillSendOutInterest(): [DEBUG] Trying to add 1 with +500000000.0ns. already 1 items</div><div>0.5s 42 ndn.Consumer:SendPacket()</div><div>0.5s 42 ndn.Consumer:SendPacket(): [INFO ] > Interest for 1</div><div>0.5s 42 ndn.Consumer:<wbr>WillSendOutInterest(): [DEBUG] Trying to add 1 with +500000000.0ns. already 1 items</div><div>0.5s 43 ndn.Consumer:SendPacket()</div><div>0.5s 43 ndn.Consumer:SendPacket(): [INFO ] > Interest for 1</div><div>0.5s 43 ndn.Consumer:<wbr>WillSendOutInterest(): [DEBUG] Trying to add 1 with +500000000.0ns. already 1 items</div><div>0.5s 44 ndn.Consumer:SendPacket()</div><div>0.5s 44 ndn.Consumer:SendPacket(): [INFO ] > Interest for 1</div><div>0.5s 44 ndn.Consumer:<wbr>WillSendOutInterest(): [DEBUG] Trying to add 1 with +500000000.0ns. already 1 items</div><div>0.5s 45 ndn.Consumer:SendPacket()</div><div>0.5s 45 ndn.Consumer:SendPacket(): [INFO ] > Interest for 1</div><div>0.5s 45 ndn.Consumer:<wbr>WillSendOutInterest(): [DEBUG] Trying to add 1 with +500000000.0ns. already 1 items</div><div>0.5s 46 ndn.Consumer:SendPacket()</div><div>0.5s 46 ndn.Consumer:SendPacket(): [INFO ] > Interest for 1</div><div>0.5s 46 ndn.Consumer:<wbr>WillSendOutInterest(): [DEBUG] Trying to add 1 with +500000000.0ns. already 1 items</div><div>0.5s 47 ndn.Consumer:SendPacket()</div><div>0.5s 47 ndn.Consumer:SendPacket(): [INFO ] > Interest for 1</div><div>0.5s 47 ndn.Consumer:<wbr>WillSendOutInterest(): [DEBUG] Trying to add 1 with +500000000.0ns. already 1 items</div><div>0.500489s 37 ndn.Consumer:OnNack(): [INFO ] NACK received for: /prefix/%FE%01, reason: NoRoute</div><div>0.500498s 43 ndn.Consumer:OnNack(): [INFO ] NACK received for: /prefix/%FE%01, reason: NoRoute</div><div>0.501802s 39 ndn.Consumer:OnNack(): [INFO ] NACK received for: /prefix/%FE%01, reason: NoRoute</div><div>0.502403s 41 ndn.Consumer:OnNack(): [INFO ] NACK received for: /prefix/%FE%01, reason: NoRoute</div><div>0.502652s 38 ndn.Consumer:OnNack(): [INFO ] NACK received for: /prefix/%FE%01, reason: NoRoute</div><div>0.503541s 35 ndn.Consumer:OnNack(): [INFO ] NACK received for: /prefix/%FE%01, reason: NoRoute</div><div>1s 33 ndn.Consumer:SendPacket()</div><div>1s 33 ndn.Consumer:SendPacket(): [INFO ] > Interest for 2</div><div>1s 33 ndn.Consumer:<wbr>WillSendOutInterest(): [DEBUG] Trying to add 2 with +1000000000.0ns. already 2 items</div><div>1s 34 ndn.Consumer:SendPacket()</div><div>1s 34 ndn.Consumer:SendPacket(): [INFO ] > Interest for 2</div><div>1s 34 ndn.Consumer:<wbr>WillSendOutInterest(): [DEBUG] Trying to add 2 with +1000000000.0ns. already 2 items</div><div>1s 35 ndn.Consumer:SendPacket()</div><div>1s 35 ndn.Consumer:SendPacket(): [INFO ] > Interest for 2</div><div>1s 35 ndn.Consumer:<wbr>WillSendOutInterest(): [DEBUG] Trying to add 2 with +1000000000.0ns. already 2 items</div><div>1s 36 ndn.Consumer:SendPacket()</div><div>1s 36 ndn.Consumer:SendPacket(): [INFO ] > Interest for 2</div><div>1s 36 ndn.Consumer:<wbr>WillSendOutInterest(): [DEBUG] Trying to add 2 with +1000000000.0ns. already 2 items</div><div>1s 37 ndn.Consumer:SendPacket()</div><div>1s 37 ndn.Consumer:SendPacket(): [INFO ] > Interest for 2</div><div>1s 37 ndn.Consumer:<wbr>WillSendOutInterest(): [DEBUG] Trying to add 2 with +1000000000.0ns. already 2 items</div><div>1s 38 ndn.Consumer:SendPacket()</div><div>1s 38 ndn.Consumer:SendPacket(): [INFO ] > Interest for 2</div><div>1s 38 ndn.Consumer:<wbr>WillSendOutInterest(): [DEBUG] Trying to add 2 with +1000000000.0ns. already 2 items</div><div>1s 39 ndn.Consumer:SendPacket()</div><div>1s 39 ndn.Consumer:SendPacket(): [INFO ] > Interest for 2</div><div>1s 39 ndn.Consumer:<wbr>WillSendOutInterest(): [DEBUG] Trying to add 2 with +1000000000.0ns. already 2 items</div><div>1s 40 ndn.Consumer:SendPacket()</div><div>1s 40 ndn.Consumer:SendPacket(): [INFO ] > Interest for 2</div><div>1s 40 ndn.Consumer:<wbr>WillSendOutInterest(): [DEBUG] Trying to add 2 with +1000000000.0ns. already 2 items</div><div>1s 41 ndn.Consumer:SendPacket()</div><div>1s 41 ndn.Consumer:SendPacket(): [INFO ] > Interest for 2</div><div>1s 41 ndn.Consumer:<wbr>WillSendOutInterest(): [DEBUG] Trying to add 2 with +1000000000.0ns. already 2 items</div><div>1s 42 ndn.Consumer:SendPacket()</div><div>1s 42 ndn.Consumer:SendPacket(): [INFO ] > Interest for 2</div><div>1s 42 ndn.Consumer:<wbr>WillSendOutInterest(): [DEBUG] Trying to add 2 with +1000000000.0ns. already 2 items</div><div>1s 43 ndn.Consumer:SendPacket()</div><div>1s 43 ndn.Consumer:SendPacket(): [INFO ] > Interest for 2</div><div>1s 43 ndn.Consumer:<wbr>WillSendOutInterest(): [DEBUG] Trying to add 2 with +1000000000.0ns. already 2 items</div><div>1s 44 ndn.Consumer:SendPacket()</div><div>1s 44 ndn.Consumer:SendPacket(): [INFO ] > Interest for 2</div><div>1s 44 ndn.Consumer:<wbr>WillSendOutInterest(): [DEBUG] Trying to add 2 with +1000000000.0ns. already 2 items</div><div>1s 45 ndn.Consumer:SendPacket()</div><div>1s 45 ndn.Consumer:SendPacket(): [INFO ] > Interest for 2</div><div>1s 45 ndn.Consumer:<wbr>WillSendOutInterest(): [DEBUG] Trying to add 2 with +1000000000.0ns. already 2 items</div><div>1s 46 ndn.Consumer:SendPacket()</div><div>1s 46 ndn.Consumer:SendPacket(): [INFO ] > Interest for 2</div><div>1s 46 ndn.Consumer:<wbr>WillSendOutInterest(): [DEBUG] Trying to add 2 with +1000000000.0ns. already 2 items</div><div>1s 47 ndn.Consumer:SendPacket()</div><div>1s 47 ndn.Consumer:SendPacket(): [INFO ] > Interest for 2</div><div>1s 47 ndn.Consumer:<wbr>WillSendOutInterest(): [DEBUG] Trying to add 2 with +1000000000.0ns. already 2 items</div><div>1s -1 ndn.Consumer:OnTimeout(0)</div><div>1s -1 ndn.Consumer:OnTimeout(0)</div><div>1s -1 ndn.Consumer:OnTimeout(0)</div><div>1s -1 ndn.Consumer:OnTimeout(0)</div><div>1s -1 ndn.Consumer:OnTimeout(0)</div><div>1s -1 ndn.Consumer:OnTimeout(0)</div><div>1s -1 ndn.Consumer:OnTimeout(0)</div><div>1s -1 ndn.Consumer:OnTimeout(0)</div><div>1s -1 ndn.Consumer:OnTimeout(0)</div><div>1s -1 ndn.Consumer:OnTimeout(0)</div><div>1s -1 ndn.Consumer:OnTimeout(0)</div><div>1s -1 ndn.Consumer:OnTimeout(0)</div><div>1s -1 ndn.Consumer:OnTimeout(0)</div><div>1s -1 ndn.Consumer:OnTimeout(0)</div><div>1s -1 ndn.Consumer:OnTimeout(0)</div><div><b>1.0005s 37 ndn.Consumer:OnNack(): [INFO ] NACK received for: /prefix/%FE%02, reason: NoRoute</b></div><div><b>1.00056s 43 ndn.Consumer:OnNack(): [INFO ] NACK received for: /prefix/%FE%02, reason: NoRoute</b></div><div><b>1.00178s 41 ndn.Consumer:OnNack(): [INFO ] NACK received for: /prefix/%FE%02, reason: NoRoute</b></div><div><b>1.00196s 38 ndn.Consumer:OnNack(): [INFO ] NACK received for: /prefix/%FE%02, reason: NoRoute</b></div><div><b>1.00229s 39 ndn.Consumer:OnNack(): [INFO ] NACK received for: /prefix/%FE%02, reason: NoRoute</b></div><div><b>1.00395s 35 ndn.Consumer:OnNack(): [INFO ] NACK received for: /prefix/%FE%02, reason: NoRoute</b></div><div><b>1.5s 33 ndn.Consumer:SendPacket()</b></div><span class="gmail-HOEnZb"><font color="#888888">   <br clear="all"><div><br></div></font></span></div></div>
</div>

<br>
<br>