ros2 nodes not discovered
Hi,
I'm working with ROS2 bouncy.
ROS2 was running perfectly on my computer.
Then I started modifying network configurations (e.g. files in /proc/sys/net/ipv4/conf/). The result is that I'm not able to run simple publisher/subscriber nodes anymore.
If I run a publisher, then through the ros2 topic list
command I can't see anymore its related topics.
Similarly, if I run rviz it is not able to see any topic and from the ros2 service list
command I'm not able to see the rviz related services.
I tried using the official ros2 docker images, the nodes work properly only if I do not set the docker parameter --net=host
.
Do you have any hint about what should I check in oder to make ros working again?
This is my ifconfig
enp0s31f6 Link encap:Ethernet HWaddr 8c:16:45:b8:e1:ae
inet addr:10.22.22.27 Bcast:10.22.23.255 Mask:255.255.254.0
inet6 addr: fe80::23f8:a6ca:fdfb:58a9/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Thanks
Can you tell us what you modified in /proc/sys/net/ipv4/conf/ ?