Zend certified PHP/Magento developer

How to configure DHCP server rules to assign different IP ranges for different racks

I want to configure DHCP server rules such that different racks are assigned different IP ranges. Every rack has around 20 servers and there are 10 racks, how do I configure DHCP server such that every rack gets a different IP range, every rack has a top of the rack switch. I am trying to build a native rack awareness tool where one can figure out which servers are sitting in which racks.