Description: In this project, you will view and manage DHCP and DHCPv6 lease information on a computer running the Windows 7 or Windows 10 Professional operating system. This assumes that your computer is connected to a network that supports DHCP and DHCPv6 servers.
Open a command-prompt window. (Use the Start menu search box or the Search box on the task bar. Type cmd and then press Enter. A command-prompt window opens.)To view current DHCP/DHCPv6 lease information for the machine, type ipconfig /all at the command prompt, and then press Enter. You will see a display like that in the figure below.In the figure, the listed information indicates that DHCP and autoconfiguration are enabled, and it provides the address of the DHCP server. It also shows see the DHCPv6 DUID number and the DHCPv6 Client DUID number.To renew your current IPv4 address lease, type ipconfig /renew in the command window. Type ipconfig /all to observe how the lease information changes.To force release of your current IPv4 address, type ipconfig /release. Type ipconfig /all to observe how lease information changes.To renew your current IPv6 address lease, type ipconfig /renew6 in the command window. Type ipconfig /all to observe how the lease information changes.To force release of your current IPv6 address, type ipconfig /release6. Type ipconfig /all to observe how lease information changes.Type exit at the command line to close the command-prompt window and end this exercise.