udpated the mac import process to validate IP addresses and macs before the import