ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A
Ask Your Question

how to run ROS across multiple machines with different networks?

asked 2011-05-29 13:56:42 -0500

Nutan gravatar image

updated 2014-01-28 17:09:45 -0500

ngrennan gravatar image

Hi, all,

Would I know how to run ROS across multiple machines with different networks? I failed to ping them like this:

PING ( 56(84) bytes of data. From icmp_seq=1 Time to live exceeded From icmp_seq=2 Time to live exceeded From icmp_seq=3 Time to live exceeded From icmp_seq=4 Time to live exceeded From icmp_seq=5 Time to live exceeded From icmp_seq=6 Time to live exceeded From icmp_seq=7 Time to live exceeded From icmp_seq=8 Time to live exceeded ^C --- ping statistics --- 8 packets transmitted, 0 received, +8 errors, 100% packet loss, time 7011ms

edit retag flag offensive close merge delete


could you explain your network topology more? How is everything connected? As long as you're not able to ping across machines, you won't be able to get communication up and running.
KoenBuys gravatar image KoenBuys  ( 2011-06-04 21:08:57 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2011-05-29 14:22:55 -0500

Hordur gravatar image

How are you connecting your two machines? Your first step is to have them able to communicate together. From your PING log they are on two separate subnets. You need to have routes setup between the networks for that to work. Both of these subnets you have are both used for internal communication and will not be routed over the internet.

For information on using ROS on multiple machine I have found the following pages to be useful:

edit flag offensive delete link more


Hordur, tank you very much. I could ping from computer A to computer B, but could not ping from computer B to computer A. Thus, only computer A could be the master, but i want to take computer B as the master. Do I need to use openVPN?
Nutan gravatar image Nutan  ( 2011-06-05 19:15:52 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2011-05-29 13:56:42 -0500

Seen: 2,740 times

Last updated: May 29 '11