Код: Выделить всё
dhcpd_enable="YES"
dhcpd_ifaces="vlan777"
Код: Выделить всё
default-lease-time 600;
max-lease-time 7200;
authoritative;
ddns-update-style none;
log-facility syslog;
#always-broadcast true;
subnet 10.140.84.0 netmask 255.255.255.240 {
range 10.140.84.3 95.140.84.11;
option routers 10.140.84.14;
option netbios-name-servers 10.243.64.100;
option domain-name-servers 10.243.64.1,10.243.65.2;
option domain-name "smt.ru";
}
host nout {
hardware ethernet 00:0b:5d:09:0c:68;
fixed-address 10.140.84.13;
}
Код: Выделить всё
Starting dhcpd.
Internet Systems Consortium DHCP Server V3.1.3
Copyright 2004-2009 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
Wrote 0 deleted host decls to leases file.
Wrote 0 new dynamic host decls to leases file.
Wrote 0 leases to leases file.
Listening on Socket/vlan777/10.140.84.0/28
Sending on Socket/vlan777/10.140.84.0/28
Код: Выделить всё
14:10:07.918399 IP 0.0.0.0.bootpc > 255.255.255.255.bootps: BOOTP/DHCP, Request from 00:0b:5d:09:0c:68 (oui Unknown), length 300
Код: Выделить всё
/usr/local/etc/rc.d/isc-dhcpd stop
dhcpd -d
Internet Systems Consortium DHCP Server V3.1.3
Copyright 2004-2009 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
Wrote 0 deleted host decls to leases file.
Wrote 0 new dynamic host decls to leases file.
Wrote 0 leases to leases file.
Listening on Socket/vlan777/10.140.84.0/28
Sending on Socket/vlan777/10.140.84.0/28
No subnet declaration for vlan700 (192.168.1.162).
You must write a subnet declaration for this
subnet. You cannot prevent the DHCP server
from listening on this subnet because your
operating system does not support this capability.
дописываю сеть для 700 влана
Код: Выделить всё
subnet 192.168.1.0 netmask 255.255.255.0 {
range 192.168.1.163 192.168.1.164;
}
Код: Выделить всё
dhcpd -d
Internet Systems Consortium DHCP Server V3.1.3
Copyright 2004-2009 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
Wrote 0 deleted host decls to leases file.
Wrote 0 new dynamic host decls to leases file.
Wrote 0 leases to leases file.
Listening on Socket/vlan777/10.140.84.0/28
Sending on Socket/vlan777/10.140.84.0/28
The standard socket API can only support hosts with a single network interface.