Here in this lab we will see how to easily configure your cisco router to work as multiple DHCP SERVER.To perform this lab i have here used Cisco Packet Tracer Software and using packet Tracer lab i will show you an example to configure multiple DHCP Server on single Router. Here in this Lab Router0 will work as multiple DHCP Server. So now it’s time to perform the lab step wise in few simple steps.
Step1: First of all assign ip addresses to each of Router Interfaces as mentioned in diagram and do routing whatever routing you want doesn’t matter.You can do static routing,rip routing,EIGRP Routing or OSPF Routing
Step2: Now configure Router0 to Work as DHCP server for both 22.214.171.124/8 and 126.96.36.199/8 Network.
For that we have to create two different DHCP POOL. one for network 188.8.131.52 and another for network 184.108.40.206
Router(config)#ip dhcp pool one Router(dhcp-config)#network 220.127.116.11 255.0.0.0 Router(dhcp-config)#default-router 18.104.22.168 Router(dhcp-config)#exit
Router(config)# Router(config)#ip dhcp pool three Router(dhcp-config)#network 22.214.171.124 255.0.0.0 Router(dhcp-config)#default-router 126.96.36.199 Router(dhcp-config)#exit Router(config)#
Step3:Now go to Router1 and Gi0/1 interface and run the below code.
Router(config)#int g0/1 Router(config-if)#ip helper-address 188.8.131.52
Step4:Now go to PC1 and select DHCP option and you will see the below output.
it’s output will tell everything about your configuration.
If you see the ip address same then you have configured your DHCP server correctly.
If not then you need to Troubleshoot.Something wrong has been configured by you.
First check the ip address you have assigned correctly or not.
Then check whether you have mentioned ip helping address on second router or not.
Step5:If you want to see the ip address of client along with their Mac Addresses type below command on your Router.
Router#show ip dhcp binding IP address Client-ID/ Lease expiration Type Hardware address 184.108.40.206 0040.0B24.2CA8 -- Automatic Router#