program to get the system ip address