[zeromq-dev] Trying to get a publish - subscribe test program working with multicast.
Thomas Loockx
thomas.loockx at otoy.com
Fri Oct 19 04:39:00 CEST 2012
Ok, I figured it out.
It looks like Centos 5.5 is blocking multicast traffic. Tweaking
iptables made my app work.
thanks,
Thomas
On Fri, Oct 19, 2012 at 12:07 PM, Thomas Loockx <thomas.loockx at otoy.com> wrote:
> I've enabled debugging in openpgm, but it outputs not much really:
>
> arg: client
> Running as client
> Minor: OpenPGM 5.1.118 (1369) 2012-10-18 17:56:46 Linux x86_64
> Minor: Detected 4 available 4 online 4 configured CPUs.
> Minor: Using TSC timer.
> Minor: TSC frequency set to 1200 MHz
> Trace: Opening UDP encapsulated sockets.
> Trace: Set socket sharing.
> Trace: Request socket packet-info.
> Trace: Assuming IP header size of 20 bytes
> Trace: Assuming UDP header size of 8 bytes
> Trace: Binding receive socket to INADDR_ANY
> Trace: Binding send socket to interface index 2
> Trace: Join multicast group 239.0.0.1 on interface index 2
> Trace: Multicast send interface set to 10.0.0.200 index 2
>
> I guess multicast is working fine on my network because I actually see
> all the multicast packets appearing on my network.
>
> thanks,
> Thomas
>
> On Fri, Oct 19, 2012 at 11:20 AM, Steven McCoy <steven.mccoy at miru.hk> wrote:
>> On 18 October 2012 18:13, Thomas Loockx <thomas.loockx at otoy.com> wrote:
>>>
>>> Further investigation shows that on the server side IGMP joins are
>>> received to join the multicast group. And I can see the multicast
>>> traffic on the client side as well. It seems that the multicast
>>> traffic is not "picked up" by zeromq.
>>
>>
>> For diagnosis first try iperf or netperf so see if multicast is working
>> well. If that's good then try building OpenPGM with Scons and using the
>> bundled tools for testing. There are some changes upstream to fix some
>> unusual characteristics of some platforms.
>>
>> You can try setting PGM_LOG_LEVEL_DEBUG for additional tracing but may
>> require a debug build for productive notes.
>>
>> Chalk it on a todo list for a multicast debug tool.
>>
>> --
>> Steve-o
>>
>> _______________________________________________
>> zeromq-dev mailing list
>> zeromq-dev at lists.zeromq.org
>> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>>
More information about the zeromq-dev
mailing list