[ndnSIM] How to fail a node

Spyridon (Spyros) Mastorakis mastorakis at CS.UCLA.EDU
Fri Jan 20 09:03:50 PST 2017


Hi,

my guess is that this is related to the forwarding strategy. Can you try to use the load balancing strategy?

I would say that you can simulate a node failure by stoping the application running on the node for some time and then start it again (or use the LinkControlHelper, like you did, if it is more convenient to control the link between 2 nodes).

Thanks,

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

> On Jan 20, 2017, at 3:21 AM, Junior DONGO <junior.dongo at lacl.fr> wrote:
> 
> Dear ndnSim users,
> 
> Is there a way to simulate a node failure during simulation? Something like "kill the node" or deactivate the node.
> 
> Also using "ndn::LinkControlHelper::FailLink", I observe something strange.
> 
> In my scenario, I have something like this:
> 
> node1:consumer
> 
> node2:producer
> 
> node4:producer
> 
> node3: intermediate node
> 
> 
> node1-----------node2
> 
> |                        |
> 
> |                        |
> 
> |                        |
> 
> node3---------node4
> 
> I use "ndn::LinkControlHelper::FailLink" to fail the link between node1 and node2, the interests from node1 timeout, which means that node1 tries to send the interests to node2 and not to node4 through node3.
> 
> Any idea about this behavior? Is it related to the strategy(best route is used)?
> 
> Thanks,
> 
> Junior

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


More information about the ndnSIM mailing list