TIA. I don't have your particular use case but don't see what is missing yet. host section The host section is where static leases are defined. . Also standard daemons take more resources and 32 mb of RAM can be too small for them all. # example config of how to use odchp instead of . (I have seen /etc/config/dhcp config files with both sections). Odhcp6c is the OpenWrt IPv6 client daemon for the wan side, which interacts with the ISP's DHCPv6/slaac. )odhcpd is a decidated dhcpv6/ra daemon and the default for handling ipv6 stuff. Below is a listing of all the public mailing lists on lists. Odhcpd is good thing for most uses but there're scenarios where its not enough flexible and radvd have to be used. The current OpenWrt forum resides at https://forum.openwrt.org/. May be because dnsmasq is more configurable and for older versions compatibility. There may be a necessary break in Unbound vs dnsmasq. dhcp section Configuration for DHCPv4, DHCPv6, RA and NDP services. I am curious, does your DNSMasq configuration support DHCPv6-PD client and server? I have downstream routers which automagically get IPv6 prefixes from my gateway router (via odhcpd). I am using unbound as DNS resolver and I wanted to get rid of dnsmasq so I am using odhcpd, but if you are not I think you are fine. (It could handle also DHCPv4 for ipv4, but normally does not. To my knowledge, it handles both DHCPv6 and slaac. They also may not fit to builtin flash. Content may be missing or not representing the latest edited version. Odhcpd contain dhcpv4 code. (It can be compiled to support also ipv6, but it does not do that by default.) on 27 Apr 2018. Powered by Discourse, best viewed with JavaScript enabled. I have a question about odhcp and dnsmasq. Now my question is do i need odhcp ? The content of this topic has been archived On my router i have configured my own internal DNS server using entirely using dnsmasq. 1 Like Doppel-D December 2, 2018, 9:43am #3 dnsmasq also provides ntp settings, default gateway settings and bootp/pxe boot environment using the DHCP configuration lines. So, odhcpd is openwrt specific daemon written in C to meet all its specific needs. In embended devices is not much space to install everything in full configuration. But this way openwrt becomes something else - may be more simular to standard linux distros. There are no obvious gaps in this topic, but there may still be some posts missing at the end. openwrt .org. The dnsmasq DHCPv6 server provides the same set of features as the DHCPv4 server, and in addition, it includes router advertisements and a neat feature which allows nameing for clients which use DHCPv4 and stateless autoconfiguration only for IPv6 configuration. Thanks, but is there a reason WHY dnsmasq is not used for IPv6 by default? You lose ability to control it properly via uci/luci/ubus/netifd and may encounter some conflicts between built-in management leftovers and external daemons which know nothing about openwrt. odhcpd is a decidated dhcpv6/ra daemon and the default for handling ipv6 stuff. Can someone help and explain to me if it add's value to dnsmasq ? (It can be compiled to support also ipv6, but it does not do that by default. openwrt-odchp-ipv4.uci. In May 2018, the OpenWrt forum suffered a total data loss. dnsmasq is the DNS server and also the ipv4 dhcp server. From the home page (thekelleys.org.uk/dnsmasq/doc.html): (I'm particularly interested in anything IPv6-related)Is there any reason why would I need both? odhcpd section Configuration for the odhcp daemon. I'm confused about the overlap between dnsmasq and odhcpd.What does one offer that the other doesn't? # /etc/config/dhcp. Initially devs wrote shell scripts for all the stuff and used well known commands and daemons but later they started to write native daemons because of increased stability and reliability.Better question - why still dnsmasq used as dhcpv4 server. Thanks, but is there a reason WHY dnsmasq is not used for IPv6 by default? odhcpd is usually only used for the IPv6 side of things (yes, there is a full -non-default- version that could also replace dnsmasq completely), in particular DHCPv6 and prefix delegation; dnsmasq however covers IPv4 DHCP and DNS for IPv4 and IPv6. Currently i have it disabled at startup but i cannot get it clear to me what is does and if i need it. ubus API Replace dnsmasq with odhcpd to access IPv4 leases. What I mean is that in my use case (and many share this) OpenWRT must act as a DHCPv6-PD client to the ISP (using odhcp6c by default), getting a prefix, and then act as a server to the LAN with the delegated prefix (using odhcpd by default). Without ipv6 odhcpd can be safely disabled.If you disable dnsmasq you will lose dns and dhcpv4.Of course its possible to throw away standard openwrt management and use some daemons - bind, isc-dhcp server, radvd. This archive is an effort to restore and make available as much content as possible. dnsmasq is the DNS server and also the ipv4 dhcp server. This is a read-only archive of the old OpenWrt forum. Is there any reason why would I need both? In addition to dhcpv6 it provides all RA functionality -accepts RAs (instead of default kernel built-in mechanism which is not used in openwrt),can act as RA server and can do RA/NDP relaying (which is itself very specific function).Its well integrated with openwrt's network management engine - netifd - and communicates with it directly via ubus interface. The functionality is somewhat limited.) odhcpd is usually only used for the IPv6 side of things (yes, there is a full -non-default- version that could also replace dnsmasq completely), in particular DHCPv6 and prefix delegation; dnsmasq however covers IPv4 DHCP and DNS for IPv4 and IPv6. odhcpd does much more than just ipv6 dhcp. Your comment about server/client confuses me, odhcp6c is still needed as there is no busybox replacement (udhcp6c) yet. The discussion might have continued from here. Click on a list name to get more information about the list, or to subscribe, unsubscribe, and change the preferences on. Thanks, but is there a reason WHY dnsmasq is not used for IPv6 by default?From the home page (thekelleys.org.uk/dnsmasq/doc.html): I think..almost each features in openwrt are mini(slim) and full. (Last edited by bolvan on 20 Oct 2016, 18:40). For historic reasons as far as I can tell, dnsmasq-full provides all my IPv6 needs and odhcpd is disabled all together. ubus -v list dhcp ubus call dhcp ipv4leases ubus call dhcp ipv6leases Compiling odhcpd uses cmake. Odhpcd is the OpenWrt-specific IPv6 addressing server for the Lan side. There is support for doing address allocation (both DHCPv6 and RA) from subnets which are dynamically delegated via DHCPv6 prefix delegation.