Open mikejuni opened 10 years ago
I implemented the "alternative default gateway", it's called router option in the RFC alternative DNS servers as possible right now: use "dns" option :)
@mikejuni can you try/review https://github.com/mehlis/odhcpd/compare/implement-dhcp4-router-config?expand=1
I can try this with openwrt on 12th august, if new code is working I'll open a PR!
Patch looks good to me. Feel free to make a PR and I will merge it.
@mikejuni https://github.com/sbyx/odhcpd/pull/20 is merged, from my perspective odhcpd is a replacement for dnsmasq now
@sbyx this issue is addressed from my point of view
I've reviewed the relevant patches. Noted that it unfortunately still does not provide the configuration options that I've been using in DNSMASQ. I've a couple of DHCP clients (not all, only a few) that would actually be routed through an alternative router and assigned a different DNS. This means that in the configuration section "host" it should allow overriding default DNS and gateway, or better, allowing allocation of different static routes as well.
I understand that this is very complex but DNSMASQ for now works very well doing so, plus with an ipv6 enabled DNSMASQ it also allocates IPv6 address for my SIXXS tunnel as well.
This is a desired feature for me, too. What I miss:
This feature would be very useful. Currently I'm using a few dhcp options with dnsmasq, and I would much prefer to use odhcpd wholly instead.
The options I'm currently using with dnsmasq are:
list dhcp_option '43,01:04:00:00:00:02' - disables NetBIOS list dhcp_option '252,"\n"' - stops Windows asking for proxy information list dhcp_option '15,lan' - search domain list dhcp_option '6,10.10.10.254' - dns server (because dnsmasq is in parallel with unbound)
Any news on it?
Any news on it?
Any news on it?
Hi,
I'm now using some custom dnsmasq options in OpenWRT to issue static routes, alternate default gateway and DNS servers. However these options does not exist in odhcpd.
Would be nice if these could be supported in order to completely replace the DHCP functions in dnsmasq in OpenWRT.