220-802 · Question #147
A technician is trying to request a new IP address to a customer's computer through the command prompt. Which of the following commands should the technician use?
The correct answer is B. ipconfig /renew. The ipconfig /renew command sends a DHCP request to obtain a new IP address lease for the network adapter.
Question
A technician is trying to request a new IP address to a customer's computer through the command prompt. Which of the following commands should the technician use?
Options
- Aipconfig /flushdns
- Bipconfig /renew
- Cipconfig /all
- Dipconfig /release
How the community answered
(30 responses)- A3% (1)
- B90% (27)
- D7% (2)
Why each option
The ipconfig /renew command sends a DHCP request to obtain a new IP address lease for the network adapter.
ipconfig /flushdns clears the local DNS resolver cache, which has no effect on the IP address assignment.
The ipconfig /renew command broadcasts a DHCP Discover or DHCP Request message to the DHCP server, causing it to issue a new IP address lease to the client. This is the correct command when a technician needs to assign a fresh IP address to a computer without manually configuring one. It works on adapters that are configured to obtain an IP automatically.
ipconfig /all displays detailed network configuration information including MAC addresses and DNS servers but does not request a new IP address.
ipconfig /release relinquishes the current DHCP-assigned IP address lease, leaving the adapter without an IP - it does not obtain a new one.
Concept tested: DHCP IP address renewal using ipconfig command
Source: https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/ipconfig
Topics
Community Discussion
No community discussion yet for this question.