set cisco router for dhcp

Unanswered Question
Jul 3rd, 2007

hi ! i want to set up r1 and r2 (see below) to get ip address from r3. what do i need to configure on all routers. thanks.


I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
mohammedmahmoud Tue, 07/03/2007 - 06:40


To configure a Cisco router as a DHCP server:

To acquire an IP address via DHCP on an Ethernet interface of the router, use the following command in interface configuration mode:

Router(config-if)# ip address dhcp

The question is how are your routers connected (what type of interfaces), and what is the purpose of this topology.


Mohammed Mahmoud.

sundar.palaniappan Tue, 07/03/2007 - 11:55

With the configuration Mohammed gave you R2 would be able to get an address from R3 but not R1. Routers, by default, do not broadcasts. Any bootp request from R1 would be dropped by R2. Therefore, on R2 you need to configure the command 'ip helper-address under the interface that connects to R1. This would tell R2 to forward the bootp request to R3.



guruprasadr Wed, 07/04/2007 - 01:37


Yes, Link provided by Mahameed is to configure the CISCO Router as DHCP Server.

Configure "ip helper-address DHCP Broadcasting Interface IP of R3.

Configure the above under the Interface connecting to R1.

Pls Rate if Helps

Best Regards,

Guru Prasad R


This Discussion