cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1128
Views
0
Helpful
1
Replies

Router's interface cannot receive IP from DHCP server

Era7
Level 1
Level 1

Good daytime,
My network includes two routers (let's say R1 and R2) with the following configuration.
R1's configuration:

IP dhcp excluded-address 10.0.126.0 10.0.126.99

ip dhcp excluded-address 10.0.126.111 10.0.126.255

!

ip dhcp pool 126

network 10.0.16.0 255.255.255.0

default-router 10.0.126.254
!

interface GigabitEthernet0/0

ip address 10.0.126.1 255.255.255.0

duplex auto

speed auto

standby 1 ip 10.0.126.3

standby 1 priority 120

standby 1 preempt

!
And R2:

interface GigabitEthernet0/0

ip address dhcp

duplex auto

speed auto

!

Here's also the logic of the network.
Logic1.png
According to the logic of the task R2's interface Gi0/0 should receive private IP from R1, but when R2 is sending Discover message, R2 that is DHCP server with pool 126 simply destroying it.
Cannot get into this, need help, why it is happening so. So any ideas are welcome. Thanks for the attention!

1 Accepted Solution

Accepted Solutions

balaji.bandi
Hall of Fame
Hall of Fame

First your DHCP pool typo issue :

 

ip dhcp pool 126

network 10.0.126.0 255.255.255.0

default-router 10.0.126.254

 

Second - i do not advice DHCP IP address for HSRP config, always required static, so HSRP can work as expected.

I do not see any advantage here, of the R1 Fails, DHCP Fails, how R2 can give high availabiolity since it is rely on R1 DHCP request, in this case your network is totally down.

 

Configure  R2 static IP with HSRP config.

 

On the Lan segment if the Switch is Access vlan 128 configured, then user should get IP address.

 

(make sure you configure your DHCP for the DNS for the user IP Pool).

 

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

View solution in original post

1 Reply 1

balaji.bandi
Hall of Fame
Hall of Fame

First your DHCP pool typo issue :

 

ip dhcp pool 126

network 10.0.126.0 255.255.255.0

default-router 10.0.126.254

 

Second - i do not advice DHCP IP address for HSRP config, always required static, so HSRP can work as expected.

I do not see any advantage here, of the R1 Fails, DHCP Fails, how R2 can give high availabiolity since it is rely on R1 DHCP request, in this case your network is totally down.

 

Configure  R2 static IP with HSRP config.

 

On the Lan segment if the Switch is Access vlan 128 configured, then user should get IP address.

 

(make sure you configure your DHCP for the DNS for the user IP Pool).

 

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help