How to find out between different subnets

3 posts / 0 new
Last post
Offline
Last seen: 6 years 7 months ago
Joined: 02/06/2018
Posts: 3
How to find out between different subnets

When the publisher and subscriber are in different subnets, how to find each other and communicate with each other.Is it necessary to set the specified IP address or set the multicast address. How to set up?

Thanks!!!

irene's picture
Offline
Last seen: 2 years 11 months ago
Joined: 11/08/2017
Posts: 15

Hi Devin,

Without knowing the configuration of your network, I can only suggest that you set up the initial_peers list of each publisher and subscriber with the specific IP address of the nodes in the other subnet.

You may find this chapter in the Core Libraries User's Manual useful: https://community.rti.com/static/documentation/connext-dds/5.3.1/doc/manuals/connext_dds/html_files/RTI_ConnextDDS_CoreLibraries_UsersManual/index.htm#UsersManual/ConfigPeersListUsed_inDiscov.htm?Highlight=Initial%20peers

And, also, this article where you can see how to configure the initial peers list: https://community.rti.com/kb/how-do-i-set-initial-peers-and-multicast-receive-address-programmatically-or-xml

I hope this helps,

Irene

 

Offline
Last seen: 5 years 1 month ago
Joined: 06/21/2018
Posts: 5

Hi Irene,

      This post is helpful for me to get started for configuring initial_peers list of each publisher and subscriber.

But, I am still trying to figure out

1> how to assign the static port number for each publisher and subscriber for multicast with the specifc domain_id assign for each publisher and subscriber.

2> Why the subscriber doesn't receive the data from the restarted publisher with the same domain id. The publisher and subscriber are located on the different nodes.

If you could guide me to the right direction, I would really appreciate it.

Thanks,
Jon