How to connect a NS3 node to my local blockchain?

0 votes
I have a local blockchain on my system where all the nodes are containers and these containers are created on the same system. Now, I want to connect every node with each other in NS3 simulation. How to do this?
Jul 25, 2018 in Blockchain by slayer
• 29,240 points
341 views

1 answer to this question.

0 votes
To connect all your nodes with all your other nodes you have to first setup virtual networks using Linux Containers.

You can learn how to do that here: https://www.nsnam.org/wiki/HOWTO_Use_Linux_Containers_to_set_up_virtual_networks

You can also refer and use the source code provided here to implement it:

https://github.com/buzz66boy/ns3-lxc/releases
answered Jul 25, 2018 by digger
• 26,600 points

Related Questions In Blockchain

0 votes
1 answer

In a non-cryptocurrency implementation of Blockchain, how to successfully mine a node?

Difficulty is a property of the blockchain, ...READ MORE

answered Jul 13, 2018 in Blockchain by Perry
• 17,090 points
54 views
+1 vote
1 answer

How blockchain node behaves upon receiving a new block when previous block wasn't acquired?

A node will ask for block number ...READ MORE

answered Mar 26, 2018 in Blockchain by Perry
• 17,090 points
63 views
0 votes
1 answer

How to make sure transactions take no fee in a private Ethereum blockchain?

In a private ethereum network you have ...READ MORE

answered Mar 26, 2018 in Blockchain by Christine
• 15,810 points

edited Mar 26, 2018 by Christine 145 views
0 votes
1 answer
0 votes
1 answer

Invalid Batch or signature in Savtooth

This will solve your problem import org.apache.commons.codec.binary.Hex; Transaction txn ...READ MORE

answered Aug 1, 2018 in Blockchain by digger
• 26,600 points
96 views
+1 vote
1 answer
0 votes
1 answer

How to build a non-payment application using Ethereum blockchain?

I hope the following link is helpful ...READ MORE

answered Jul 17, 2018 in Blockchain by digger
• 26,600 points
48 views
0 votes
1 answer

How to make a class that fits Blockchain.info Json?

Hey, I found a simple solution for ...READ MORE

answered Sep 18, 2018 in Blockchain by digger
• 26,600 points
726 views