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.

r1---r2--r3

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

Hi,

To configure a Cisco router as a DHCP server:

http://www.cisco.com/en/US/products/sw/iosswrel/ps1835/products_configuration_guide_chapter09186a00800ca75c.html

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.

HTH,

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.

HTH

Sundar

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

Hi,

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

Actions

Login or Register to take actions

This Discussion

Posted July 3, 2007 at 6:25 AM
Stats:
Replies:3 Avg. Rating:
Views:492 Votes:0
Shares:0
Tags: No tags.

Discussions Leaderboard