done: neighbors list and ip list; todo:nei. list to ind list based on ip list