odhcp6c - Embedded DHCPv6 Client ** Abstract ** odhcp6c is a minimal DHCPv6 and RA-client for use in embedded Linux systems. ** Features ** 1. Handling of non-temporary addresses a) handling of valid and preferred lifetimes b) duplicate address detection c) automatic fallback to stateless or PD-only mode 2. Support for DHCPv6 extension a) Reconfigure-Messages b) Prefix Delegation c) Prefix Exclusion d) DNS Configuration Options e) NTP Options f) SIP Options g) Information-Refresh Options h) SOL_MAX_RT default to 3600 3. Stateless fallback-support 4. State script support 5. Support for requesting and parsing Router Advertisements a) parsing of prefixes, routes, MTU and RDNSS options ** Compiling ** odhcp6c uses cmake: * To prepare a Makefile use: "cmake ." * To build / install use: "make" / "make install" afterwards. * To build DEB or RPM packages use: "make package" afterwards. ** State Script ** The state script is called whenever the DHCPv6 state changes. The script is called with the following parameters: States: * started The DHCPv6 client has been started * bound A suitable server was found and addresses or prefixes acquired * informed A stateless information request returned updated information * updated Updated information was received from the DHCPv6 server * ra-updated Updated information was received from via Router Advertisement * rebound The DHCPv6 client switched to another server * unbound The DHCPv6 client lost all DHCPv6 servers and will restart * stopped The DHCPv6 client has been stopped Environment: * RDNSS A space-separated list of recursive DNS servers * DOMAINS A space-separated list of DNS search domains * SNTP_IP A space-separated list of SNTP server IP addresses * SNTP_FQDN A space-separated list of SNTP server FQDNs * SIP_IP A space-separated list of SIP servers * SIP_DOMAIN A space-separated list of SIP domains * OPTION_ Custom option received as base-16 * PREFIXES A space-separated list of prefixes currently assigned Format: /,preferred,valid,/ * ADDRESSES A space-separated list of addresses currently assigned Format:
/,preferred,valid * RA_ADDRESSES A space-separated list of addresses from RA-prefixes Format:
/,preferred,valid * RA_ROUTES A space-separated list of routes from the RA Format:
/,gateway,valid,metric * RA_DNS A space-separated list of recursive DNS servers from the RA