[ndnSIM] Fwd: ndnSIM didn't receive packet

qhsong ndn at sqh.me
Sat May 28 11:31:35 PDT 2016


Hi Anil,
Finally I change the way ,all Nodes are put in topo.txt and then I let
program read it. It works.
But I still not find the problem.
Thanks for your help.

Best Regards,
qhsong

2016-05-28 20:50 GMT+08:00 Anil Jangam <anilj.mailing at gmail.com>:

> Check if your topology configuration file is setting any P2P link
> properties, which might be causing delay or timeouts. Mask all link level
> properties for now and retest.
> On May 23, 2016 11:05 PM, "qhsong" <ndn at sqh.me> wrote:
>
> Hi Sabet,
> I can sure FIBs seem no problem. Because I change node generator method,
> it works.I did't use consume app, just use default ndn-producer and
> ndn-consumer.
>
> Thanks,
> qhsong
>
> 2016-05-24 13:35 GMT+08:00 Muhammad Hosain Abdollahi Sabet <
> mhasabet at gmail.com>:
>
>> qhsong,
>>
>> I don't want to interrupt. But I had a similar problem recently.
>> Interests reach a node, but OnInterest method is not being called, right?
>> Are you using a cutom app? Are sure you have FIBs populated correctly?
>>
>> Thanks,
>> Sabet
>>
>> خندان باشید
>> با تشکر
>>
>> On Tue, May 24, 2016 at 9:50 AM, qhsong <ndn at sqh.me> wrote:
>>
>>>
>>> Hi JunXiao,
>>>
>>> First I TopologyReader like this:
>>>
>>>     AnnotatedTopologyReader topologyReader("", 25);
>>>     topologyReader.SetFileName("scratch/topo.txt");
>>>     topologyReader.Read();
>>>
>>> Then ,create some Nodes by this:
>>>    NodeContainer consumerNodes;
>>>    consumerNodes.Create(3);
>>>
>>> I connected then with p2pHelper:
>>>
>>> for(int i=0;i<3;i++) {
>>>       PointToPointHelper p2p;
>>>       p2p.Install(Names::Find<Node>("Node_in_Topo.txt"),
>>> consumerNodes.get(i));
>>> }
>>>
>>> Install ndnHelper one by one.
>>> for(int i=0;i<3;i++) {
>>>     ndn::helper ndnHelper;
>>>     //set content store size in different value
>>>     ndnHepler.Install(consumerNodes);
>>> }
>>>
>>> then Install ndnHelper in topo.txt node. Install consumer and producer
>>> in other node.
>>>
>>> That's what I do for ndnSIM.
>>> I also note that in --vis mode, the node I use NodeContainer.Create is
>>> gray, and other nodes is red.
>>>
>>> Is this wrong?After I switch all node generator by topo.txt, It works.
>>>
>>> Thanks,
>>> qhsong
>>>
>>>
>>> 2016-05-24 11:39 GMT+08:00 Junxiao Shi <shijunxiao at email.arizona.edu>:
>>>
>>>> Hi qhsong
>>>>
>>>> Can you post a code snippet that shows what you are doing, and indicate
>>>> what does not work?
>>>>
>>>> Yours, Junxiao
>>>>
>>>> On Mon, May 23, 2016 at 8:36 PM, qhsong <ndn at sqh.me> wrote:
>>>>
>>>>> Hi,
>>>>> Thanks for your help.  I first use AnnotatedTopologyReader and then
>>>>> use NodeContainer.Create() some node, I try to use p2p connection to
>>>>> connection them ,then use ndnHelper.Install().
>>>>> Then I change all node generator by AnnotatedTopologyReader, It works.
>>>>> Maybe AnnotatedTopologyReader not compatible with NodeContainer.
>>>>> Is this a bug?
>>>>>
>>>>> Thanks for your help.
>>>>> qhsong
>>>>>
>>>>
>>>
>>>
>>> _______________________________________________
>>> ndnSIM mailing list
>>> ndnSIM at lists.cs.ucla.edu
>>> http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim
>>>
>>>
>>
>
> _______________________________________________
> ndnSIM mailing list
> ndnSIM at lists.cs.ucla.edu
> http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20160529/65ee392b/attachment.html>


More information about the ndnSIM mailing list