ROS Network Autoconfiguration network_autoconfig automatically configures the ROS_IP, ROS_HOSTNAME, and ROS_MASTER_URI as needed. Installation Assuming ROS is installed sudo apt install ros-kinetic-network-autoconfig TL;DR ROS_INTERFACE=auto source /opt/ros/kinetic/setup.bash