rendered paste body# /etc/dhcp/dhcpd.conf
option domain-name "zohar";
option domain-name-servers <first>, <seccond>;
default-lease-time 6000;
max-lease-time 7200;
ddns-update-style ad-hoc;
authoritative;
log-facility local7;
subnet 192.168.1.0 netmask 255.255.255.0
{
range dynamic-bootp 192.168.1.101 192.168.1.200;
option subnet-mask 255.255.255.0;
option broadcast-address 192.168.1.255;
option routers 192.168.1.1;
host fenix
{
hardware ethernet 00:0a:e4:25:96:eb;
fixed-address 192.168.1.89;
}
host enoch
{
hardware ethernet 00:0b:cd:5d:c3:1f;
fixed-address 192.168.1.99;
}
}
subnet 192.168.2.0 netmask 255.255.255.0
{
range dynamic-bootp 192.168.2.101 192.168.2.200;
option subnet-mask 255.255.255.0;
option broadcast-address 192.168.2.255;
option routers 192.168.2.1;
#host fenix
#{
# hardware ethernet 00:0e:35:24:be:90;
# fixed-address 192.168.2.89;
#}
#host enoch
#{
# hardware ethernet 00:0f:cb:b2:f5:8e;
# fixed-address 192.168.2.99;
#}
}