Change IP of nodes in Oracle RAC
The database does not care about the IP addresses. Grid Infrastructure does. The method to change the IP addresses can be found in detail in the below MOS notes:

How to Modify Public Network Information including VIP in Oracle Clusterware (Doc ID 276434.1)

How to Modify Private Network Information in Oracle Clusterware (Doc ID 283684.1)