ROS Network Setup with Port Forwarding Question
Hello,
I have a question regarding ROS Network setup with multiple computers. My current setup is:
Computer 1:
- local wifi network ip:192.168.1.112
- local ethernet connection to Computer 2 ip: 10.0.0.1
- ROS_MASTER_URI: 192.168.1.101:11311
- ROS_IP: 192.168.1.112
Computer 2:
- local ethernet connection to Computer 1 ip: 10.0.0.2
- ROS_MASTER_URI: 192.168.1.101:11311
- ROS_IP: 10.0.0.1
Computer 3:
- local wifi network ip: 192.168.1.101
- ROS_MASTER_URI: 192.168.1.101:11311
- ROS_MASTER_URI:192.168.1.101
I would like to have Computer 3 as the ROS Master. Computer 2 is running a ROS node which I would like to view on Computer 3. However, Computer 2 doesn't have a local wifi connection and is connected to Computer 1 through an ethernet connection. Therefore Computer 2 can't see Computer 3 as the ROS Master since it's not on the local wifi network. How can I setup my ROS nodes such that I can view topics being published on Computer 2 on Computer 3? Do I have to setup some sort of port forwarding on Computer 1?
Any help would be appreciated.