Add ip function for quick identification of local ip address