config: set RFC defaults for preferred lifetime
[project/odhcpd.git] / README
diff --git a/README b/README
index f9cbb117004294a738add82945f4b3365fa484f0..c8f2eb4234abe2628dba240f844fdb4a0db07dd5 100644 (file)
--- a/README
+++ b/README
@@ -64,6 +64,7 @@ maindhcp      bool    0                       Use odhcpd as the main DHCPv4
                                                service
 leasefile      string                          DHCP/v6 lease/hostfile
 leasetrigger   string                          Lease trigger script
+hostsfile      string                          DHCP/v6 hostfile
 loglevel       integer 6                       Syslog level priority (0-7)
 
 
@@ -95,10 +96,15 @@ dhcpv6_assignall    bool    1                       Assign all viable DHCPv6 addresses
                                                        in statefull mode; if disabled
                                                        only the DHCPv6 address having the
                                                        longest preferred lifetime is assigned
+dhcpv6_hostidlength    integer 12                      Host ID length of dynamically created leases,
+                                                       allowed values: 12 - 64 (bits).
 dhcpv6_na              bool    1                       DHCPv6 stateful addressing hands out IA_NA -
                                                                Internet Address - Network Address
 dhcpv6_pd              bool    1                       DHCPv6 stateful addressing hands out IA_PD -
                                                                Internet Address - Prefix Delegation
+dhcpv6_pd_min_len      integer -                       Minimum prefix length to delegate with IA_PD
+                                                       (value is adjusted if needed to be greater
+                                                       than the interface prefix length).  Range [1,62]
 router                 list    <local address>         Routers to announce
                                                        accepts IPv4 only
 dns                    list    <local address>         DNS servers to announce
@@ -110,7 +116,7 @@ domain                      list    <local search domain>   Search domains to announce
 leasetime              string  12h                     DHCPv4 address leasetime
 start                  integer 100                     DHCPv4 pool start
 limit                  integer 150                     DHCPv4 pool size
-preferred_lifetime     string  12h                     Value for the preferred lifetime
+preferred_lifetime     string  7d                      Value for the preferred lifetime
                                                        for a prefix
 ra_default             integer 0                       Override default route
                        0: default, 1: ignore no public address, 2: ignore all
@@ -136,15 +142,19 @@ ra_retranstime            integer 0                       Retransmit Time in milliseconds to be
                                                        advertised in RA messages
 ra_hoplimit            integer 0                       Current hoplimit to be advertised
                                                        in RA messages
-ra_mtu                 integer 0                       MTU to be advertised in
+ra_mtu                 integer -                       MTU to be advertised in
                                                        RA messages
 ra_dns                 bool    1                       Announce DNS configuration in
                                                        RA messages (RFC8106)
+ra_pref64              string                          Announce PREF64 option
+                       [IPv6 prefix]                   for NAT64 prefix (RFC8781)
 ndproxy_routing                bool    1                       Learn routes from NDP
 ndproxy_slave          bool    0                       NDProxy external slave
 prefix_filter          string  ::/0                    Only advertise on-link prefixes within
                        [IPv6 prefix]                   the provided IPv6 prefix; others are
                                                        filtered out.
+ntp                    list    <local address>         NTP servers to announce
+                                                       accepts IPv4 and IPv6
 
 
 Sections of type host (static leases)