Section of type odhcpd
-Option Type Default Description
-legacy bool 0 Enable DHCPv4 if start but
- no dhcpv4 option set
-leasefile string DHCP/v6 lease/hostfile
-leasetrigger string Lease trigger script
+Option Type Default Description
+legacy bool 0 Enable DHCPv4 if start but
+ no dhcpv4 option set
+leasefile string DHCP/v6 lease/hostfile
+leasetrigger string Lease trigger script
Sections of type dhcp (configure DHCP / DHCPv6 / RA / NDP service)
-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
-ignore bool 0 ignore this interface
-master bool 0 is a master interface
- for relaying
-
-ra string disabled Router Advert service
- [disabled|server|relay|hybrid]
-dhcpv6 string disabled DHCPv6 service
- [disabled|server|relay|hybrid]
-dhcpv4 string disabled DHCPv4 service
- [disabled|server]
-ndp string disabled Neighbor Discovery Proxy
- [disabled|relay|hybrid]
-
-dynamicdhcp bool 1 dynamically create leases
- for DHCPv4 and DHCPv6
-dns list <local address> DNS servers to announce
- accepts IPv4 and IPv6
-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
-
-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
- 0: no M-Flag but A-Flag, 1: both M and A, 2: M but not A
-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_slave bool 0 NDProxy external slave
-ndproxy_static list Static NDProxy prefixes
+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
+ignore bool 0 ignore this interface
+master bool 0 is a master interface
+ for relaying
+
+ra string disabled Router Advert service
+ [disabled|server|relay|hybrid]
+dhcpv6 string disabled DHCPv6 service
+ [disabled|server|relay|hybrid]
+dhcpv4 string disabled DHCPv4 service
+ [disabled|server]
+ndp string disabled Neighbor Discovery Proxy
+ [disabled|relay|hybrid]
+
+dynamicdhcp bool 1 dynamically create leases
+ for DHCPv4 and DHCPv6
+dns list <local address> DNS servers to announce
+ accepts IPv4 and IPv6
+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
+
+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
+ 0: no M-Flag but A-Flag, 1: both M and A, 2: M but not A
+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_slave bool 0 NDProxy external slave
+ndproxy_static list Static NDProxy prefixes
Sections of type lease (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
-hostname string Hostname
+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