better check of duplicates tunnelips and ranges