How to check which network interface is used by the DDS implementation of ROS2

asked 2022-05-30 09:15:46 -0500

mamado gravatar image

I have two machines running different ROS2 distros: 1- ROS2 Foxy with FastDDS 2- ROS2 Galactic with CycloneDDS

As far as I know, DDS uses a certain interface(e.g eth0) for communication with other machines in the same subnet.

How can I check which interface is used by default? And if I have multiple interfaces, how can I choose a specific interface for DDS communication and discovery for both FastDDS and CycloneDDS?

edit retag flag offensive close merge delete