Swith DHCP and Static IP Using netsh to switch ip config between DHCP and Static IP. It is only for Windows OS. How to use Compile and start the application. Right click notifyicon to switch or set static IP.