Logical Subnetting; DHCP server gives out IP AND MASK per host for static leases
by DoctorWizard from LinuxQuestions.org on (#54T5V)
I am trying to perform 'logical subnetting' on my home network, which involves static/reserved DHCP leases for most devices on the network, and in addition to assigning IP addresses based on MAC, I also want to set the mask based on MAC.
Idea being that subnets are in 'layers' with each layer getting a more permissive mask such that at the base level, the scopes of each subnet overlap.
But no DHCP server I have looked at so far has the ability to specify a mask on a per-host basis. A friend of mine is a CCNE and he tells me this is quite easy and quite common on Cisco switches but he knows little of Linux. With much Googling I have run across a few forum posts that claim this can be done with "the Linux DHCP server" but scant on details.
So does anyone know if this actually IS possible, and which DHCP server software does it?
(I am NOT a network pro, but not stupid on the subject either. I know enough to be dangerous :D)


Idea being that subnets are in 'layers' with each layer getting a more permissive mask such that at the base level, the scopes of each subnet overlap.
But no DHCP server I have looked at so far has the ability to specify a mask on a per-host basis. A friend of mine is a CCNE and he tells me this is quite easy and quite common on Cisco switches but he knows little of Linux. With much Googling I have run across a few forum posts that claim this can be done with "the Linux DHCP server" but scant on details.
So does anyone know if this actually IS possible, and which DHCP server software does it?
(I am NOT a network pro, but not stupid on the subject either. I know enough to be dangerous :D)