added ability to create ip based on node instance index