Nodes from private network don't gossip

by Bogdan   Last Updated June 12, 2019 06:28 AM

I have three Ethereum nodes created with Geth. Two of them are on my machine (MacOS) and the third one is running on a virtual machine with Ubuntu. Because I used the same genesis.json and also the same networkid I can connect them, but the problem is that they don't gossip about already connected nodes.

Let's consider A, B and C being the nodes:

  1. I start node A.
  2. I start node B with the argument --bootnodes "enode of A" and after a while they are connected (they see each other in admin.peers).
  3. I start C without bootnodes. Manually, I add B as a peer using admin.addPeer(). At this point B and C are connected BUT B doesn't gossip with C about A.

At the end of the scenario A knows about B, C knows about B and B knows about both A and C.

On this page: they say that Ethereum nodes gossip about each other. Am I doing something wrong?

Tags : nodes bootnodes

Related Questions

MetaMask and Ethereum Private Chain (for test)

Updated October 10, 2017 19:28 PM

problem about bootnode

Updated February 07, 2018 11:28 AM

How do bootnodes work in detail?

Updated November 30, 2017 01:28 AM