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

Andrew Simpson simpsonar77 at yahoo.com
Sun May 11 17:28:25 CEST 2014


I am able to get it working without DHCP.  If I disable DHCP on the comptuer and set the IP address manually to the same IP as I'd get from DHCP and then set the nameserver in /etc/resolv.conf the same way that DHCP assigned (in my case:  nameserver 192.168.2.1) then the chat program works.  So I'm assuming that I need a nameserver on the network for multicast to work?  (note:  my knowledge of networking is a bit limited)

On , Andrew Simpson <simpsonar77 at yahoo.com> wrote:
 
The Error that I get when not on DHCP:
>                                                                                 
>>>>TRACE     = org.zeromq.ZMQ$Socket.bind(Native
 Method)                                                                                       
>org.zeromq.ZMQException: Invalid
 argument(0x16)                                                                                                
>        at org.zeromq.ZMQ$Socket.bind(Native Method) 
>
>
>On Sunday, May 11, 2014 2:52 PM, Andrew Simpson <simpsonar77 at yahoo.com> wrote:
> 
>#ip route
>>172.16.18.0/24 dev vmnet1  proto kernel  scope link  src 172.16.18.1
>>192.168.159.0/24 dev vmnet8  proto kernel  scope link  src 192.168.159.1
>>192.168.122.0/24 dev virbr0  proto kernel  scope link  src 192.168.122.1
>>224.0.0.0/4 dev eth0  proto static  scope link
>>default via 172.20.20.1 dev eth0  proto static
>>
>>
>>
>>
>>On Sunday, May 11, 2014 2:45 PM, Arnaud Loonstra <arnaud at sphaero.org> wrote:
>> 
>>On 05/11/2014 04:26 PM, Andrew Simpson wrote:
>>>> I have a 0MQ multicast chat program that only appears to work
 when the
>>>> computer is on a network with a DHCP server.  When I connect into a
>>>> simple, flat network (say 192.168.5.x) with 2 computers, chat does not
>>>> work.  Adding them back onto the network running DHCP, and getting their
>>>> IPs from DHCP, everything works fine.
>>>>
>>>> I'm on RHEL.6.  I have disabled iptables.  Any suggestions as to what's
>>>> different when using DHCP versus non-DHCP?
>>>>
>>>> Thanks!
>>>
>>>A routing table?
>>>
>>>-- 
>>>w: http://www.sphaero.org
>>>t: http://twitter.com/sphaero
>>>
>>>g: http://github.com/sphaero
>>>i: freenode: sphaero_z25
>>>_______________________________________________
>>>zeromq-dev mailing list
>>>zeromq-dev at lists.zeromq.org
>>>http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>>>
>>>
>>>
>>>
>>
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20140511/180fd4a4/attachment.htm>


More information about the zeromq-dev mailing list