[zeromq-dev] multicast chat working only with DHCP networks

Arnaud Loonstra arnaud at sphaero.org
Sun May 11 23:28:18 CEST 2014


On 05/11/2014 09:29 PM, Andrew Simpson wrote:
> by 0MQ multicast, I meant that I am using zeroMQ to make a chat program
> that is using multicast addresses to send out to other nodes on a local
> network.  this is a fairly simple application.  When it attempts to bind
> to the multicast address, it gives the aforementioned error, unless I'm
> on a proper network.
>
> I'll see if I can make a small test version of this program.  At the
> very least I can probably post up the relevant parts of the code.
> Thanks!

I don't know if I understand your situation correctly but you need an IP 
setup in order to do IP (including multicast). If you say it works with 
DHCP how is your setup without DHCP? Does your NIC have an ipaddress at 
all? The routing table you showed is from with DCHP right?

If you do use a manual setup like 192.168.5.x does it work if you add a 
route to it? Like 'route add -net 0.0.0.0 dev eth0' or something like that?

Rg,

Arnaud

-- 
w: http://www.sphaero.org
t: http://twitter.com/sphaero
g: http://github.com/sphaero
i: freenode: sphaero_z25



More information about the zeromq-dev mailing list