LFCS · 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. To dynamically obtain an IP address via DHCP on a Linux system, client-side commands like dhclient, pump, and dhcpcd can be utilized.
Question
Options
- Adhcpd
- Bipconfig
- Cdhclient
- Dpump
- Edhcpcd
How the community answered
(54 responses)- A6% (3)
- B4% (2)
- C91% (49)
Why each option
To dynamically obtain an IP address via DHCP on a Linux system, client-side commands like `dhclient`, `pump`, and `dhcpcd` can be utilized.
`dhcpd` is the DHCP *server* daemon, responsible for assigning IP addresses, not a client command for requesting an address.
`ipconfig` is a command used on Windows systems; the equivalent commands on Linux are `ip` or `ifconfig` for network configuration display and management.
`dhclient` is a commonly used DHCP client program on many Linux distributions for requesting and configuring network settings from a DHCP server.
`pump` is an older DHCP client that was frequently used on some Linux distributions, particularly Red Hat-based systems, to obtain network configuration via DHCP.
`dhcpcd` is a popular DHCP client daemon often used in lightweight or embedded Linux distributions to acquire and maintain an IP address and network configuration from a DHCP server.
Concept tested: Linux DHCP client commands
Source: https://man7.org/linux/man-pages/man8/dhclient.8.html
Topics
Community Discussion
No community discussion yet for this question.