Want to change all nodes ip address

I have a kubernetes cluster with 3 master and 3 worker nodes on bare metal setup by kubeadm.
All nodes where joined by their public IP. Now servers have second IP as private network on another NIC. I want to change all nodes ip address to private network like for example 192.168.24.x.
Can you explain steps to do that?