[zeromq-dev] ZBeacon multiple interface support

Pieter Hintjens ph at imatix.com
Sat Apr 11 14:03:28 CEST 2015


On Fri, Apr 10, 2015 at 10:21 AM, Arnaud Loonstra <arnaud at sphaero.org> wrote:

> I'm not sure if I get what you mean but I think there exist many
> networking solutions which support multiple interfaces.

It's fairly simply to listen on multiple interfaces. That's not the
hard thing. You can open multiple sockets and read each one, or run
multiple instances of the beacon actor. However when you have two
networks and you want to run Zyre then you have two groups of nodes
that don't see each other unless every single machine is listening on
both interfaces.

E.g. A, B, C, where A and C are on different networks and B is on
both. A and C can't see each other, whereas B can see A and C. So B
has to forward messages between A and C.

If you solve this issue then you can force interface selection
manually as we do now ZSYS_INTERFACE.

-Pieter



More information about the zeromq-dev mailing list