How do I know if DHCP is installed on Linux?

How do I know if DHCP is installed on Linux?
Answer
The procedure to find out your DHCP IP address in Linux is as follows:
  1. Open the terminal application.
  2. Run less /var/lib/dhcp/dhclient. …
  3. Another option is to type grep dhcp-server-identifier /var/lib/dhcp/dhclient. …
  4. One can use ip r Linux command to list default route which act as the DHCP Server on most home networks.
 

Tìm kiếm

Back
Top