Compare IPs to determine host