Jump to content
OpenSplice DDS Forum

NetworkInterfaceAddress name vs IP Address

Recommended Posts

Trying to set the selected network interface so that multicast works correctly on a multi-homed machine. According to the documentation for "NetworkInterfaceAddress":

"If this procedure doesn’t select the desired interface automatically, it can be overridden by setting General/NetworkInterfaceAddress to either the name of the interface, the IP address of the host on the desired interface, or the network portion of the IP address of the host on the desired interface."

I first tried setting the interface name here, e.g. "eth4" (this is on Windows), but found this did not work, samples were not received, even by subscribers on the same machine. When I changed this to the specific IP address of this interface (192.168.x.y), it worked.

Is there something wrong here - should it work with the interface name - which would be slightly easier for deployment.


Share this post

Link to post
Share on other sites

Hi Davide,

You can indeed use the 'interface name' as an alternative to the explicit IP-address.

I suspect you might have chosen a wrong name though (as 'eth4' is perhaps not how its called in windows).

On my windows machine its for instance called: "Ethernet adapter Ethernet 2" (as shown by the "ipconfig /all" command).

Good luck,


Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...