Sunday, February 17, 2019

DHCP Simple Configuration

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 --!


This architecture describes the relation between the dhcp server existing on the Top which is going to distribute IP Addresses From 10.0.0.2 To 10.0.0.253 and is going to make a lease of 10 days to each user than we find the router who presents a bridge that redirects dhcp traffic to the local network through the switch which creates and ARP table that presents the relations between the mac addresses and the ip address assigned to the pc dynamically and each change of the address mac will be followed by a change on the ARP table of the switch



No comments:

Post a Comment

Cisco Identity Services Engine (ISE)

Introduction to Cisco Identity Services Engine (ISE) Cisco Identity Services Engine (ISE)  Cisco Identity Services Engine (ISE) is...