pyre icon indicating copy to clipboard operation
pyre copied to clipboard

Pyre not working out of its sub-net

Open emartirequena opened this issue 5 years ago • 1 comments

Hi, we are trying to use Pyre in our company. And we have found a very strange issue with the Chat example given in the README.md file of your project. In our company, we have several sub-nets (192.168.7.x, 192.168.1.x, etc..), and we have found that Pyre only connects nodes on each of the sub-nets, but not between them. For example, the nodes in the net 192.168.7.x can connect and talk between them, and the nodes in 192.168.1.x, can see each other, but no node can see the messages of the other net. Is this a problem with the example? How can this issue be avoided?

Thanks

emartirequena avatar Aug 26 '20 15:08 emartirequena

Correct me, if i'm wrong, but node discovery is based on a udp broadcast method, which is restrained on a local subnet only.

A Zyre node broadcasts UDP beacons, and connects to peers that it finds. From https://github.com/zeromq/zyre#zyre---api-wrapping-one-zyre-node

geronimo-iia avatar Oct 03 '20 22:10 geronimo-iia