[ndnSIM] ndnSim is not working over Power line communication infrastructure

Alex Afanasyev alexander.afanasyev at UCLA.EDU
Fri Sep 12 16:14:20 PDT 2014


Not sure if my answer is too late.

There is a known issue with some NetDevices.  The simplest way to "fix" the problem is to apply the following patch to model/ndn-net-device-face.cc

========================================================================
diff --git a/model/ndn-net-device-face.cc b/model/ndn-net-device-face.cc
index eb2b357..a140aca 100644
--- a/model/ndn-net-device-face.cc
+++ b/model/ndn-net-device-face.cc
@@ -89,7 +89,7 @@ NetDeviceFace::RegisterProtocolHandlers (const InterestHandler &interestHandler,
   Face::RegisterProtocolHandlers (interestHandler, dataHandler);

   m_node->RegisterProtocolHandler (MakeCallback (&NetDeviceFace::ReceiveFromNetDevice, this),
-                                   L3Protocol::ETHERNET_FRAME_TYPE, m_netDevice, true/*promiscuous mode*/);
+                                   0, m_netDevice, false/*promiscuous mode*/);
 }

 void
========================================================================

The more complex way is to define custom NetDeviceFaceCallback.

---
Alex

On Jul 11, 2014, at 4:39 AM, Nour El Houda Ben Youssef <NourElHouda.BenYoussef at oxia-group.com> wrote:

> Dear all
>  
> I’ve been trying to use ndnSIm over a power line communication infrastructure
>  
> To do so I used a PLC module for NS3 (http://www.ece.ubc.ca/~faribaa/ns3_plc_software.htm)  that I’ve been using with TCP/IP
>  
> I wrote the joined script simulation which is working with TCP stack but when I try ndnSIM with the same infrastructure no data is received by the consumer
>  
> Please help
>  
> Nour El Houda Ben Youssef Koubaa
> Doctorante Mobidoc - OXIA/SAGE
> Mastère nouvelle génération des systèmes d'informations - FST
> Ingénieur Génie Logiciel - INSAT
>  
> <ndnPLC.cc>_______________________________________________
> 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/20140912/fe5359ed/attachment.html>


More information about the ndnSIM mailing list