20220204 104729
#DHCP - Dynamic Host Configuration Protocol
Port No: 67,68
We assign ip address to our PC/System Manually - Static Ip address
DHCP server assign ip address PC/System Automatically - Dynamic Ip address
More Devices(PC/Laptop/Mobile/Tables/Smart Led/ECHO DOT/Google Home...)
it is very deficult to assign ip address to multiple or more no. of device
more administrative burden
possible mistakes in manual
conflit may occur (error)
conflit - two or more devices having same ip address
--not everyone knows how to assign ip address manually
192.168.0.15
192.168.0.10
192.168.0.15
190.168.0.12
172.168.0.14
------
DHCP server assign ip address to devices automatically
win server - dhcp
linux/unix - dhcp
router / wifi router - dhcp
mobile hotspot -
Adv
We can assign ip address to multiple or more no. of devices using dhcp server
reduce administrative burden
no conflit and mistakes while assing ip address
user no need know how to assign ip address the device
-----
#DORA
DHCP use a process to assign ip address, the process is DORA process
Client Server
Discover --------------------------
Offer ----------------------
Request -----------------------------
Ack -----------------------
-----
Installing DHCP Server in Win Server
Server Manager - Manage - Add roles and features
--check DHCP --Add Features ... Install..
Configure ...
--AD Authentication
--Group -DHCP Administrators
-DHCP Users
next - commit ..
** DHCP can install in Standlone server , Member server.
Standlone server - server is not member of AD Domain, server is in workgroup
Member Server - Server is member of Domain
DHCP in AD Domain is Authorized DHCP server
DHCP in Standlone (Not in AD) is non Authorized dhcp server -rouge dhcp server
Server manager - Tools - DHCP
Server ip address: 172.16.0.254
scope name: scope1
DHCP Scope: 172.16.0.100 - 172.16.0.200
except: 172.16.0.100 - 172.16.0.105
172.16.0.143
Lease duration: 8day by default -- 8min
option dns:172.16.0.254
-----------------------------------------