Project

General

Profile

Sample dhcpdconf » History » Version 2

Marcello de Sousa, 05/26/2011 11:51 AM

1 1 Ohad Levy
<pre>
2
ddns-update-style interim;
3
ignore client-updates;
4
authoritative;
5
allow booting;
6
allow bootp;
7
8
omapi-port 7911;
9 2 Marcello de Sousa
#Optional key:
10
key omapi_key {
11
        algorithm HMAC-MD5;
12
        secret "2wgoV3yukKdKMkmOzOn/hIsM97QgLTT4CLVzg9Zv0sWOSe1yxPxArmr7a/xb5DOJTm5e/9zGgtzL9FKna0NWis==";
13
}
14
omapi-key omapi_key;
15 1 Ohad Levy
16
subnet 10.1.1.0 netmask 255.255.255.0 {
17
# --- default gateway
18
  option routers      10.1.1.254;
19
  option subnet-mask  255.255.255.0;
20
21
  option domain-name    "domain.com";
22
  option domain-name-servers  10.1.1.1, 8.8.8.8;
23
  option log-servers    syslog;
24
  option ntp-servers    ntp;
25
26
  range dynamic-bootp 10.1.1.10 10.1.1.250;
27
  default-lease-time 21600;
28
  max-lease-time 43200;
29
30
}
31
</pre>