support static ip for master, fixed slave config