Added more ways to get the RouterIP.