Extracts unique IPs and ignores masks