add a script to detect the existing host in newwork

Signed-off-by: Wang Xiaoqiang <wangxq10@lzu.edu.cn>