# Running ROS across multiple machines is failed

**URL:** <https://discourse.openrobotics.org/t/running-ros-across-multiple-machines-is-failed/3601>\
**Category:** ROS General\
**Tags:** indigo\
**Created:** [January 5, 2018, 1:00am UTC](https://discourse.openrobotics.org/t/running-ros-across-multiple-machines-is-failed/3601 "2018-01-05T01:00:08Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![snbraj](https://avatars.discourse-cdn.com/v4/letter/s/3ec8ea/32.png) [@snbraj](https://discourse.openrobotics.org/u/snbraj)\
**Post date:** [January 5, 2018, 1:00am UTC](https://discourse.openrobotics.org/t/running-ros-across-multiple-machines-is-failed/3601/1 "2018-01-05T01:00:08Z")

</div>

Hi All,

I am trying to run ROS across 2 machines, master is starting with out any issues when I tried to run listener getting below errors.

**root@test:/opt/ros/indigo# rosrun rospy\_tutorials listener.py**  
**[rospack] Error: package ‘rospy\_tutorials’ not found**  
**find: ‘’: No such file or directory**

I have followed below procedures.

System 1-  
setting static IP-  
ifconfig eth0 192.168.0.1 netmask 255.255.255.0  
route add default gw 192.168.0.1 dev eth0

export ROS\_IP=192.168.0.1  
export ROS\_HOSTNAME=192.168.0.1

roscore &

export ROS\_MASTER\_URI=[http://192.168.0.1:11311/](http://192.168.0.1:11311/)  
rosrun rospy\_tutorials listener.py

System-2

setting static IP-  
ifconfig eth0 192.168.0.2 netmask 255.255.255.0  
route add default gw 192.168.0.2 dev eth0

export ROS\_IP=192.168.0.2  
export ROS\_HOSTNAME=192.168.0.2

export ROS\_MASTER\_URI=[http://192.168.0.1:11311/](http://192.168.0.1:11311/)  
rosrun rospy\_tutorials talker.py

Note: I could able to ping between system 1 & 2.

Kindly help us to debug this issue in my setup.

Kindly let me know if you need any more information,

Regards  
Bharath

---

<div class="post-metadata">

**Author:** ![tfoote](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.openrobotics.org/tfoote/32/3813_2.png) [@tfoote](https://discourse.openrobotics.org/u/tfoote)\
**Post date:** [January 5, 2018, 1:13am UTC](https://discourse.openrobotics.org/t/running-ros-across-multiple-machines-is-failed/3601/2 "2018-01-05T01:13:38Z")

</div>

Thanks for your question. However we ask that you please ask questions on [http://answers.ros.org](http://answers.ros.org) following our support guidelines: [Support - ROS Wiki](http://wiki.ros.org/Support)

ROS Discourse is for news and general interest discussions. [ROS Answers](http://answers.ros.org) provides a forum which can be filtered by tags to make sure the relevant people can find and/or answer the question, and not overload everyone with hundreds of posts.

---

<div class="post-metadata">

**Author:** ![tfoote](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.openrobotics.org/tfoote/32/3813_2.png) [@tfoote](https://discourse.openrobotics.org/u/tfoote)\
**Post date:** [January 5, 2018, 1:13am UTC](https://discourse.openrobotics.org/t/running-ros-across-multiple-machines-is-failed/3601/3 "2018-01-05T01:13:46Z")

</div>


