If you encounter problems while using DHCP (auto IP obtaining) on Android you might need to manually set a static IP-address.
You may also decide to assign a static address to your Android phone if you want to use a specific IP on a Wi-Fi network but don’t want to set up the IP reservation on your access point or if you simply don’t have access to the router settings.
You can easily revert the network setting to its default state at any time and continue using DHCP.
Here is how to set a static IP-address on a phone or tablet running Android 10 and older versions.