Qtech QSW-2850-28T-AC Руководство пользователя онлайн [284/382] 481572

Qtech QSW-2800-10T-AC-RPS Руководство по эксплуатации онлайн [284/382] 481566
www.qtech.ru
Linux ISC DHCP сервер поддерживает опцию 82, его конфигурационный файл
/etc/dhcpd.conf:
ddns-update-style interim;
ignore client-updates;
class "Switch3Vlan2Class1" {
match if option agent.circuit-id = "Vlan2+Ethernet1/2" and option
agent.remote-id=00:1f:ce:02:33:01;
}
class "Switch3Vlan2Class2" {
match if option agent.circuit-id = "Vlan2+Ethernet1/3" and option
agent.remote-id=00:1f:ce:02:33:01;
}
subnet 192.168.102.0 netmask 255.255.255.0 {
option routers 192.168.102.2;
option subnet-mask 255.255.255.0;
option domain-name "example.com.cn";
option domain-name-servers 192.168.10.3;
authoritative;
pool {
range 192.168.102.21 192.168.102.50;
default-lease-time 86400; #24 Hours
max-lease-time 172800; #48 Hours
allow members of "Switch3Vlan2Class1";
}
pool {
range 192.168.102.51 192.168.102.80;
default-lease-time 43200; #12 Hours
max-lease-time 86400; #24 Hours
allow members of "Switch3Vlan2Class2";
}
}

Содержание

Скачать