Get IP addresses for both nodes which are created