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 1.0.0.0/8 and 3.0.0.0/8 Network.
For that we have to create two different DHCP POOL. one for network 1.0.0.0 and another for network 3.0.0.0
Router(config)#ip dhcp pool one Router(dhcp-config)#network 1.0.0.0 255.0.0.0 Router(dhcp-config)#default-router 1.0.0.1 Router(dhcp-config)#exit
Router(config)# Router(config)#ip dhcp pool three Router(dhcp-config)#network 3.0.0.0 255.0.0.0 Router(dhcp-config)#default-router 2.0.0.1 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 2.0.0.1
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 3.0.0.2 0040.0B24.2CA8 -- Automatic Router#