nerdexam
CompTIA

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.

Networking

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)
  • A
    3% (1)
  • B
    90% (27)
  • D
    7% (2)

Why each option

The ipconfig /renew command sends a DHCP request to obtain a new IP address lease for the network adapter.

Aipconfig /flushdns

ipconfig /flushdns clears the local DNS resolver cache, which has no effect on the IP address assignment.

Bipconfig /renewCorrect

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.

Cipconfig /all

ipconfig /all displays detailed network configuration information including MAC addresses and DNS servers but does not request a new IP address.

Dipconfig /release

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

#ipconfig /renew#DHCP#IP address renewal#command line

Community Discussion

No community discussion yet for this question.

Full 220-802 Practice