ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

Can static IP communicate with floating IP?

asked 2017-08-07 04:51:19 -0500

Henry1620 gravatar image

Hi, I'm new to ROS, wish someone can answer my stupid question.

I have a static IP 140.113.xxx.xxx, and a 4G dongle with floating IP 192.168.8.100. I want to use ROS to transmit data between them. Can ROS do that? Because I found some website said ROS can only transmit data in the same Internet domain, but I think this must have some trick to solve this problem.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2017-08-07 13:58:17 -0500

tfoote gravatar image

ROS communications require that you have viable routes between both hosts. Network Setup Overview Your "floating IP" is more accurately termed a NAT address and is not routable from outside. The most common solution to this is to put both machines on a VPN where your static IP can host the VPN server and the machine behind the 4G dongle can connect to the VPN via the static IP.

There's lots of advice for ROS + VPNs: https://www.google.com/search?q=ros+vpn

edit flag offensive delete link more

Question Tools

2 followers

Stats

Asked: 2017-08-07 04:51:19 -0500

Seen: 396 times

Last updated: Aug 07 '17