In this article we will learn how to configure a router to work as a DHCP SERVER for computers or printers or any end devices connected with different Router and located in a different network.So in below diagram you can see the topology which i have created in cisco packet tracer and now i am going to configure Router R1 such that it will act as a DHCP SERVER for machines connected with Router R2. I mean i will configure router R1 in such a way that it can automatically assign ip addresses to PC2 and PC3 which are connected with router R2 and in a different network.Hence in this article you will see one router is acting as a dhcp server for pc connected with other router.
Here i assume that you people already know how to assign ip address on router interfaces and you have also knowledge of routing.If you are new and you don’t know how to configure ip address on router interface and you have no idea about routing then you can read my other articles in CCNA section.
You can also Read:
- Router as a Multiple DHCP SERVER.
- static routing configuration with each routers acting as a DHCP Machine
DHCP CONFIGURATION ON ROUTER R1:
Router(config)#ip dhcp pool satish
Router(dhcp-config)#network 3.0.0.0 255.0.0.0
Router(dhcp-config)#default-router 2.0.0.1
NOW CONFIGURE ROUTER R2 fa0/1 SO THAT IT KNEW FROM WHERE IT HAVE TO IP:
Router(config)#int fa0/1
Router(config-if)#ip helper-address 2.0.0.1
Now you can just go on PC2 and PC3 and select DHCP option it will be automatically provided an ip address.
Note: DHCP uses UDP protocol.
Port 67 for requests and 68 for replies.
Note that as per cisco 12.2 release, only ethernet interfaces are supported for DHCP.
[…] Configure Router to work as a DHCP SERVER for machines connected with different Router […]
LikeLike
Thank you. Found this article helpful.
LikeLike
Welcome to Linuxtiwary.com. Very soon you will get more similar articles in more depth.Keep reading and keep sharing.
LikeLike
Thank you for the auspicious writeup. It in reality was
a entertainment account it. Glance complicated to more delivered agreeable from you!
By the way, how could we keep up a correspondence?
LikeLike