Hi aswinthomas, now I think I see your problem. It seems to be a hard one.
I suppose your configuration should be put as
Code:
netmask = 255.0.0.3
subnet = 10.0.0.2
Writting that in binaries
Code:
netmask = 11111111.00000000.00000000.00000011
subnet = 00000110.00000000.00000000.00000010
In this way your server will offer IPs that have the first octects equals 00000110 and the last two bits equals '10' and the rest are free to be anything.
But the problem is the range. I do not know how to put a range of IPs in this way. You must put a list with all IPs and of course it would be impossible.