Чагадаев как он есть > Руководства (howto)
[manual, FreeBSD, network] dhcpd: настройка
(1/1)
adc:
--- Код: (/etc/rc.conf) ---### isc-dhcpd #######################################################
dhcpd_enable="YES"
dhcpd_ifaces=${int_if}
--- Конец кода ---
--- Код: (dhcpd.conf) ---# Created: 2011.04.11
# Modified:
# 1 hour
default-lease-time 3600;
max-lease-time 7200;
use-host-decl-names on;
# Use this to enble / disable dynamic dns updates globally.
ddns-update-style none;
# If this DHCP server is the official DHCP server for the local
# network, the authoritative directive should be uncommented.
authoritative;
subnet 192.168.0.0 netmask 255.255.255.0
{
range 192.168.0.100 192.168.0.200;
option routers 192.168.0.1;
option domain-name "specstanok.ru";
option domain-name-servers 192.168.0.1;
option ntp-servers 192.168.0.1;
}
host adc
{
hardware ethernet 00:1b:38:b7:06:83;
fixed-address 192.168.0.66;
}
host adc_Wi-Fi
{
hardware ethernet 00:13:e8:8b:ea:9b;
fixed-address 192.168.0.66;
}
host adc-vmw
{
hardware ethernet 00:0c:29:2d:81:e2;
fixed-address 192.168.0.67;
}
--- Конец кода ---
Навигация
Перейти к полной версии