Method to get ip list from start and end ip