Redundant DHCP server
If you want to build a truly redundant LAN infrastructure, you should also have redundant DHCP servers. If you decide to do the DHCP address allocation locally (on the router), you should take care that the two routers acting as DHCP servers don't assign overlapping addresses.
If the address space assigned to a LAN is at least twice as large as the number of LAN-attached devices, you can use the ip dhcp excluded-addresses command to exclude half of the address pool on each router, for example:
Note: You can also inspect the conflicting IP addresses the router found with the show ip dhcp conflict command.
If the address space assigned to a LAN is at least twice as large as the number of LAN-attached devices, you can use the ip dhcp excluded-addresses command to exclude half of the address pool on each router, for example:
ip dhcp pool LANAlternatively, you can rely on the ip dhcp ping packets command; the router will ping an IP address to check whether it's live before assigning it (by default, the router sends two pings with 500 millisecond timeout).
network 192.168.1.0 192.168.0.0 255.255.255.0
!
! Exclude router addresses
ip dhcp excluded-addresses 192.168.0.1 192.168.0.10
!
! Exclude half of the pool
ip dhcp excluded-addresses 192.168.0.128 192.168.0.255
Note: You can also inspect the conflicting IP addresses the router found with the show ip dhcp conflict command.
192.168.1.0 has to be 192.168.0.1
I generally configure "no ip dhcp conflict logging" as the router will broadcast for a tftp server to put the file on if left default. Or at least so I've been told.
"router(config)#ip dhcp database ?
WORD Uniform Resource Locator (URL)"
Is there any way to have some kind of redundancy between a windows dhcp server and a Cisco router ?
Thanks
One rtr is pri/active and other is standby. we have same scopes in both of them.
The service is running on the pri and not running on the sec. Only scopes have been created in sec and kept.
When the pri goes down, we are unable start the service on the sec as it is....we have reboot the sec as well, only then we are able to get the serivce on the sec.
not sure why we have to reboot the sec.
Thanks
Naveen
the IBM offices in Spain were brought down by some stray laptop that was running a DHCP server by accident. Yep. Believe it.