<div dir="ltr"><div><div><div>Dear Sabet,<br></div>Can you please draw the scenario here you tried with? And, can you please try this scenario with only one prefix name "/prefix" for all producers and the consumer requesting for the only prefix. <br><br><br> *    ( ) ----- ( ) ----- ( ) ----- (c) ------ ( ) ----- ( ) ----- ( )<br> *     |         |         |         |          |         |         |<br> *     |         |         |         |          |         |         |<br> *    ( ) ----- ( ) ----- ( ) ----- ( ) ------ ( ) ----- ( ) ----- ( )<br> *     |         |         |         |          |         |         |<br> *     |         |         |         |          |         |         |<br> *    ( ) ----- ( ) ----- ( ) ----- ( ) ------ ( ) ----- ( ) ----- ( )<br> *     |         |         |         |          |         |         |<br> *     |         |         |         |          |         |         |<br> *    ( ) ----- ( ) ----- ( ) ----- (p) ------ ( ) ----- ( ) ----- (p)<br> *     |         |         |         |          |         |         |<br> *     |         |         |         |          |         |         |<br> *    ( ) ----- ( ) ----- ( ) ----- ( ) ------ ( ) ----- ( ) ----- ( )<br> *     |         |         |         |          |         |         |<br> *     |         |         |         |          |         |         |<br> *    ( ) ----- ( ) ----- ( ) ----- ( ) ------ ( ) ----- ( ) ----- ( )<br> *     |         |         |         |          |         |         |<br> *     |         |         |         |          |         |         |<br> *    ( ) ----- ( ) ----- ( ) ----- (p) ------ ( ) ----- ( ) ----- (p)<br><br><br></div>Thanks<br></div>Asif<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Apr 4, 2016 at 1:10 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="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><u></u>






<div>


<p><font size="2">Asif,<br>
Junxiao,<br>
<br>
Having wondered about the situation you explained, I tried to simulate a similar scenario. Produce node Pnode(responsible for /p prefix) is connected to other nodes than consumer node, directly. I tried with both default route(/) and GlobalRoutingHelper in place, separately. In both cases, forwarding strategy for all nodes was set to "multicast". But Pnode does not forward interests with /p in their name. For being sure, I've created another produce Onode responsible for /o prefix. My topology makes interest for prefix /o pass through Pnode. In Onode PIT I can see entries for /o. But no entry for /p is created because Onode does not receive interests for prefix /p form Pnode.<br>
Could you elaborate a bit more on the situation you're referring to?<span class=""><br>
<br>
Thanks,<br>
Sabet<br>
<br>
---------- Forwarded message ----------<br></span><span class="">
From: Shahid Md. Asif Iqbal <<a href="mailto:asifcsep@gmail.com" target="_blank">asifcsep@gmail.com</a>><br>
Date: Mon, Apr 4, 2016 at 10:30 AM<br>
Subject: Re: [ndnSIM] stop producer from forwarding interests<br>
To: Junxiao Shi <<a href="mailto:shijunxiao@email.arizona.edu" target="_blank">shijunxiao@email.arizona.edu</a>><br>
Cc: ndnsim <<a href="mailto:ndnsim@lists.cs.ucla.edu" target="_blank">ndnsim@lists.cs.ucla.edu</a>><br>
<br>
<br>
Thanks Junxiao,<br>
You got my view point. Can you please specify which file(s) I need to work<br>
out with.<br>
<br>
Thanks,<br>
Asif<br>
<br>
On Sun, Apr 3, 2016 at 11:07 PM, Junxiao Shi <<a href="mailto:shijunxiao@email.arizona.edu" target="_blank">shijunxiao@email.arizona.edu</a>><br>
wrote:<br>
<br>
> Hi Asif<br>
><br>
> As I understand, your scenario is:<br>
><br></span>
>    - The network has multiple nodes.<br>
>    - A producer application is running on the node P, and it serves<span class=""><br>
>    contents under namespace ndn:/P.<br></span>
>    - Node P is using the multicast strategy.<br>
>    - Node P has a default route ndn:/ toward other peer nodes such as Q<br>
>    and R.<br>
>    - You are observing that, when an Interest starting with ndn:/P is<span class=""><br>
>    received by node P, it's not only forwarded to the producer application,<br>
>    but also forwarded to Q and R.<br></span>
>    - You want the Interest to be forwarded only to the producer<span class=""><br>
>    application, but not to other nodes.<br>
><br>
> The behavior occurs because the FIB entry ndn:/P contains not only the<br>
> producer application but also nodes Q and R. Although there isn't a route<br>
> ndn:/P toward Q or R, these two nexthops appear in the FIB entry due to<br>
> route inheritance (see NFD Developer Guide, "RIB Management - FIB Updater -<br>
> Route Inheritance Flags" section).<br>
> To achieve the desired behavior, the FIB entry ndn:/P should contain only<br>
> the producer application. One way to do that is setting the CAPTURE flag in<br>
> the prefix registration command sent from the producer application.<br>
><br>
> Yours, Junxiao<br>
><br>
> On Sun, Apr 3, 2016 at 12:32 AM, Shahid Md. Asif Iqbal <<a href="mailto:asifcsep@gmail.com" target="_blank">asifcsep@gmail.com</a><br>
> > wrote:<br>
><br>
>> I was trying to mean that apart from answering an interest with data<br>
>> packet a producer forwards the same interest to other nodes connected to<br>
>> it. As, I found this while dealing with the multicast strategy. And, I want<br>
>> to stop the producer from doing that forwarding or broadcasting.<br>
>><br>
>> On Sat, Apr 2, 2016 at 5:13 AM, Shahid Md. Asif Iqbal <<a href="mailto:asifcsep@gmail.com" target="_blank">asifcsep@gmail.com</a><br>
> > wrote:<br>
><br>
>> How can I stop a producer from forwarding an interest requesting the<br>
>> content owned by itself? As, I found that producer do not stop interests<br>
>> while I was using some ideas with multicast strategy.<br>
>><br>
><br>
><br>
<br></span><span class="">
_______________________________________________<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" target="_blank">http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim</a><br>
<br>
<br>
<br>
<br>
</span></font>
</p>

</div>
</blockquote></div><br></div>