[ndnSIM] Fwd: Forwarding strategy for wireless network

Alex Afanasyev alexander.afanasyev at ucla.edu
Sun Jul 14 15:54:57 PDT 2013

Hi Milad,

Sorry for my delayed reply.  Currently, there are no strategies that implement smart wireless-aware forwarding are implemented in ndnSIM.  I think I already pointed you to an extension that does some wireless-based forwarding in vehicular environments (https://github.com/cawka/ndnSIM-nom-rapid-car2car), but it is not exactly what are you looking for.

As for the implementation, you may want to start with creating a new custom strategy class that is derived from ndn::ForwardingStrategy and overload a couple of methods, including SatisfyPendingInterest, CanSendOutInterest, DoPropagateInterest and may be some others.  The key point is that you should enable "forwarding" to the incoming face (since in wifi scenarios this is an intended behavior).  Also, you should be careful to terminate such "relaying" at some point.

As for multipath routing.  It is NDN feature (nonce in interests effectively prevent any looping, so it is supported by ndnSIM). Another question is how exactly this multipath is implemented in the forwarding strategy.


On Jul 14, 2013, at 1:28 PM, Milad Mahdian <mahdian.m at husky.neu.edu> wrote:

> Hi Alex,
> Assuming one node is trying to send a packet to another node over a wireless channel, I was wondering how I can simulate this communication in ndnSIM. in another word, as in ndnSIM nodes are communicating through interfaces, how one can simulate a wireless communication over a wireless channel.
> Regards,
> Milad Mahdian
> ---------- Forwarded message ----------
> From: Milad Mahdian <mahdian.m at husky.neu.edu>
> Date: Sun, Jul 14, 2013 at 12:33 AM
> Subject: Forwarding strategy for wireless network
> To: ndnsim at lists.cs.ucla.edu
> Cc: Edmund Yeh <eyeh at ece.neu.edu>, melis yetkinler <melisyetkinler at gmail.com>
> Hi Alex,
> We are working on a wireless scenario in which nodes are chosen randomly as a relay. I was wondering if there is such a forwarding strategy that relays are chosen randomly. Also, is there any support for multipath routing in ndnSIM?
> Regards,
> Milad 
> _______________________________________________
> 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/20130714/0b525d03/attachment.html>

More information about the ndnSIM mailing list