Closed ghost closed 5 years ago
Besides setting maindhcp to 1 you need to set also dhcpv4 to server in the lan dhcp section
config dhcp 'lan'
option interface 'lan'
option start '100'
option limit '150'
option leasetime '12h'
option dhcpv4 'server'
I thought I had read the documentation but apparently missed it...
After upgrading to openwrt 21.02, I cannot odhcpd to server IPv4 leases. (It used to work just fine before the upgrade)
I do have the "option dhcpv4 'server'" properly set as well as the maindhcp (in the odhcpd section). I seems the dhcpv4 is completely disabled but I don't know why. Even started with -l 7, I see no logging/debug that would help me understand what is going on.
Any idea?
After upgrading to openwrt 21.02, I cannot odhcpd to server IPv4 leases. (It used to work just fine before the upgrade)
I do have the "option dhcpv4 'server'" properly set as well as the maindhcp (in the odhcpd section). I seems the dhcpv4 is completely disabled but I don't know why. Even started with -l 7, I see no logging/debug that would help me understand what is going on.
Any idea?
Forget it, I actually had the odhcpd-ipv6only package installed after the upgrade... Sorry
ubus -S call system board
The
odhcp
package feed is pulled from OpenWRT 18.06The aim is to utilise
odhcp
for ipv4 dhcp leases as it is for ipv6. With the latter it is working as expected but it does not work for ipv4.with /etc/config/dhcp
it would be expected that odhcpd is listening on udp port 67 in order to serve ipv4 dhcp queries, having dnsmasq stopped/disabled/removed, but it does not however and thus not serving ipv4 queries.