DZone Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world

Snippets has posted 5883 posts at DZone. View Full User Profile

Change Quickly From Static Ip To Dhcp

07.28.2006
| 9167 views |
  • submit to reddit
        From <a href="http://bitelia.com/2006/07/27/cambiar-rapidamente-de-ip-fija-a-dhcp-y-viceversa-2/">Bitelia</a>

DHCP:

netsh int ip set address name="Connection_name" source=dhcp

Static IP address:

netsh int ip set address name="Connection_name" source=static_IP Netmask Gateway