Configuration by subclass and subnet

Simon Hobson dhcp1 at thehobsons.co.uk
Thu Oct 18 15:24:10 UTC 2012


Sten Carlsen wrote:

>Right, my question was also more generic, IF for some obscure reason 
>I decide it makes sense to have two classifications based on X and Y 
>, so I would have, say:
>
>classes X1, X2, X3, ...
>classes Y1, Y2, Y3, ...
>
>All devices belong to one of the Xn classes and to one of the Yn 
>classes. This could give me some freedom to use allow/deny to 
>allocate from pools, etc.
>
>I happen to put option Z in both class X3 and Y2 (my mistake or 
>something very convoluted) how would dhcp decide which option Z to 
>use? the one from X3 or the one from Y2?

It's undefined. There may be an implementation specific ordering, but 
relying on that would be "poor practice" to say the least.

-- 
Simon Hobson

Visit http://www.magpiesnestpublishing.co.uk/ for books by acclaimed
author Gladys Hobson. Novels - poetry - short stories - ideal as
Christmas stocking fillers. Some available as e-books.


More information about the dhcp-users mailing list