[ndnSIM] [MANET Simulation] The intermediate nodes do not forward INTEREST packets

赖俊宇 laijy at uestc.edu.cn
Tue Sep 11 22:57:44 PDT 2018

Hi Spyridon, and Prof. Zhang,

We just tried the V2V version of ndnSIM (version 2.3 based), it works fine for MANET applications, including the functionality of intermediate nodes forwarding interest packets. Previously I forgot to mention the ndnSIM tool we were using is Amust-ndnsim (version 2.1 based), where the broadcast-strategy was directly replaced by multicast-strategy. There are quite a few coding difference between the two versions. Since we want to testing file transfer and DASH video streaming, we have to use Amust-ndnsim (version 2.1 based). Just wonder, is there any MANET (or  V2V)patch for ndnsim version 2.1。

Thank you once again!


发件人:"赖俊宇" <laijy at uestc.edu.cn>
发送时间:2018-09-11 15:47:02 (星期二)
收件人: "spyridon (spyros) mastorakis" <mastorakis at cs.ucla.edu>
抄送: ndnsim at lists.cs.ucla.edu
主题: Re: [ndnSIM] [MANET Simulation] The intermediate nodes do not forward INTEREST packets

Hi Spyridon, and Prof. Zhang,

Thank you very much for the response!

What I meant in the previous message is that all the nodes in the MANET has only one face (wifi device), which should receive and also transmit the interest packets. We do install wifi ad hoc faces instead of p2p. the simulation results turned out the interest packets can jump only one hop from the consumer. It seems that the Interest forwarding process is  "onIncomingInterest( )[forwarder.cpp]->onContentStoreMiss( )[forwarder.cpp]->afterReceiveInterest( )[multicast-strategy.cpp]". In afterReceiveInterest( )[multicast-strategy.cpp], we comment out " if (pitEntry->canForwardTo(*outFace)) {this->sendInterest(pitEntry, outFace);}[multicast-strategy.cpp]", then the interest can be forwarded more than one hop.

P.S. It seems that the alternative method mentioned in your previous message is commenting out the "data packet" forwarding process, not interest. 

Thank you once again!


发件人:"Spyridon (Spyros) Mastorakis" <mastorakis at cs.ucla.edu>
发送时间:2018-09-11 12:08:40 (星期二)
收件人: "赖俊宇" <laijy at uestc.edu.cn>
抄送: ndnsim at lists.cs.ucla.edu
主题: Re: [ndnSIM] [MANET Simulation] The intermediate nodes do not forward INTEREST packets


just to make clear because it seems there is some misunderstanding: ndnSIM does support MANET simulations.

You just need to configure the NFD faces as ad hoc instead of point-to-point.

An alternative is to comment out these 3 lines of code:



Spyridon (Spyros) Mastorakis
Personal Website: http://cs.ucla.edu/~mastorakis/
Internet Research Laboratory
Computer Science Department

On Sep 10, 2018, at 12:35 AM, 赖俊宇 <laijy at uestc.edu.cn> wrote:

Dear All,

We are doing "NDN+MANET" simulations by using ndnSIM. It is noticed that ndnSIM dose not support the intermediate nodes to forward the interest packets towards the producer, and consequently the producer can not get the interest packets. We have checked the mail-list and found some other had also asked the similar questions. We just wonder wether there are some official solutions available now for reference?

Thank you in advance!


Dr. Jason Lai 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20180912/14d66eef/attachment.html>

More information about the ndnSIM mailing list