Soru

Zorluk: OrtaWindows Client Networking Configuration

A remote worker connects a Windows 11 laptop to an Ethernet port in the main office after returning from travel. The network status displays 'Unidentified network', and running `ipconfig` reveals an autoconfigured IPv4 address of 169.254.112.45169.254.112.45. The network administrator confirms that the local DHCP server is active and healthy. Which command-line sequence should the technician execute first to obtain a valid IP configuration from the DHCP server?

  1. ipconfig /release followed by ipconfig /renewCevap
  2. B
    ipconfig /flushdns followed by ipconfig /registerdns
  3. C
    netsh winsock reset followed by netsh int ip reset
  4. D
    nslookup followed by ping 127.0.0.1

Cevap

The technician should execute `ipconfig /release` followed by `ipconfig /renew` to clear the current APIPA address and request a fresh IP address lease from the DHCP server.
When a Windows client holds an APIPA address (169.254.0.0/16169.254.0.0/16) and a DHCP server is operational on the local network segment, executing `ipconfig /release` followed by `ipconfig /renew` forces the network interface to discard the self-assigned address and broadcast a new DHCP request to acquire valid IP network configuration details.

Adım Adım Çözüm

1
Identify the cause of the APIPA address assignment (169.254.x.x169.254.x.x).
The client assigned itself an automatic private IP address because it failed to obtain a DHCP response during interface activation.
Windows defaults to APIPA when no response from a DHCP server is received during startup or network link establishment.
2
Release the APIPA configuration using the command `ipconfig /release`.
The network interface drops its existing autoconfigured IP settings.
Releasing the address ensures the network stack is reset and prepared to initiate a fresh DHCP broadcast.
3
Request a valid IP address lease using `ipconfig /renew`.
The client broadcasts a DHCPDISCOVER packet and receives new IP configuration settings from the DHCP server.
The renewal command actively requests an IP address, subnet mask, default gateway, and DNS server parameters from available DHCP servers.

Anahtar Kavram

DHCP Client Lease Renewal via Windows Command Line
Bu soruyu puanla