Hello Bakhtiyar,
Have you gone through the Setting Up Host Auto-Failover guide, and its submenus?
Or you may refer to the SAP HANA Security Guide as well.
As you can see you can specify hostnames there (hdbuserstore), not IP addresses.
Best Regards,
Peter