add a script to get the network address

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