Fixed IP selection mechanism to follow Cassandra's logic