Router as DHCP....!

Unanswered Question


Even if my LAN is, can i use just for DHCP dynamic assigned range.... and leave rest of the IP's (neither excluded range nor dhcp rang)

ip dhcp pool XYZ

network <=> i want to use this range rather than (complete LAN IP range). Can i use it?

I just want my one dhcp server to cater first 254 IP's for one floor and second pool of 254 IP's should be cater by dhcp server which is hsrp peer of the previous router.


I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Jon Marshall Sat, 03/08/2008 - 09:45

Hi Gaurav

You could do this but any device that receives an IP from DHCP will have a subnet mask of If you have any non-DHCP devices with the subnet mask then they will think the DHCP machines are in the same subnet but the DHCP mahines will think that the non-DHCP servers are in a different subnet.


Richard Burts Sat, 03/08/2008 - 10:33


You certainly can put the first 254 addresses into one DHCP server (or router acting as DHCP server) and put the second 254 addresses into the other DHCP server. But it probably will not work as you want it to. You describe it as being one set of addresses for one floot and the second set of addresses for a second floor. But if the routers are HSRP peers then both servers are in the same broadcast domain. This means that both servers will hear any broadcast DHCP request. And both servers will respond to the DHCP request. It is highly unlikely that addresses on one floor will be assigned only by the server that you intend.

And as Jon points out the DHCP clients will get a subnet mask of /24. This will introduce some complication as stations in the first half of the real range attempt to communicate with stations in the last half of the range.




This Discussion