fix on dev mode and private ip check

make one node a seed when on --dev-mode, let the other N-1
nodes know about the one seed.