<div dir="ltr">Hi,<div>I guess that the "[INFO ] NACK received for: /prefix1/%FE%09, reason: NoRoute" message is received from producer 1, which is logic since it doesn't have a route (FIB Entry) for Interests packets with "\prefix1", and no routing protocol has been used in your scenario.</div><div>As described below, your consumer sends Interests with "\prefix1" and thus will receive Data packets only from Producer 2, and Nack packets from Producer 1.</div><div>Hope this helps.</div><div>Sincerely.</div><div> </div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le lun. 30 nov. 2020 à 16:46, Shuai Dong <<a href="mailto:sdong7@crimson.ua.edu">sdong7@crimson.ua.edu</a>> a écrit :<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 dir="ltr"><div>Hi,</div><div><br></div><div>I am using the "ndn-simple-wifi.cc" 
and modify the number of nodes from 2 to 3 (1 Consumer, 2 Producers).  
And try to install two different prefixes on two producers. Thus, what I
 am trying to do is to let the consumer get the data according to the 
specific prefix from one of the producers. <br></div><div><br></div><div><br></div><div>Sincerely,</div><div>Shuai</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Nov 30, 2020 at 12:27 AM Shuai Dong <<a href="mailto:sdong7@crimson.ua.edu" target="_blank">sdong7@crimson.ua.edu</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 dir="ltr"><div>Hi,</div><div><br></div><div>I am using the "ndn-simple-wifi.cc" and modify the number of nodes from 2 to 3 (1 Consumer, 2 Producers).  And try to install two different prefixes on two producers. Thus, what I am trying to do is to let the consumer get the data according to the specific prefix from one of the producers. <br></div><div><br></div><div><br></div><div>Sincerely,</div><div>Shuai<br></div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Nov 30, 2020 at 12:08 AM DJEMAA Adel <<a href="mailto:a_djemaa@esi.dz" target="_blank">a_djemaa@esi.dz</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 dir="ltr">Hi, <div>Please give more detail about the topology used with your three nodes (point to point or other).</div><div>Sincerely.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le lun. 30 nov. 2020 à 05:33, Shuai Dong via ndnSIM <<a href="mailto:ndnsim@lists.cs.ucla.edu" target="_blank">ndnsim@lists.cs.ucla.edu</a>> a écrit :<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 dir="ltr"><div>Hi All,</div><div><br></div><div>I am trying to implement the following code, which is used to make a consumer get the data it wants through a different prefix.</div><div><br></div><div>ndn::StrategyChoiceHelper::InstallAll("/","localhost/nfd/strategy/broadcast");<br></div><div><br></div><div>ndn::AppHelper consumerHelper("ns3::ndn::ConsumerCbr");<br></div><div>consumerHelper. SetPrefix ("/prefix1");</div><div>consumerHelpler. Install (node.get(0));</div><div><br></div><div>ndn::AppHelper producerHelper("ns3::ndn::Producer");<br></div><div>producerHelper.SetPrefix("/prefix0");</div><div>producerHelper.install(node.get(1));</div><div><br></div><div>ndn::AppHelper producerHelper1("ns3::ndn::Producer");</div><div>producerHelper1.SetPrefix("/prefix1");</div><div>producerHelper1.install(node. get(2));</div><div><br></div><div>Through the producer's log, the node 2 can respond to the data. However, the consumer's log shows that "[INFO ] NACK received for: /prefix1/%FE%09, reason: NoRoute"</div><div><br></div><div>I am wondering if it is because I did the wrong script? <br></div><div><br></div><div>Thanks!</div><div>Shuai<br></div><div><br></div><div><br></div></div>
_______________________________________________<br>
ndnSIM mailing list<br>
<a href="mailto:ndnSIM@lists.cs.ucla.edu" target="_blank">ndnSIM@lists.cs.ucla.edu</a><br>
<a href="http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim" rel="noreferrer" target="_blank">http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim</a><br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr"><div dir="ltr"><div>Mr DJAMA Adel<br></div><div>Phd student </div><div>Ecole Militaire Polytechnique</div><div>Algiers 16046, ALGERIA</div></div></div>
</blockquote></div>
</blockquote></div>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div>Mr DJAMA Adel<br></div><div>Phd student </div><div>Ecole Militaire Polytechnique</div><div>Algiers 16046, ALGERIA</div></div></div>