I run a VPN and EveryProxy on my phone in order to provide VPN access to my computer connected to the phone's hotspot. On the computer I run "netstat -rn" to see the gateway's (i.e. phone's) IP address and enter it in the browser settings. After this everything works as expected for a few cycles of turning on and off the hotspot.

However, after a while the hotspot's IP changes, so I need to check it again with "netstat -rn" and change in the browser settings.

How do you I make the IP address of the hotspot persistent?

Another possible use-case for this question is if the range 192.168.0.0/16 is already in use in the local network and I need to change it to something in 10.0.0.0/8 or 172.16.0.0/12 ranges.