DHCP

From DikapediaV2
Revision as of 14:46, 21 August 2024 by Ardika Sulistija (talk | contribs) (Created page with " DHCP - DORA https://ipwithease.com/understanding-dora-process-in-dhcp/ ====dhclient==== ---- <b>dchlient</b> - the Dynamic Host Configuration Protocol (DHCP) Client used to allow a client to connect to a DHCP server. * You need this if you are not booting up using a static IP address!! dhclient configuration files: $ which dhclient /usr/sbin/dhclient # Another way of checking if dhclient is installed # Run as root $ dhclient status && dhclient --version...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

DHCP - DORA https://ipwithease.com/understanding-dora-process-in-dhcp/



dhclient



dchlient - the Dynamic Host Configuration Protocol (DHCP) Client used to allow a client to connect to a DHCP server.

  • You need this if you are not booting up using a static IP address!!


dhclient configuration files:

$ which dhclient
/usr/sbin/dhclient

# Another way of checking if dhclient is installed
# Run as root
$ dhclient status && dhclient --version

# AMAZON LINUX 2:
$ ls -al /etc/dhcp
total 16
drwxr-x---  4 root root   74 Dec 17  2019 .
drwxr-xr-x 90 root root 8192 Jun 15 04:34 ..
-rw-r--r--  1 root root   13 Dec 17  2019 dhclient.conf
drwxr-xr-x  2 root root   41 Apr  3 04:21 dhclient.d
drwxr-xr-x  2 root root   49 Jun 15 04:34 dhclient-exit-hooks.d

# RHEL 7.6
$ ls -al /etc/dhcp
total 20
drwxr-x---.  5 root root   105 Jun 23 15:41 .
drwxr-xr-x. 76 root root  8192 Jun 23 17:30 ..
drwxr-xr-x.  2 root root    23 Oct  2  2019 dhclient.d
drwxr-xr-x.  2 root root    28 Jun 23 15:41 dhclient-exit-hooks.d
-rw-r--r--.  1 root root   120 Oct  2  2019 dhcpd6.conf
-rw-r--r--.  1 root root   117 Oct  2  2019 dhcpd.conf
drwxr-x---.  2 root dhcpd   28 Jun 23 15:41 scripts