test public/private ip addresses