Constant odhcpd warnings in log DHCPV6 SOLICIT IA_NA, 18.06.0

After upgrading from 18.06.0 RC2 to 18.06.0 I've started getting a lot of warnings in the log (paste below) concerning odhcpd.

The network configuration hasn't changed since 17.01.04, the warnings were not present in RC2 afaik.

I don't know much about IPv6 but the address fd0e:1341:ec52::2b7/128 in the log seems to belong to the router itself, to br-lan(?).

Questions:
What do these warnings mean?
What can I do to fix them?
Should/Can I ignore them?
Can I suppress these warnings? (change loglevel of odhcpd I believe?)

Warnings:

Fri Aug  3 18:15:02 2018 daemon.notice odhcpd[670]: Got DHCPv6 request
Fri Aug  3 18:15:02 2018 daemon.warn odhcpd[670]: DHCPV6 REQUEST IA_NA from 0001000122e7964a4c7403ca8f65 on br-lan: not on-link
Fri Aug  3 18:15:02 2018 daemon.notice odhcpd[670]: Got DHCPv6 request
Fri Aug  3 18:15:02 2018 daemon.warn odhcpd[670]: DHCPV6 SOLICIT IA_NA from 0001000122e7964a4c7403ca8f65 on br-lan: ok fd0e:1341:ec52::2b7/128
Fri Aug  3 18:15:02 2018 daemon.notice odhcpd[670]: Got DHCPv6 request
Fri Aug  3 18:15:02 2018 daemon.warn odhcpd[670]: DHCPV6 REQUEST IA_NA from 0001000122e7964a4c7403ca8f65 on br-lan: not on-link
Fri Aug  3 18:15:09 2018 daemon.notice odhcpd[670]: Got DHCPv6 request
Fri Aug  3 18:15:09 2018 daemon.warn odhcpd[670]: DHCPV6 REQUEST IA_NA from 0001000122e7964a4c7403ca8f65 on br-lan: not on-link
Fri Aug  3 18:15:15 2018 daemon.notice odhcpd[670]: Got DHCPv6 request
Fri Aug  3 18:15:15 2018 daemon.warn odhcpd[670]: DHCPV6 REQUEST IA_NA from 0001000122e7964a4c7403ca8f65 on br-lan: not on-link
Fri Aug  3 18:15:21 2018 daemon.notice odhcpd[670]: Got DHCPv6 request
Fri Aug  3 18:15:21 2018 daemon.warn odhcpd[670]: DHCPV6 SOLICIT IA_NA from 0001000122e7964a4c7403ca8f65 on br-lan: ok fd0e:1341:ec52::2b7/128
Fri Aug  3 18:15:21 2018 daemon.notice odhcpd[670]: Got DHCPv6 request
Fri Aug  3 18:15:21 2018 daemon.warn odhcpd[670]: DHCPV6 REQUEST IA_NA from 0001000122e7964a4c7403ca8f65 on br-lan: not on-link
Fri Aug  3 18:15:28 2018 daemon.notice odhcpd[670]: Got DHCPv6 request
Fri Aug  3 18:15:28 2018 daemon.warn odhcpd[670]: DHCPV6 REQUEST IA_NA from 0001000122e7964a4c7403ca8f65 on br-lan: not on-link
Fri Aug  3 18:15:34 2018 daemon.notice odhcpd[670]: Got DHCPv6 request
Fri Aug  3 18:15:34 2018 daemon.warn odhcpd[670]: DHCPV6 REQUEST IA_NA from 0001000122e7964a4c7403ca8f65 on br-lan: not on-link
Fri Aug  3 18:15:40 2018 daemon.notice odhcpd[670]: Got DHCPv6 request
Fri Aug  3 18:15:40 2018 daemon.warn odhcpd[670]: DHCPV6 SOLICIT IA_NA from 0001000122e7964a4c7403ca8f65 on br-lan: ok fd0e:1341:ec52::2b7/128
Fri Aug  3 18:15:40 2018 daemon.notice odhcpd[670]: Got DHCPv6 request
Fri Aug  3 18:15:40 2018 daemon.warn odhcpd[670]: DHCPV6 REQUEST IA_NA from 0001000122e7964a4c7403ca8f65 on br-lan: not on-link

My dhcp config:

config dnsmasq
	option domainneeded '1'
	option boguspriv '1'
	option localise_queries '1'
	option rebind_protection '1'
	option rebind_localhost '1'
	option local '/lan/'
	option domain 'lan'
	option expandhosts '1'
	option authoritative '1'
	option readethers '1'
	option leasefile '/tmp/dhcp.leases'
	option localservice '1'
	option nonwildcard '0'
	option noresolv '1'

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

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

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

Anyone? This still happens in 18.06.1
The device that seems to trigger this is an Android phone, but there are no settings I can change in it relating to IPv6.

This seems to be related to Android no implementing DHCPv6 completely : https://issuetracker.google.com/issues/36949085

My question is, how to get around this to suppress all the log messages?

Odd, IPv6 works for me on OpenWrt on Android versions:

  • Lollipop
  • Marshmallow
  • Nougat
  • Oreo

Correct, there is a known DHCPv6 issue, but your config appears to be using RA also. And RA works in Android. See:

Remove these 2 lines:

Add this line:

list dns '<Link_Local_IP_OR_assigned_IPv6_of_router>'

1 Like

Thank you, I'll try this.

1 Like

You actually can set the loglevel of odhcpd to something lower than 4 (warning) to suppress the warning messeages and everything above. You are just missing the option in your config file:

config odhcpd 'odhcpd'
 	option maindhcp '0'
 	option leasefile '/tmp/hosts/odhcpd'
 	option leasetrigger '/usr/sbin/odhcpd-update'
 	option loglevel '4'

set it to

option loglevel '3'

and the messages you describe will be gone.