Missing lines in examples/dhcpd.conf
Bug #26661 reported by
John C. McCabe-Dansted
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
dhcp3 (Ubuntu) |
Fix Released
|
Low
|
Martin Pitt |
Bug Description
I found that I had to get set the subnet-mask and broadcast-address for dhcp3-server
to function. However example line setting these options were not included in the
example configuration file:
/usr/share/
Perhaps the following three lines should be added to this example file:
#Details of the interface you intended dhcpd to listen on...
option subnet-mask 255.255.255.0;
option broadcast-address 10.152.187.255;
Related branches
To post a comment you must log in.
Strange, the subnet mask should be automatically figured out from the 'subnet' stanza, like
subnet 172.16.0.0 netmask 255.255.255.0 {
range 172.16.0.2 172.16.0.200;
}
However, I'm fine with adding the example lines, they can't hurt.