authoritative;
default-lease-time 600;
max-lease-time 7200;
log-facility local7;key dhcpupdate {
algorithm hmac-md5;
secret SICqF8F0BVjvoE2EQS0eXA==;
}
zone urfu {
primary 127.0.0.1;
key dhcpupdate;
}
zone 2.168.192.in-addr.arpa {
primary 127.0.0.1;
key dhcpupdate;
}
subnet 192.168.2.0 netmask 255.255.255.0 {
option subnet-mask 255.255.255.0;
option broadcast-address 192.168.2.255;
option routers 192.168.2.1; #,192.168.2.1;
option domain-name-servers 192.168.2.1; #93.88.181.2,8.8.8.8,93.88.182.2;
option domain-name "urfu";
#option ntp-servers 192.168.2.1;
ddns-updates on; #Разрешение Dynamic DNS
ddns-update-style interim;
ddns-domainname "urfu";
ddns-rev-domainname "2.168.192.in-addr.arpa";
ignore client-updates;
update-static-leases true;
option netbios-name-servers 192.168.2.10; #Самба-сервер, выступающий в роли WINS-сервера
option netbios-node-type 8;
default-lease-time 3600; #36000;
max-lease-time 7200; #43200;
# Клиенты получают маршруты от сервера DHCP (для работы этого надо раскомменитровать определение выше)
# option ms-classless-static-routes 16,172,16,172,16,10,1, 8,10,172,16,10,1, 20,93,88,176,172,16,10,1;
range 192.168.2.30 192.168.2.254;
group top{
host area51 { hardware ethernet 00:1C:C0:5A:21:E1; fixed-address 192.168.2.10; }
host dhcp11 { hardware ethernet 00:1c:c0:5a:22:4c; fixed-address 192.168.2.11; }
host dhcp12 { hardware ethernet 00:e0:4c:16:11:29; fixed-address 192.168.2.12; }
host dhcp13 { hardware ethernet 00:50:ba:53:49:aa; fixed-address 192.168.2.13; }
host dhcp14 { hardware ethernet 00:1c:c0:5a:33:1f; fixed-address 192.168.2.14; }
host dhcp15 { hardware ethernet 00:1c:c0:0a:0f:26; fixed-address 192.168.2.15; }
host dhcp16 { hardware ethernet 00:1c:c0:0a:0f:18; fixed-address 192.168.2.16; }
host dhcp17 { hardware ethernet 70:71:bc:0b:c9:c5; fixed-address 192.168.2.17; }
host dhcp18 { hardware ethernet 00:19:66:2c:4e:a9; fixed-address 192.168.2.18; }
host dhcp19 { hardware ethernet 00:19:66:2c:4e:a1; fixed-address 192.168.2.19; }
host dhcp20 { hardware ethernet 00:01:6c:a5:bc:85; fixed-address 192.168.2.20; }
host dhcp21 { hardware ethernet 00:1c:c0:0a:0f:4a; fixed-address 192.168.2.21; }
}
}