Thursday, January 28, 2021

Windows DHCP and Static IP with dhcpstaticipcoexistence

 These Steps will setup a static IP address with DHCP as a default.

You can not do it from GUI

Open command prompt as Administrator

  1. Find out the interface name:

    netsh interface ipv4 show interface
  2. Enable dhcpstaticipcoexistence:

    netsh interface ipv4 set interface interface="interface name" dhcpstaticipcoexistence=enabled
  3. Add a static ip address to your interface

    netsh interface ipv4 add address "interface name"
  4. Use command 'ipconfig /all' to verify the static ip address is added. 


No comments:

Post a Comment