Configure Router to work as a DHCP SERVER for machines connected with different Router

Posted: April 30, 2015 in CCNA
Tags: , , , , ,

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 dhcp server

 

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. 

ip through dhcp

 

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.

Comments
  1. Thank you. Found this article helpful.

    Like

  2. […] Configure Router to work as a DHCP SERVER for machines connected with different Router […]

    Like

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s