[FS#1438] odhcpd serving ipv4 does not honor DHCP start or limit parameters

LEDE Bugs lede-bugs at lists.infradead.org
Tue Apr 17 14:21:30 PDT 2018


The following task has a new comment added:

FS#1438 - odhcpd serving ipv4 does not honor DHCP start or limit parameters
User who did this - Hans Dedecker (dedeckeh)

----------
Works for me using following config :

dhcp.lan=dhcp
dhcp.lan.interface='lan'
dhcp.lan.start='100'
dhcp.lan.leasetime='12h'
dhcp.lan.dhcpv6='server'
dhcp.lan.ra='server'
dhcp.lan.dhcpv4='server'
dhcp.lan.limit='1'
dhcp.odhcpd=odhcpd
dhcp.odhcpd.leasefile='/tmp/hosts/odhcpd'
dhcp.odhcpd.leasetrigger='/usr/sbin/odhcpd-update'
dhcp.odhcpd.loglevel='7'
dhcp.odhcpd.maindhcp='1'

Client is assigned 192.168.1.100 which is within the configured range :

Tue Apr 17 21:17:49 2018 daemon.notice odhcpd[2031]: Got DHCPv4 request
Tue Apr 17 21:17:49 2018 daemon.info odhcpd[2031]: assigning mapped IP (empty list): 192.168.1.100
Tue Apr 17 21:17:49 2018 daemon.warn odhcpd[2031]: received DHCPV4_MSG_DISCOVER from 10:fe:ed:89:1e:02
Tue Apr 17 21:17:49 2018 daemon.warn odhcpd[2031]: sending DHCPV4_MSG_OFFER to 10:fe:ed:89:1e:02 - 192.168.1.100
Tue Apr 17 21:17:49 2018 daemon.debug odhcpd[2031]: Received 300 Bytes from 0.0.0.0%br-lan
Tue Apr 17 21:17:49 2018 daemon.notice odhcpd[2031]: Got DHCPv4 request
Tue Apr 17 21:17:49 2018 daemon.warn odhcpd[2031]: received DHCPV4_MSG_REQUEST from 10:fe:ed:89:1e:02
Tue Apr 17 21:17:49 2018 daemon.warn odhcpd[2031]: sending DHCPV4_MSG_ACK to 10:fe:ed:89:1e:02 - 192.168.1.100

----------

More information can be found at the following URL:
https://bugs.openwrt.org/index.php?do=details&task_id=1438#comment4610



More information about the lede-bugs mailing list