DHCP Realy Agent - cisco router
DHCP stands for Dynamic host configuration protocol The protocol allows the to administrator provide TCP/IP configuration automatically to all client computers.
It will help to reduce administrator tasks and also help to protect IP conflict
errors.
DHCP server and DHCP client work on DORA principle that stands for
Discover Offer Request and Acknowledgment. All DHCP clients use UDP port no.68
to request IP Addresses to DHCP clients. And DHCP server provides and respond to
all client by using UDP port no.67.
How to create DHCP pool on cisco router
By going into the configuration mode of the router and assign the IP address.
IP assign command.
Router>
Router>enable
Router#conf terminal
Router(config)#int fa0/0
Router(config-if)#ip add 10.0.0.1 255.0.0.0
Router(config-if)#no shut
Now we have to create a DHCP Pool
DHCP pool command.
Router#configure terminal
Router(config)#ip dhcp pool Hello
Router(dhcp-config)#network 10.0.0.0 255.0.0.0
Router(dhcp-config)#default-router 10.0.0.1
Router(dhcp-config)#dns-server 8.8.8.8
Now we are going to PC adaptor and enable DHCP mode.
Related post