If you’re suffering from changing static IP to Dynamic IP every time you connect to a wi-fi, here is the solution.