No empty shared-network allowed version 4.2.4

Glenn Satchell glenn.satchell at uniq.com.au
Tue Oct 13 14:29:38 UTC 2015


On Tue, October 13, 2015 10:00 pm, Simon Hobson wrote:
> Ryan Gray <ryantgray at gmail.com> wrote:
>
>> I have a need for empty shared-network declarations in my dhcpd.conf
>> file.  Like so:
>>
>> shared-network VIDEO {
>> }
>
> Why ?
> If it's just a marker for something you may add later, make it into a
> comment.

My guess is they "fixed" something in the parser. Can you put an empty
subnet declaration in it for a subnet you don't have, eg:

shared-network VIDEO {
  subnet 10.0.0.0 netmask 255.255.255.252 {
  }
}

regards,
-glenn



More information about the dhcp-users mailing list