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 demo_nodes_cpp talker but Receiving failure,no messages by ros2 run demo_nodes_py 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:
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.
you mean that you cannot read my pictures?if yes,please give me your email thanks
You have not told us which virtualization environment you are using, but maybe #q385611 will help you.
I can see the images. The policy on this website is to not use screen shots of plain text (because they are not searchable.)
my computer(PC) and the other computer(Industrial Personal Computer) both use Ubuntu20.04,my computer virtual machine is VMware