DHCP Protocol
-Dynamic Host Configuration Protocol or DHCP is based on client/server architecture.
-DHCP works on port 67 server side and 68 client side
-Its fundamental function is assigning IP addresses to clients and users in the same network automatically referring to pre-configured parameters in the server side itself.
-DHCP can be configured on a dedicated DHCP Server or it can be implemented virtually on a virtualised environment, on a router, firewall or even a switch, this choice will be made referring to the architecture that an enterprise is based on.
DHCP configurations on a Cisco router:
Under the privileged mode:
#service DHCP
!--Enables the DHCP service on a router--!
#ip dhcp pool POOL1
#network 10.0.0.0 255.255.255.0
!-- The router in this step will assign IP addresses in the network 10.0.0.1 to 10.0.0.254--!
#default-router 10.0.0.254
#lease 10
!--The gateway each machine will get automatically is 10.0.0.254 and each address will be reserved on the client for 10 days--!
#show IP DHCP binding
!-- This command displays each association between the distributed IP address and the machine that obtained it --!
No comments:
Post a Comment