CompTIA A+ Core 1 (220-1201)Hardware and Network TroubleshootingHard

A technician is troubleshooting a client's workstation that experiences intermittent network connectivity. The client reports that the connection often drops and reconnects, and sometimes they lose access to network resources for short periods. The technician suspects a DHCP lease expiration issue. Which of the following commands would BEST help diagnose this specific problem on a Windows machine?

  1. Atracert google.com
  2. Bping 127.0.0.1
  3. Cipconfig /all
  4. Dnetstat -a
Show answer & explanation

Correct answer: C. ipconfig /all

To diagnose a DHCP lease expiration issue, you need to examine the current IP configuration, specifically the lease obtain time, lease expiration time, and the DHCP server address. The `ipconfig /all` command on Windows provides this detailed information, allowing the technician to see if the lease is expiring frequently or if there are issues renewing it.

Why the other options are wrong

  • A. `tracert google.com` traces the route to a destination, useful for connectivity issues beyond the local network, but not for DHCP lease problems.
  • B. `ping 127.0.0.1` tests the local TCP/IP stack, not network connectivity or DHCP issues.
  • D. `netstat -a` shows active network connections and listening ports, which is not directly relevant to DHCP lease expiration.

DHCP Lease Diagnosis

The process of checking a client's DHCP-assigned IP address details, particularly lease duration and expiration, to troubleshoot connectivity issues.

  • DHCP leases grant an IP address for a specific time.
  • Failure to renew a lease results in loss of network connectivity.
  • `ipconfig /all` (Windows) or `ifconfig` (Linux/macOS) provides lease details.

Memory trick: To see your network 'ID' and 'lease' time, 'ipconfig /all' is prime.

More Hardware and Network Troubleshooting questions