Multicast on RTI ME 2.2.3

3 posts / 0 new
Last post
Offline
Last seen: 9 years 12 months ago
Joined: 08/28/2013
Posts: 66
Multicast on RTI ME 2.2.3

Hi,

I have a question regarding multicast.
How can i tell entities to ack/nack on multicast address ?

I see with wireshark that communication is through 239.255.0.1 except the ACK/NACK

192.168.1.183 239.255.0.1 RTPS 302 INFO_TS, DATA(p)
192.168.1.183 239.255.0.1 RTPS 94 HEARTBEAT
192.168.1.1 192.168.1.183 RTPS 110 INFO_DST, ACKNACK
192.168.1.183 239.255.0.1 RTPS 178 INFO_TS, DATA, HEARTBEAT
192.168.1.1 192.168.1.183 RTPS 106 INFO_DST, ACKNACK

For info:
PUB on 192.168.1.183
SUB on 192.168.1.1

QoS Participant:
*DDS_StringSeq_get_reference(&dp_qos.discovery.enabled_transports, 0) =DDS_String_dup("_udp://239.255.0.1");
*DDS_StringSeq_get_reference(&dp_qos.user_traffic.enabled_transports, 0) =DDS_String_dup("_udp://239.255.0.1");
*DDS_StringSeq_get_reference(&dp_qos.discovery.initial_peers,0) = DDS_String_dup("239.255.0.1");

 

QoS UDP:
udp_property->multicast_interface = REDA_String_dup(
"239.255.0.1");

QoS DataReader:
*REDA_StringSeq_get_reference(&dr_qos.transport.enabled_transports,0) =
"239.255.0.1";

QoS DataWriter:
*REDA_StringSeq_get_reference(&dw_qos.transport.enabled_transports,0) ="239.255.0.1";

So i specified where i could that i want "only" multicast.

Is there something i missing concerning ACK/NACK and Heartbeats, these messages are sent in unicast_metatraffic:
Default port mapping: domainId=39, participantIdx=38, nature=UNICAST_METATRAFFIC

Regards,

Rodolf

Offline
Last seen: 9 years 12 months ago
Joined: 08/28/2013
Posts: 66

In fact, it was a wrong setting on PUB side where i changed
multicast_interface="lo0"
into
multicast_interface="239.255.0.1"

Now with wireshark i see only 239.255.0.1 as destination so great.

But now i got again the bug at delete of participant when multicast thread is trying to destroy itself by sending a packet.
http://community.rti.com/forum-topic/vxworks-69-rti-me-223-issue

I tried to add route but process is stucked at

[7.816666634] TID[2152343216]UDP: unbind_external deleted record: 17150/efff0001.0.0.0 ==> dst 0/0.4.deadc0de.0

[7.816666634] TID[2152343216]port 1/17150/efff0001 unbound, 0 left

[7.883333298] TID[2152343216]UDP: Release address 1/17150/efff0001
[7.883333298] TID[2152343216]UDP: delete entry: 1/17150/efff0001
[7.883333298] TID[2152343216]UDP: wakeup receive thread 9
[7.883333298] TID[2152343216]sent 7 bytes to 42fe/efff0001
[7.883333298] TID[2152343216]sent 7 bytes to 42fe/efff0001
[7.899999965] TID[2152343216]sent 7 bytes to 42fe/efff0001 .....

[vxWorks *]# route show

INET route table - vr: 0, table: 254
Destination                     Gateway                       Flags    Use   If    Metric
localhost                       localhost                     UH       0     lo0    0
192.168.1.0/24                  targetname                    UC       0     prumac0 0
targetname                      targetname                    UH       0     lo0    0
239.255.0.1:239.255.0.1         localhost                     UGS      0     lo0    0
239.255.0.1:239.255.0.1         targetname                    UGS      0     lo0    0
242.0.0.0:242.0.0.0             localhost                     UGS      0     lo0    0
242.0.0.0:242.0.0.0             targetname                    UGS      0     lo0    0



Offline
Last seen: 9 years 12 months ago
Joined: 08/28/2013
Posts: 66

Here some logs:
CREATION

[0.83333330] TID[2152344752][UDP] bind port: 1/17150/efff0001
[0.333333321] TID[2152344752][UDP] set multi-cast port reuse: 1/17150/efff0001
[0.349999987] TID[2152344752][UDP] join multi-cast group : 1/17150/efff0001
[0.349999987] TID[2152344752][UDP] set socket buffer size: 1/17150/efff0001 = 8192 bytes
[0.366666653] TID[2152344752]UDP: created port entry: 1/17150/efff0001
[0.366666653] TID[2152344752]UDP: created port thread: 1/17150/efff0001
[0.383333319] TID[2152344752][UDP] bind port: 1/17151/efff0001
[0.383333319] TID[2152344752][UDP] set multi-cast port reuse: 1/17151/efff0001
[0.383333319] TID[2152344752][UDP] join multi-cast group : 1/17151/efff0001
[0.399999985] TID[2152344752][UDP] set socket buffer size: 1/17151/efff0001 = 8192 bytes
[0.399999985] TID[2152344752]UDP: created port entry: 1/17151/efff0001
[0.399999985] TID[2152344752]UDP: created port thread: 1/17151/efff0001
[0.466666649] TID[2152344752]RTPS bind: fwd: src: 0/0.0.0.c2000100 ==> dst 0/0.8888885.deadc0de.c7000100
[0.466666649] TID[2152344752]UDP: bind_external: 17150/efff0001.0.0.0 ==> dst 0/0.8888885.deadc0de.0
[0.466666649] TID[2152344752]UDP: bind_external succeeded: 17150/efff0001.0.0.0 ==> dst 0/0.8888885.deadc0de.0 (count = 1)

DESTRUCTION

[113.366666653] TID[2152344752]UDP: unbind_external: 17150/efff0001.0.0.0 ==> dst 0/0.8888885.deadc0de.0
[113.366666653] TID[2152344752]UDP: unbind_external: 17150/efff0001.0.0.0 ==> dst 0/0.8888885.deadc0de.0 ref_count = 0
[113.366666653] TID[2152344752]UDP: unbind_external deleted record: 17150/efff0001.0.0.0 ==> dst 0/0.8888885.deadc0de.0
[113.366666653] TID[2152344752]port 1/17150/efff0001 unbound, 0 left
[113.433333317] TID[2152344752]UDP: Release address 1/17150/efff0001
[113.433333317] TID[2152344752]UDP: delete entry: 1/17150/efff0001
[113.433333317] TID[2152344752]UDP: wakeup receive thread 9
[113.433333317] TID[2152344752]sent 7 bytes to 42fe/efff0001
[113.449999982] TID[2152344752]sent 7 bytes to 42fe/efff0001
[113.449999982] TID[2152344752]sent 7 bytes to 42fe/efff0001
[113.449999982] TID[2152344752]sent 7 bytes to 42fe/efff0001
[113.449999982] TID[2152344752]sent 7 bytes to 42fe/efff0001
[113.449999982] TID[2152344752]sent 7 bytes to 42fe/efff0001
[113.449999982] TID[2152344752]sent 7 bytes to 42fe/efff0001
[113.449999982] TID[2152344752]sent 7 bytes to 42fe/efff0001
[113.449999982] TID[2152344752]sent 7 bytes to 42fe/efff0001
[113.449999982] TID[2152344752]sent 7 bytes to 42fe/efff0001
[113.466666649] TID[2152344752]sent 7 bytes to 42fe/efff0001
[113.466666649] TID[2152344752]sent 7 bytes to 42fe/efff0001
[113.466666649] TID[2152344752]sent 7 bytes to 42fe/efff0001
[113.483333315] TID[2152344752]sent 7 bytes to 42fe/efff0001
[113.483333315] TID[2152344752]sent 7 bytes to 42fe/efff0001
[113.499999981] TID[2152344752]sent 7 bytes to 42fe/efff0001
[113.499999981] TID[2152344752]sent 7 bytes to 42fe/efff0001
[113.499999981] TID[2152344752]sent 7 bytes to 42fe/efff0001
[113.516666646] TID[2152344752]sent 7 bytes to 42fe/efff0001
[113.516666646] TID[2152344752]sent 7 bytes to 42fe/efff0001

Solution http://community.rti.com/forum-topic/vxworks-69-rti-me-223-issue seems not ok as Heartbeats and ACK/NACK are not sent in multicast.

Regards,

Rodolf