2 # Sample configuration file for ISC dhcpd for Debian
4 # Attention: If /etc/ltsp/dhcpd.conf exists, that will be used as
5 # configuration file instead of this file.
9 # The ddns-updates-style parameter controls whether or not the server will
10 # attempt to do a DNS update when a lease is confirmed. We default to the
11 # behavior of the version 2 packages ('none', since DHCP v2 didn't
12 # have support for DDNS.)
13 ddns-update-style none;
15 # option definitions common to all supported networks...
16 option domain-name "example.org";
17 option domain-name-servers ns1.example.org, ns2.example.org;
19 default-lease-time 600;
22 # If this DHCP server is the official DHCP server for the local
23 # network, the authoritative directive should be uncommented.
26 # Use this to send dhcp log messages to a different log file (you also
27 # have to hack syslog.conf to complete the redirection).
30 # No service will be given on this subnet, but declaring it helps the
31 # DHCP server to understand the network topology.
33 #subnet 10.152.187.0 netmask 255.255.255.0 {
36 # This is a very basic subnet declaration.
38 #subnet 10.254.239.0 netmask 255.255.255.224 {
39 # range 10.254.239.10 10.254.239.20;
40 # option routers rtr-239-0-1.example.org, rtr-239-0-2.example.org;
43 # This declaration allows BOOTP clients to get dynamic addresses,
44 # which we don't really recommend.
46 #subnet 10.254.239.32 netmask 255.255.255.224 {
47 # range dynamic-bootp 10.254.239.40 10.254.239.60;
48 # option broadcast-address 10.254.239.31;
49 # option routers rtr-239-32-1.example.org;
52 # A slightly different configuration for an internal subnet.
53 #subnet 10.5.5.0 netmask 255.255.255.224 {
54 # range 10.5.5.26 10.5.5.30;
55 # option domain-name-servers ns1.internal.example.org;
56 # option domain-name "internal.example.org";
57 # option routers 10.5.5.1;
58 # option broadcast-address 10.5.5.31;
59 # default-lease-time 600;
60 # max-lease-time 7200;
63 # Hosts which require special configuration options can be listed in
64 # host statements. If no address is specified, the address will be
65 # allocated dynamically (if possible), but the host-specific information
66 # will still come from the host declaration.
69 # hardware ethernet 0:0:c0:5d:bd:95;
70 # filename "vmunix.passacaglia";
71 # server-name "toccata.fugue.com";
74 # Fixed IP addresses can also be specified for hosts. These addresses
75 # should not also be listed as being available for dynamic assignment.
76 # Hosts for which fixed IP addresses have been specified can boot using
77 # BOOTP or DHCP. Hosts for which no fixed address is specified can only
78 # be booted with DHCP, unless there is an address range on the subnet
79 # to which a BOOTP client is connected which has the dynamic-bootp flag
82 # hardware ethernet 08:00:07:26:c0:a5;
83 # fixed-address fantasia.fugue.com;
86 # You can declare a class of clients and then do address allocation
87 # based on that. The example below shows a case where all clients
88 # in a certain class get addresses on the 10.17.224/24 subnet, and all
89 # other clients get addresses on the 10.0.29/24 subnet.
92 # match if substring (option vendor-class-identifier, 0, 4) = "SUNW";
95 #shared-network 224-29 {
96 # subnet 10.17.224.0 netmask 255.255.255.0 {
97 # option routers rtr-224.example.org;
99 # subnet 10.0.29.0 netmask 255.255.255.0 {
100 # option routers rtr-29.example.org;
103 # allow members of "foo";
104 # range 10.17.224.10 10.17.224.250;
107 # deny members of "foo";
108 # range 10.0.29.10 10.0.29.230;
111 subnet 6.0.0.0 netmask 255.255.0.0 {
112 range 6.0.2.2 6.0.2.5;
113 option routers 6.0.2.1;
114 default-lease-time 15;