How I can select the ethernet adapter that propogates the ROS_DOMAIN? [closed]

asked 2022-05-17 06:02:14 -0600

pedro990 gravatar image

I run ROS2-FOXY in a machine with two phisical ethertnet connections. I use one of them for the connection to the external net. The other one is for the WIFI connection to the robot. When I started to work in ROS2-FOXY, I worked only in the WIFI net and it was fine. But now the project get more complexity and i need use the wired ethernet connection for reach another equips out of WIFI net (the WIFI net and the wired net are in diferent IPv4 subnet) . I work with ROS_DOMAIN_ID: 40 in the robot and the PC. But there is not connection between them. Only when I desconnect the wired net of the machine I get again the connection. The robot propagates the ROS_DOMAIN_ID: 40 in the WIFI net, but the PC propagates the wired net if it´s connected. How i can force to PC to use the WIFI net to stablish the ROS_DOMAIN_ID: 40? The IPv4: is configured to connect to the WIFI router and the wired net has configred the IPv4:

edit retag flag offensive reopen merge delete

Closed for the following reason duplicate question by gvdhoorn
close date 2022-05-18 02:16:00.032201


See #q373132 and/or #q384008.

I believe your post is a duplicate.

gvdhoorn gravatar image gvdhoorn  ( 2022-05-17 12:21:58 -0600 )edit

thanks for your fast answer,I was looking for information for a pair of days and I didn't find anyone. the next days I'll try it.

pedro990 gravatar image pedro990  ( 2022-05-17 14:27:12 -0600 )edit