added command to get public ip of network