Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

i'm just wondering if it's possible. i don't want to hear about other solutions, since i know them. I just want to know if ISC dhcpd (or any other open source dhcp server) implement it.

Imagine that i have a subnet configured in my dhcpd and as part of this subnet i have two ip ranges/pools (A and B) with the same allocation policy. Is that true, that in this scenario, the dhcpd will do a round-robin for the address allocation?

Another question is: is that possible to assing to an ip pool two routers with different metrics?

My idea is: to have two ip pools, in the same subnet, allocating ip in a round-robing fashion from those pools and with two gateways using different metrics.

so for a subnet

i will have two pools. Pool A ( and Pool B ( For the pool A i want to give router metric 10 and metric 20 and for ips from the pool B, router metric 10 and metric 20.

is that possible?

share|improve this question

AFAIK, you can definitely have multiple pools per subnet, with different options per pool. However, the ISC dhcp server will use these pools in order of declaration, and will probably first exhaust the first pool before using the next one, unless further conditions are attached (e.g. matching to some kind of vendor identifier or MAC address or similar) which would allow the server to determine which pool to use. In other words, no round-robin.

share|improve this answer
make sense. +1, i should probably dig the source code. – VP. May 20 '11 at 13:16

I remember that there is an execute evaluation command in isc hdcpd that can be used to make the decision on wich class to use for giving out pools of addresses. So you could have a simple bash script that then assigns these clients to random classes.

share|improve this answer
hehe I knew it was possible, see:… – Jure1873 May 20 '11 at 16:09

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.