Hi, dhcp router is configured with following DHCP settings:
ip dhcp pool B
network 192.168.1.0 255.255.255.0
default-router 192.168.1.1
ip dhcp pool C
network 192.168.2.0 255.255.255.0
default-router 192.168.2.1
for Router2 (network 192.168.1.0) dhcp properly leased IP address but in order to do so I had to manually assign 192.168.1.1 IP address for client (middle) router and also add ip helper-address 192.168.0.1. I understand how DHCP relay works replacing Router2 DISCOVER 255.255.255.255 destination IP address with 192.168.0.1.
However I was wondering if there is a way to lease a DHCP address for client's router g0/2 interface? If so, how can it be done? I would like to stress that g0/2 does not have any configuration yet.
ip address dhcp
andip helper-address 192.168.0.1
on interface g0/2? Then you'd put a statically-allocated address for it on the DHCP server.