get the ip address of a system