DHCP
DHCP
WITH
DHCP SERVICES
Jasmitha Chukka
[email protected]
DHCP SERVICES:
DISCOVERY:
● The DHCP client sends a message to discover the DHCP server in the
network. This message is broadcasted at the network and data link layer.
OFFER:
● DHCP server receives messages from the client and offers an IP address to
the DHCP client. This message is unicast at the data link layer but broadcast
at the network layer.
REQUEST:
● The DHCP client requests the DHCP server for the offered IP address. This
message is unicast at the data link layer but broadcast at the network layer.
ACKNOWLEDGMENT:
LEASE DATABASE:
● A DHCP lease is the time period for which the dhcpd service allocates
a network address to a client.
● All times in the lease database are in Coordinated Universal Time (UTC),
not local time.
● The dhcpd lease database’s location: “/var/lib/dhcpd/dhcpd.leases”.
PRE-REQUISITES:
#systemctl daemon-reload
authoritative;
NOTE:
#arp
→ Edit /etc/NetworkManager/system-connections/ens160.nmconnection
[ipv4]
method=auto