odhcpd icon indicating copy to clipboard operation
odhcpd copied to clipboard

ignore flag doesnt work

Open yeryomin opened this issue 10 years ago • 2 comments

config dhcp 'lan' option interface 'lan' option start '100' option limit '150' option leasetime '12h' option dhcpv6 'server' option ra 'server' option ignore '1'

config dhcp 'wan' option interface 'wan' option ignore '1'

config odhcpd 'odhcpd' option maindhcp '1' option leasefile '/tmp/hosts/odhcpd' option leasetrigger '/usr/sbin/odhcpd-update'

According to documentation if there is ignore=1 on an interface odhcpd should ignore that interface. But it doesn't happen. In the configuration like above IP addresses are issued to clients on lan interface.

yeryomin avatar Sep 28 '15 17:09 yeryomin

seems that if ignore flag would work it would conflict with dnsmasq start script, which takes dhcpv4 option into account if it's present on lan interface

yeryomin avatar Oct 02 '15 09:10 yeryomin

ignore should be paid attention to by dnsmasq, and it is, but I agree, it doesn't seem to be observed by odhcpd

karlp avatar Sep 21 '16 15:09 karlp