dhcp.conf

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
#
# DHCP Server Configuration file.
# see /usr/share/doc/dhcp*/dhcpd.conf.sample
#
ddns-update-style interim;
ignore client-updates;
default-lease-time 21600;
max-lease-time 43200;
option domain-name "example.com";
option domain-name-servers 212.116.161.40,84.95.14.250;
subnet 192.168.0.0 netmask 255.255.255.0 {
option routers 192.168.0.1;
option subnet-mask 255.255.255.0;
option broadcast-address 192.168.0.255;
option time-offset -18000; # Eastern Standard Time
range dynamic-bootp 192.168.0.2 192.168.0.11;
# option nis-domain "domain.org";
# option ntp-servers 192.168.0.1;
# option netbios-name-servers 192.168.0.1;
# option netbios-node-type 2;
# we want the nameserver to appear at a fixed address
host slave {
hardware ethernet 00:0E:2E:8A:19:FA;
fixed-address 192.168.0.11;
}
}
subnet 192.168.122.0 netmask 255.255.255.0 {
option routers 192.168.122.1;
option subnet-mask 255.255.255.0;
option broadcast-address 192.168.122.255;
option time-offset -18000; # Eastern Standard Time
range dynamic-bootp 192.168.122.2 192.168.122.11;
# option nis-domain "domain.org";
# option ntp-servers 192.168.0.1;
# option netbios-name-servers 192.168.0.1;
# option netbios-node-type 2;
}