Accept local/non routable IPs

Accept local/non routable IPs and provide a default value in the rare
case the machine has no IP (???), as IP is mandatory in the DB.