<HTML dir=ltr><HEAD>
<META content="text/html; charset=unicode" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 11.00.10586.162"></HEAD>
<BODY>
<DIV id=idOWAReplyText25141 dir=ltr>
<DIV dir=ltr><FONT color=#000000 size=2 face=Arial>Hmmm.</FONT></DIV>
<DIV dir=ltr><FONT size=2 face=Arial>I suggest testing 2 more things.</FONT></DIV>
<DIV dir=ltr><FONT size=2 face=Arial>1- Set forwarding strategy to <EM>multicast</EM></FONT></DIV>
<DIV dir=ltr><FONT size=2 face=Arial>2- Manually AddOrigin to the producer for requester and intermediate nodes.</FONT></DIV>
<DIV dir=ltr><FONT size=2 face=Arial>Where is your producer application(responsible for "/myprefix") has been set?</FONT></DIV>
<DIV dir=ltr><FONT size=2 face=Arial></FONT> </DIV>
<DIV dir=ltr><FONT size=2 face=Arial>Sabet</FONT></DIV></DIV>
<DIV dir=ltr><BR>
<HR tabIndex=-1>
<FONT size=2 face=Tahoma><B>From:</B> Hassan Sinky [mailto:sinkyh@oregonstate.edu]<BR><B>Sent:</B> Sat 3/26/2016 2:16 PM<BR><B>To:</B> Muhammad Hosain Abdollahi Sabet<BR><B>Cc:</B> ndnsim@lists.cs.ucla.edu<BR><B>Subject:</B> Re: [ndnSIM] Wifi and p2p links on a single node.<BR></FONT><BR></DIV>
<DIV>
<DIV dir=ltr>That's what I thought but for some reason there seems to be a forwarding/ Wifi issue that I can't seem to solve. I'm not sure what the source of the problem is so I simplified my topology in order to see if the problem persists and it does. My simplified topology is below: 
<DIV><BR></DIV>
<DIV><IMG alt="Inline image 2" src="https://webmail.sbu.ac.ir/Exchange/M.AbdollahiSabet/Drafts/image.png" width=562 height=249><BR></DIV>
<DIV><BR></DIV>
<DIV>Nodes 0-3 are connected to each other via p2p links. Each of them also have a Wifi device for node 4 to associate with. When node 4 is associated with node 0 it is not able to retrieve data from the producer on node 3. Only when it is associated with node 2 is it able to retrieve data from node 3:</DIV>
<DIV><BR></DIV>
<DIV><IMG alt="Inline image 4" src="https://webmail.sbu.ac.ir/Exchange/M.AbdollahiSabet/Drafts/image-1.png" width=562 height=249><BR></DIV>
<DIV><BR></DIV>
<DIV>Strangely, removing the Wifi devices from all the nodes except for node 0 allows for node 4 to retrieve data from the producer when it is associated with node 0:</DIV>
<DIV><BR></DIV>
<DIV><IMG alt="Inline image 5" src="https://webmail.sbu.ac.ir/Exchange/M.AbdollahiSabet/Drafts/image-2.png" width=562 height=249><BR></DIV>
<DIV><BR></DIV>
<DIV>This has puzzled me for the past two days. I have set up the NDN stack and routing as done in the examples:</DIV>
<DIV><BR></DIV>
<DIV>
<DIV>   //Install NDN stack on all nodes</DIV>
<DIV>  NS_LOG_UNCOND ("Install NDN Stack to Nodes.");</DIV>
<DIV>  ndn::StackHelper ndnHelper;</DIV>
<DIV>  ndnHelper.SetDefaultRoutes(true);</DIV>
<DIV>  ndnHelper.setCsSize(10);</DIV>
<DIV>  ndnHelper.InstallAll();</DIV>
<DIV><BR></DIV>
<DIV>  //Choosing forwarding strategy</DIV>
<DIV>  NS_LOG_UNCOND ("Installing NDN forwarding strategy.");</DIV>
<DIV>  ndn::StrategyChoiceHelper::InstallAll("/myprefix", "/localhost/nfd/strategy/best-route");</DIV></DIV>
<DIV><BR></DIV>
<DIV>
<DIV>  NS_LOG_UNCOND ("Initialize Global Routing.");</DIV>
<DIV>  ndn::GlobalRoutingHelper ndnGlobalRoutingHelper;</DIV>
<DIV>  ndnGlobalRoutingHelper.InstallAll();</DIV>
<DIV><BR></DIV>
<DIV>  ndnGlobalRoutingHelper.AddOrigins("/myprefix", grid.GetNode(0,3));</DIV>
<DIV>  ndn::GlobalRoutingHelper::CalculateRoutes();</DIV></DIV>
<DIV><BR></DIV>
<DIV>Are there additional configurations that I may have missed?</DIV>
<DIV><BR></DIV>
<DIV>Thanks!</DIV></DIV>
<DIV class=gmail_extra><BR>
<DIV class=gmail_quote>On Fri, Mar 25, 2016 at 10:20 PM, Muhammad Hosain Abdollahi Sabet <SPAN dir=ltr><<A href="mailto:M.AbdollahiSabet@mail.sbu.ac.ir" target=_blank>M.AbdollahiSabet@mail.sbu.ac.ir</A>></SPAN> wrote:<BR>
<BLOCKQUOTE class=gmail_quote style="PADDING-LEFT: 1ex; BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex">
<DIV>
<DIV dir=ltr>
<DIV dir=ltr>Hi Hassan,</DIV>
<DIV dir=ltr> </DIV>
<DIV dir=ltr>I don't see why it's not possible. If Node50 receives interest on wifi face(WifiNetDevice), it can answer regardless of knowing who has requested on that face.</DIV>
<DIV dir=ltr> </DIV>
<DIV dir=ltr>Thanks,</DIV>
<DIV dir=ltr>Sabet<BR></DIV></DIV>
<DIV>
<DIV dir=ltr>
<DIV class=gmail_quote>
<DIV>
<DIV class=h5>---------- Forwarded message ----------<BR>From: <B class=gmail_sendername>Hassan Sinky</B> <SPAN dir=ltr><<A href="mailto:sinkyh@oregonstate.edu" target=_blank>sinkyh@oregonstate.edu</A>></SPAN><BR>Date: Sat, Mar 26, 2016 at 7:04 AM<BR>Subject: Re: [ndnSIM] Wifi and p2p links on a single node.<BR>To: <A href="mailto:ndnsim@lists.cs.ucla.edu" target=_blank>ndnsim@lists.cs.ucla.edu</A><BR><BR><BR>
<DIV dir=ltr>Actually I'd like to revise my previous message. This topology works fine, however, the only issue is if I add a WiFi net device to "Node50" for when "Node52" associates with "Node50" data should be delivered to "Node52" via WiFi. Is this possible?</DIV>
<DIV>
<DIV>
<DIV class=gmail_extra><BR>
<DIV class=gmail_quote>On Fri, Mar 25, 2016 at 6:15 PM, Hassan Sinky <SPAN dir=ltr><<A href="mailto:sinkyh@oregonstate.edu" target=_blank>sinkyh@oregonstate.edu</A>></SPAN> wrote:<BR>
<BLOCKQUOTE class=gmail_quote style="PADDING-LEFT: 1ex; BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex">
<DIV dir=ltr>Hello everyone, 
<DIV><BR></DIV>
<DIV>I have the following topology:<IMG alt="Inline image 2" src="" width=544 height=283></DIV>
<DIV>"Node51" and "Node52" are connected via WiFi. Whereas "Node51" and "Node50" are connected via a p2p link. "Node50" is the producer. For some reason when node "Node52" requests data from the producer "Node50" does not respond. However, if I make "Node51" the producer the content is delivered without issue. Does ndnsim not support this particular multihop scenario? If so, is there a workaround to this as it seems like a very basic and practical scenario for NDN. Any help would be greatly appreciated.</DIV></DIV></BLOCKQUOTE></DIV><BR></DIV></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><BR></DIV><BR></DIV></DIV></DIV></BLOCKQUOTE></DIV><BR></DIV></DIV></BODY></HTML>