ROS 2 Connectivity Troubleshooting
R2026bResolve ROS 2 discovery and communication issues across virtual environments,
subnets, firewalls, and QoS configurations
Reliable ROS 2 communication requires precise alignment across network layers, middleware implementations, and operating-system security. Use the topics in this category to diagnose and fix connectivity failures when MATLAB® cannot discover external ROS 2 nodes or when messages fail to reach their destination.
This table lists the topics and the issues addressed in the topics.
| Troubleshooting Topic | Issue |
|---|---|
| Troubleshoot ROS 2 Discovery Issues in Virtual Environments | MATLAB is unable to discover external ROS 2 nodes due to incompatible network adapter modes, stale processes, or mismatched ROS distribution, domain ID, or middleware settings. |
| Troubleshoot ROS 2 Cross-Subnet Discovery Issues Using DDS Profiles | ROS 2 nodes on different subnets cannot discover each other because DDS multicast does not cross subnet boundaries by default. |
| Troubleshoot ROS 2 Firewall, QoS, and Network Compatibility Issues | Windows Firewall blocks DDS multicast traffic, or mismatched QoS policies and message definitions cause silent communication failures. |
Topics
- Install and Set Up Docker for ROS, ROS 2, and Gazebo
Installation guide and setup instructions for Docker for ROS, ROS 2, and Gazebo.



