dhcpd(8) System Manager's Manual dhcpd(8) (NAME) dhcpd - (DHCP) (SYNOPSIS) dhcpd [ -p port ] [ -f ] [ -d ] [ -q ] [ -t | -T ] [ -4 | -6 ] [ -4o6 port ] [ -s server ] [ -cf config-file ] [ -lf lease-file ] [ -pf pid-file ] [ --no-pid ] [ -user user ] [ -group group ] [ -chroot dir ] [ -tf trace-output-file ] [ -play trace-playback-file ] [ if0 [ ...ifN ] ] dhcpd --version (DESCRIPTION) DHCP (ISC) dhcpd << >> (DHCP) << >> (BOOTP) . DHCP TCP/IP IP . BOOTP . (OPERATION) DHCP IP (pool) IP . dhcpd.conf(5) . DHCP : DHCPv4 DHCPv6. -4 -6 . dhcpd dhcpd.conf . DHCP dhcpd . (lease) ( ) . . IP . dhcpd dhcpd.leases(5) . dhcpd (flush) . (crash) dhcpd . dhcpd.conf dhcpd dhcpd.leases . dhcpd.leases . dhcpd dhcpd.leases (in-core) . dhcpd.leases~ dhcpd.leases . dhcpd.leases . BOOTP . DHCP BOOTP . BOOTP . BOOTP BOOTP . BOOTP BOOTP dhcpd.conf . dhcpd.conf dhcpd . dhcpd SIGTERM ( ) (PID) RUNDIR/dhcpd.pid dhcpd . DHCP BOOTP dhcpd dhcpd.conf . : . SIGHUP . . (mailing list) . (COMMAND LINE) dhcpd . dhcpd . dhcpd (up) DHCP . (COMMAND LINE OPTIONS) -4 DHCP. -6 . -6 DHCPv6. -4 . -4o6 port DHCPv4 over DHCPv6 RFC 7341. DHCPv4 DHCPv6 v4 v4 v6 . UDP ::1 port port + 1 . port . -p port UDP dhcpd . dhcpd . . -s address dhcpd (255.255.255.255) . IPv4 . -f dhcpd (foreground) . dhcpd inittab System V . -d (log) (stderr). DHCP syslogd . dhcpd syslog(3) LOG_DAEMON . -d -f ( ). -q . () . dhcpd ( /etc/rc) . -t . () . . -T . . . . . -user user (setuid) user . user . PARANOIA (./configure --enable-paranoia). -group group (setgid) group . group . PARANOIA (./configure --enable-paranoia). -chroot dir (chroot) dir. EARLY_CHROOT (./configure --enable-early-chroot) . PARANOIA (./configure --enable-paranoia). -tf tracefile . -- (core dump) -tf core dump -play . -play playfile . -play -lf DHCP . DHCP (playback) . --version . : dhcpd . dhcpd . -cf config-file . -lf lease-file . -pf pid-file pid . --no-pid pid. pid . . (PORTS) UDP TCP . . : DHCPv4 UDP DHCPv4 . (fallback) UDP (unicast) . BOOTPS . (failover peer) DHCPv4 TCP . (peer) . ( ) . DHCPv6 UDP dhcpv6-server . ICMP . omapi-port TCP OMAPI . . DDNS ( includes/site.h ) UDP UDP DDNS ddns-update-style none . (CONFIGURATION) dhcpd.conf(5) . dhcpd.conf(5) . (Subnets) dhcpd (netmask) . . DHCP : subnet 239.252.197.0 netmask 255.255.255.0 { range 239.252.197.10 239.252.197.250; } : subnet 239.252.197.0 netmask 255.255.255.0 { range 239.252.197.10 239.252.197.107; range 239.252.197.113 239.252.197.250; } BOOTP range subnet . (Lease Lengths) DHCP . . . -- . : . subnet : subnet 239.252.197.0 netmask 255.255.255.0 { range 239.252.197.10 239.252.197.107; default-lease-time 600; max-lease-time 7200; } ( ) ( ) . ( ) ( ) ( ) . -- DHCP . BOOTP (BOOTP Support) BOOTP dhcpd.conf . IP . . bootp : host haagen { hardware ethernet 08:00:2b:4c:59:23; fixed-address 239.252.197.9; filename "/tftpboot/haagen.boot"; } (OPTIONS) DHCP ( BOOTP - Vendor Extensions) ( ) ( DNS IP ) . BOOTP . BOOTP . DHCP : subnet 239.252.197.0 netmask 255.255.255.0 { range 239.252.197.10 239.252.197.250; default-lease-time 600; max-lease-time 7200; option subnet-mask 255.255.255.0; option broadcast-address 239.252.197.255; option routers 239.252.197.1; option domain-name-servers 239.252.197.2, 239.252.197.3; option domain-name "isc.org"; } bootp : host haagen { hardware ethernet 08:00:2b:4c:59:23; fixed-address 239.252.197.9; filename "/tftpboot/haagen.boot"; option domain-name-servers 192.5.5.1; option domain-name "example.com"; } dhcpd.conf dhcpd.conf(5) . OMAPI (OMAPI) DHCP . OMAPI-- -- . OMAPI TCP/IP . OMAPI API dhcpctl OMAPI . dhcpctl (wrapper) OMAPI . dhcpctl OMAPI dhcpctl(3) omapi(3) . OMAPI (objects) . DHCP : lease () host () failover-state ( ) group (). : lookup () create () destroy ( ). . (THE LEASE OBJECT) . : state integer lookup, examine 1 = free 2 = active 3 = expired 4 = released 5 = abandoned 6 = reset 7 = backup 8 = reserved 9 = bootp ip-address data lookup, examine IP . dhcp-client-identifier data lookup, examine, update . . client-hostname data examine, update host-name . host handle examine . subnet handle examine ( ). pool handle examine (pool) ( ). billing-class handle examine ( ). hardware-address data examine, update (chaddr) . hardware-type integer examine, update . ends time examine . tstp time examine . tsfp time examine ( ). partner-down . atsfp time examine tsfp . (retransmission) . cltt time examine . (THE HOST OBJECT) . OMAPI dhcpd.leases . dhcpd.conf . : name data lookup, examine, modify . . group handle examine, modify . hardware-address data lookup, examine, modify (link-layer) . hardware-type . hardware-type integer lookup, examine, modify . hardware-address . dhcp-client-identifier data lookup, examine, modify dhcp-client-identifier . ip-address data examine, modify IP DHCP . IP (network segment) . statements data modify dhcpd.conf . known integer examine, modify (pool permit lists) (known) . . (THE GROUP OBJECT) . OMAPI dhcpd.leases . dhcpd.conf . -- . : name data . OMAPI . statements data dhcpd.conf . (THE CONTROL OBJECT) . (failover) shutdown partner down "recover" . OMAPI . . . state . (THE FAILOVER-STATE OBJECT) failover-state . ( dhcpd.conf(5) ): name data examine dhcpd.conf . partner-address data examine IP . local-address data examine IP DHCP . partner-port data examine TCP . local-port data examine TCP DHCP . max-outstanding-updates integer examine . mclt integer examine (MCLT) . load-balance-max-secs integer examine secs (load balancing) . load-balance-hba data examine (hash bucket array) . local-state integer examine, modify DHCP . state : 1 - startup 2 - normal 3 - communications interrupted 4 - partner down 5 - potential conflict 6 - recover 7 - paused 8 - shutdown 9 - recover done 10 - resolution interrupted 11 - conflict done 254 - recover wait ( DHCP 3.0.x .) . DHCP partner down . DHCP MCLT . DHCP partner-down partner-down IP . partner-down . partner-state integer examine . local-stos integer examine DHCP . partner-stos integer examine . hierarchy integer examine DHCP () (). last-packet-sent integer examine DHCP . last-timestamp-received integer examine . skew integer examine (skew) DHCP . max-response-delay integer examine . cur-unacked-updates integer examine . (FILES) ETCDIR/dhcpd.conf, DBDIR/dhcpd.leases, RUNDIR/dhcpd.pid, DBDIR/dhcpd.leases~. (SEE ALSO) dhclient(8), dhcrelay(8), dhcpd.conf(5), dhcpd.leases(5) (AUTHOR) dhcpd(8) Ted Lemon Vixie Labs . Internet Systems Consortium . DHCP Nominum, Inc. . : https://www.isc.org. dhcpd(8)