nerdexam
CompTIA

LX0-104 · Question #477

Your machine's IP address used to function, but it's only got the localhost "lo" entry now. What three client-mode commands could you possibly use to get a new DHCP address?

The correct answer is C. dhclient D. pump E. dhcpcd. When a Linux machine loses its network configuration, several client-side commands can be used to initiate a DHCP request and obtain a new IP address. These tools interact with a DHCP server to automatically configure network interfaces.

Networking Fundamentals

Question

Your machine's IP address used to function, but it's only got the localhost "lo" entry now. What three client-mode commands could you possibly use to get a new DHCP address?

Options

  • Adhcpd
  • Bipconfig
  • Cdhclient
  • Dpump
  • Edhcpcd

How the community answered

(61 responses)
  • A
    10% (6)
  • B
    3% (2)
  • C
    87% (53)

Why each option

When a Linux machine loses its network configuration, several client-side commands can be used to initiate a DHCP request and obtain a new IP address. These tools interact with a DHCP server to automatically configure network interfaces.

Adhcpd

dhcpd is the DHCP server daemon, which assigns IP addresses to clients, not a client-mode command used to obtain an address for the local machine.

Bipconfig

ipconfig is primarily a command-line tool found on Windows systems to display and configure network interfaces, but it is not a standard DHCP client command on Linux; the equivalent Linux command for displaying config is ip addr or ifconfig.

CdhclientCorrect

dhclient is a commonly used DHCP client program in many Linux distributions to obtain an IP address and other network configuration details from a DHCP server.

DpumpCorrect

pump is another DHCP client, primarily used in older Red Hat-based systems, to manage network interface configuration via DHCP.

EdhcpcdCorrect

dhcpcd is a popular DHCP client daemon that runs in the background to automatically configure network interfaces with DHCP and can be used to renew leases.

Concept tested: DHCP client commands

Source: https://man7.org/linux/man-pages/man8/dhclient.8.html

Topics

#DHCP client#network configuration#dhclient#pump#dhcpcd

Community Discussion

No community discussion yet for this question.

Full LX0-104 Practice