Host with double NIC to run DDS publisher

3 posts / 0 new
Last post
Offline
Last seen: 5 months 2 weeks ago
Joined: 06/03/2013
Posts: 4
Host with double NIC to run DDS publisher

If a host with double NIC and both NIC configured to different subnet,Which nic would be chosen to publish data with rti dds? Does rti dds provide the interface to choose nic?

Gerardo Pardo's picture
Offline
Last seen: 3 weeks 22 hours ago
Joined: 06/02/2010
Posts: 594

Hi,

If you do not specify anything RTI DDS will receive on both interfaces and send each packet over the interface that the operating system selects for each destination IP address.

You can change this behavior by telling RTI Connext DDS which interfaces to use and not to use. See: http://community.rti.com/content/forum-topic/control-or-restrict-network-interfaces-nics-used-discovery-and-data-distribution or this one which essentially says the same http://community.rti.com/kb/how-do-i-restrict-rti-connext-use-only-subset-interfaces

Gerardo

Offline
Last seen: 6 years 5 months ago
Joined: 03/26/2014
Posts: 1

Hi Gerardo,

I read your link but I don't know where to put the XML code of the method 1. In a separate or in an existing XML file? In which directory to put it?

PS : I am running the Shapes Demo with RTI Connext 5.1.0 on two machines and the one is connected to another networks that I would not use. 

Thank you in advance for your help.