New to this forum and ROS.

I have two machines running Ubuntu on WSL2. I have installed ROS2 humble on both ubuntuWSL machines. The two machines are connected via local network so pinging them is not a problem. However, the WSL instances sit behind a virtual ethernet with IP address on different subnets. Here is the configuration of IPs on both machines:

Machine-1: Windows IP: WSL IP:

Machine-2: Windows IP: WSL IP:

So the ubuntu WSL on machine-1 cannot discover the ubuntu WLS on machine-2. I have tried port forwarding but still same issue. My understanding is that the ROS node on machine-1 inside the WSL cannot discover the other node on machine-2 (inside the WSL) because they are not different nets.



Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Browse other questions tagged or ask your own question.