Make slaves use the right ip