Advanced network settings
Constrain accepted dynamic address
In some conditions, your local network DHCP may briefly assign a bogus IP address to the robot before assigning a valid one. If network services are started on the robot using this bogus address, they will not work correctly after the valid address has been assigned (e.g. ROS master will be unreachable). You will see that the IP addresses under System information on the MiRoapp Home page do not all match.
There are two approaches to solving this problem.
Use static network address mode
Constrain valid dynamic address
If you can't do this (because you want to use a dynamic address), the second approach is to restrict the set of valid IP addresses that the robot will accept at boot time by modifying the setting
user_setup.bash. The robot will then wait for a matching address before starting network services.
For example, the setting below will allow only addresses starting with the number '192'.
For more complete control, you can use a full regular expression for the address. The example below is more explicit, allowing only valid IP addresses starting '192'.