cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
946
Views
0
Helpful
3
Replies

set cisco router for dhcp

zaqtivi
Level 1
Level 1

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

3 Replies 3

mohammedmahmoud
Level 11
Level 11

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.

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

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

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Innovations in Cisco Full Stack Observability - A new webinar from Cisco