Revert "odhcpd.h: fix alignment style"
[project/odhcpd.git] / README
diff --git a/README b/README
index 72a2674..8c3b12c 100644 (file)
--- a/README
+++ b/README
@@ -34,7 +34,7 @@ prefix delegation and can be used to relay RA, DHCPv6 and NDP between routed
 3. DHCPv4-support
    server: stateless and stateful mode
 
 3. DHCPv4-support
    server: stateless and stateful mode
 
-4. Proxy for Neighbor Discovery messages (solicitations and advertisments)
+4. Proxy for Neighbor Discovery messages (solicitations and advertisements)
    a) support for auto-learning routes to the local routing table
    b) support for marking interfaces "external" not proxying NDP for them
       and only serving NDP for DAD and for traffic to the router itself
    a) support for auto-learning routes to the local routing table
    b) support for marking interfaces "external" not proxying NDP for them
       and only serving NDP for DAD and for traffic to the router itself
@@ -62,6 +62,7 @@ legacy                bool    0                       Enable DHCPv4 if start but
                                                no dhcpv4 option set
 leasefile      string                          DHCP/v6 lease/hostfile
 leasetrigger   string                          Lease trigger script
                                                no dhcpv4 option set
 leasefile      string                          DHCP/v6 lease/hostfile
 leasetrigger   string                          Lease trigger script
+loglevel       integer 6                       Syslog level priority (0-7)
 
 
 Sections of type dhcp (configure DHCP / DHCPv6 / RA / NDP service)
 
 
 Sections of type dhcp (configure DHCP / DHCPv6 / RA / NDP service)
@@ -70,7 +71,9 @@ Option                Type    Default                 Description
 interface      string  <name of UCI section>   logical OpenWrt interface
 ifname         string  <resolved from logical> physical network interface
 networkid      string  same as ifname          compat. alias for ifname
 interface      string  <name of UCI section>   logical OpenWrt interface
 ifname         string  <resolved from logical> physical network interface
 networkid      string  same as ifname          compat. alias for ifname
-ignore         bool    0                       ignore this interface
+ignore         bool    0                       do not serve this interface
+                                               unless overridden by ra, ndp,
+                                               dhcpv4 or dhcpv6 options
 master         bool    0                       is a master interface
                                                for relaying
 
 master         bool    0                       is a master interface
                                                for relaying
 
@@ -85,6 +88,8 @@ ndp           string  disabled                Neighbor Discovery Proxy
 
 dynamicdhcp    bool    1                       dynamically create leases
                                                for DHCPv4 and DHCPv6
 
 dynamicdhcp    bool    1                       dynamically create leases
                                                for DHCPv4 and DHCPv6
+router          list    <local address>         Routers to announce
+                                                accepts IPv4 only
 dns            list    <local address>         DNS servers to announce
                                                accepts IPv4 and IPv6
 domain         list    <local search domain>   Search domains to announce
 dns            list    <local address>         DNS servers to announce
                                                accepts IPv4 and IPv6
 domain         list    <local search domain>   Search domains to announce
@@ -93,7 +98,6 @@ leasetime     string  12h                     DHCPv4 address leasetime
 start          integer 100                     DHCPv4 pool start
 limit          integer 150                     DHCPv4 pool size
 
 start          integer 100                     DHCPv4 pool start
 limit          integer 150                     DHCPv4 pool size
 
-ula_compat     bool    0                       Announce ULA in compat mode
 ra_default     integer 0                       Override default route
                0: default, 1: ignore no public address, 2: ignore all
 ra_management  integer 1                       RA management mode
 ra_default     integer 0                       Override default route
                0: default, 1: ignore no public address, 2: ignore all
 ra_management  integer 1                       RA management mode
@@ -101,16 +105,16 @@ ra_management     integer 1                       RA management mode
 ra_offlink     bool    0                       Announce prefixes off-link
 ra_preference  string  medium                  Route(r) preference
                [medium|high|low]
 ra_offlink     bool    0                       Announce prefixes off-link
 ra_preference  string  medium                  Route(r) preference
                [medium|high|low]
-ndproxy_routing        bool    0                       Learn routes from NDP
+ndproxy_routing        bool    1                       Learn routes from NDP
 ndproxy_slave  bool    0                       NDProxy external slave
 ndproxy_slave  bool    0                       NDProxy external slave
-ndproxy_static list                            Static NDProxy prefixes
 
 
 
 
-Sections of type lease (static leases)
+Sections of type host (static leases)
 Option         Type    Default                 Description
 ip             string                          IP-Address to lease
 mac            string                          MAC-address
 duid           string                          DUID in base16
 hostid         string                          IPv6 host identifier
 Option         Type    Default                 Description
 ip             string                          IP-Address to lease
 mac            string                          MAC-address
 duid           string                          DUID in base16
 hostid         string                          IPv6 host identifier
-hostname       string                          Hostname
+name           string                          Hostname
+leasetime      string                          DHCPv4/v6 leasetime