Implementing communication between ROS2 nodes on different gateways
Two different IP addresses are set under a Layer 3 switch. After setting these two IP addresses on two different system devices, the devices can ping each other successfully, but ROS 2 cannot communicate.(Sending success by ros2 run demonodescpp talker but Receiving failure,no messages by ros2 run demonodespy listener) my computer IP is 192.168.20.12,the other computer IP is 192.168.10.11. there are some details:
we can see that my computer can ping the other computer:
and when I want to send messages to the other computer :
but the other computer cannot receive any messages:
my windows IPV4 and virtual machine network adapter are like this:
Asked by wj_sdaj on 2023-07-08 03:48:20 UTC
Comments
For future questions, please do not use screen shots of terminal text. Instead, copy/paste the text into your description, and format it with the 101010 button.
Asked by Mike Scheutzow on 2023-07-09 08:57:54 UTC
you mean that you cannot read my pictures?if yes,please give me your email thanks
Asked by wj_sdaj on 2023-07-09 09:01:19 UTC
You have not told us which virtualization environment you are using, but maybe #q385611 will help you.
Asked by Mike Scheutzow on 2023-07-09 09:12:40 UTC
I can see the images. The policy on this website is to not use screen shots of plain text (because they are not searchable.)
Asked by Mike Scheutzow on 2023-07-09 09:15:25 UTC
my computer(PC) and the other computer(Industrial Personal Computer) both use Ubuntu20.04,my computer virtual machine is VMware
Asked by wj_sdaj on 2023-07-09 09:25:46 UTC