nerdexam
GIAC

GCIA · Question #24

You work as a network administrator for Tech Perfect Inc. Rick, your assistant, requires information regarding his computer's IP address lease start date and expiry date. Which of the following…

The correct answer is A. Ipconfig /all. The 'ipconfig /all' command displays full network adapter details on Windows, including the DHCP lease obtained date and lease expiration date for each interface.

Packet Analysis with Wireshark & Command Line Tools

Question

You work as a network administrator for Tech Perfect Inc. Rick, your assistant, requires information regarding his computer's IP address lease start date and expiry date. Which of the following commands will help him?

Options

  • AIpconfig /all
  • BPing 127.0.0.1
  • CPing /t
  • DIpconfig /renew

How the community answered

(55 responses)
  • A
    75% (41)
  • B
    4% (2)
  • C
    15% (8)
  • D
    7% (4)

Why each option

The 'ipconfig /all' command displays full network adapter details on Windows, including the DHCP lease obtained date and lease expiration date for each interface.

AIpconfig /allCorrect

Running 'ipconfig /all' outputs extended configuration for every network adapter, including the 'Lease Obtained' and 'Lease Expires' fields that show exactly when the DHCP address was assigned and when it will expire. This is the standard built-in Windows command for inspecting DHCP lease timing without additional tools or elevated actions beyond reading output. No other ipconfig switch surfaces lease date and expiry information.

BPing 127.0.0.1

Ping 127.0.0.1 tests the local TCP/IP loopback interface for basic stack functionality and returns round-trip time only, with no information about IP configuration or DHCP lease dates.

CPing /t

The syntax 'ping /t' is incomplete and invalid without a target address, and even when used correctly with an address, ping only measures connectivity and latency - not lease information.

DIpconfig /renew

Ipconfig /renew sends a DHCP renewal request to obtain or extend an IP address lease but does not display any lease start or expiry date details to the user.

Concept tested: Viewing DHCP lease dates with ipconfig /all

Source: https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/ipconfig

Topics

#ipconfig#DHCP lease#command line tools#IP configuration

Community Discussion

No community discussion yet for this question.

Full GCIA Practice