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

Redundant routers and DHCP

jasonww04
Level 1
Level 1

I have two routers that I want to use HSRP on. Figure that part of the config is rather simple:

####### Router 1 #######

interface FastEthernet0/0

ip address 151.4.0.21 255.255.255.0

standby 1 ip 151.4.0.20

standby 1 priority 120

standby 1 preempt

######## Router 2######## 

interface FastEthernet0/0

ip address 151.4.0.22 255.255.255.0

standby 1 ip 151.4.0.20

standby 1 priority 110

standby 1 preempt

My question is about DHCP. If I want the router(s) handing out DHCP, do I configure the same pools on both? How would the leased addresses be tracked by Router 2?

1 Accepted Solution

Accepted Solutions

Joseph W. Doherty
Hall of Fame
Hall of Fame

Disclaimer

The    Author of this posting offers the information contained within this    posting without consideration and with the reader's understanding that    there's no implied or expressed suitability or fitness for any   purpose.   Information provided is for informational purposes only and   should not  be construed as rendering professional advice of any kind.    Usage of  this posting's information is solely at reader's own risk.

Liability Disclaimer

In    no event shall Author be liable for any damages whatsoever  (including,   without limitation, damages for loss of use, data or  profit) arising  out  of the use or inability to use the posting's  information even if  Author  has been advised of the possibility of such  damage.

Posting

Generally, DHCP servers do not track addresses leased by other DHCP servers, which I believe also applies to Cisco routers acting as a DHCP server.  When they don't track each other, one solution is to give your DHCP servers part of the address pool being leased, i.e. non-overlapping.

One issue that can arise doing this, one DHCP server might provide its pool addresses faster and exhaust its pool.  If that happens, the alternate DHCP server will lease its addresses but now your at risk if that server fails.  Two possible solutions: if one DHCP generally always wins the lease, give it most of the pool.  Or, have the total pool address space large enough one sever shouldn't run out of addresses.

View solution in original post

1 Reply 1

Joseph W. Doherty
Hall of Fame
Hall of Fame

Disclaimer

The    Author of this posting offers the information contained within this    posting without consideration and with the reader's understanding that    there's no implied or expressed suitability or fitness for any   purpose.   Information provided is for informational purposes only and   should not  be construed as rendering professional advice of any kind.    Usage of  this posting's information is solely at reader's own risk.

Liability Disclaimer

In    no event shall Author be liable for any damages whatsoever  (including,   without limitation, damages for loss of use, data or  profit) arising  out  of the use or inability to use the posting's  information even if  Author  has been advised of the possibility of such  damage.

Posting

Generally, DHCP servers do not track addresses leased by other DHCP servers, which I believe also applies to Cisco routers acting as a DHCP server.  When they don't track each other, one solution is to give your DHCP servers part of the address pool being leased, i.e. non-overlapping.

One issue that can arise doing this, one DHCP server might provide its pool addresses faster and exhaust its pool.  If that happens, the alternate DHCP server will lease its addresses but now your at risk if that server fails.  Two possible solutions: if one DHCP generally always wins the lease, give it most of the pool.  Or, have the total pool address space large enough one sever shouldn't run out of addresses.

Review Cisco Networking for a $25 gift card