07-03-2007 06:25 AM - edited 03-05-2019 05:06 PM
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
07-03-2007 06:40 AM
Hi,
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.
HTH,
Mohammed Mahmoud.
07-03-2007 11:55 AM
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
HTH
Sundar
07-04-2007 01:37 AM
Hi,
Yes, Link provided by Mahameed is to configure the CISCO Router as DHCP Server.
Configure "ip helper-address
Configure the above under the Interface connecting to R1.
Pls Rate if Helps
Best Regards,
Guru Prasad R
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: