pyre
pyre copied to clipboard
Pyre not working out of its sub-net
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
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