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

Revision history [back]

click to hide/show revision 1
initial version

Problems occur when you have multiple network interfaces on your computers or hostnames are getting confused. To be safe I always set the triple on both master and client computers.

Master (192.168.1.100):

export ROS_MASTER_URI=http://localhost:11311
export ROS_HOSTNAME=192.168.1.100
export ROS_IP=192.168.1.100

Client (192.168.1.101)

export ROS_MASTER_URI=http://192.168.1.100:11311
export ROS_HOSTNAME=192.168.1.101
export ROS_IP=192.168.1.101

I also seem to have trouble with virtualbox nat, but bridged networking works fine. Other sources of information:

Also see patrick's link to a similar ros answer.