Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FS#1274 - odhcpd logspam every ~10 minutes: "Using a RA lifetime of 0 seconds" #5678

Closed
openwrt-bot opened this issue Jan 14, 2018 · 1 comment
Labels

Comments

@openwrt-bot
Copy link

sourcejedi:

Supply the following if possible:

  • Device problem occurs on

Netgear WNDR 3800

  • Software versions of OpenWrt/LEDE release, packages, etc.

Lede 17.04.1
odhcpd - 2017-10-02-c6f3d5d4-2

logspam as follows. This is captured at a time when there are no active users. I think all wifi clients were fully turned off / suspended.

Jan 14 04:00:47 mortar.carrier.duckdns.org odhcpd[869]: Using a RA lifetime of 0 seconds on br-lan
Jan 14 04:03:30 mortar.carrier.duckdns.org odhcpd[869]: Using a RA lifetime of 0 seconds on wlan1-1
Jan 14 04:04:50 mortar.carrier.duckdns.org odhcpd[869]: Using a RA lifetime of 0 seconds on wlan0-1
Jan 14 04:08:13 mortar.carrier.duckdns.org odhcpd[869]: Using a RA lifetime of 0 seconds on wlan1-1
Jan 14 04:09:17 mortar.carrier.duckdns.org odhcpd[869]: Using a RA lifetime of 0 seconds on br-lan
Jan 14 04:12:24 mortar.carrier.duckdns.org odhcpd[869]: Using a RA lifetime of 0 seconds on wlan0-1
Jan 14 04:13:27 mortar.carrier.duckdns.org odhcpd[869]: Using a RA lifetime of 0 seconds on br-lan
Jan 14 04:16:46 mortar.carrier.duckdns.org odhcpd[869]: Using a RA lifetime of 0 seconds on wlan0-1
Jan 14 04:17:00 mortar.carrier.duckdns.org odhcpd[869]: Using a RA lifetime of 0 seconds on wlan1-1
Jan 14 04:20:25 mortar.carrier.duckdns.org odhcpd[869]: Using a RA lifetime of 0 seconds on br-lan

I believe these are all the interfaces configured with IPv6 address assignments. The assignments are from a ULA (see below); I have no public prefix. I have two other wifi interfaces which do not appear in the logspam (and one WAN interface), but they have no IPv6 address assigned.

E.g. the lan config is

config interface 'lan'
option force_link '1'
option type 'bridge'

option proto 'static'
option ip6assign '60'
option netmask '255.255.255.0'
list ipaddr '172.16.1.1'
list ipaddr '172.16.1.2'
option _orig_ifname 'eth0.1'
option _orig_bridge 'true'
option ifname 'eth0.1'

config globals 'globals'
option ula_prefix 'fd5e:fcf3:b885::/59'

@openwrt-bot
Copy link
Author

dedeckeh:

Since you don't have a public IPv6 prefix the router lifetime in the unsolicited RA messages will be 0.
By default odhcpd uses the default minimum and maximum router advertisement interval described in RFC4861 :

MaxRtrAdvInterval
The maximum time allowed between sending
unsolicited multicast Router Advertisements from
the interface, in seconds. MUST be no less than 4
seconds and no greater than 1800 seconds.

                 Default: 600 seconds

MinRtrAdvInterval
The minimum time allowed between sending
unsolicited multicast Router Advertisements from
the interface, in seconds. MUST be no less than 3
seconds and no greater than .75 *
MaxRtrAdvInterval.

                 Default: 0.33 * MaxRtrAdvInterval If
                 MaxRtrAdvInterval >= 9 seconds; otherwise, the
                 Default is MaxRtrAdvInterval.

As such the frequency and contents of the trace is completely normal; the trace is there for trouble shooting purposes (which is often required if people complain about IPv6 connectivity issues) but if you want to suppress the trace you can set the loglevel uci parameter to 0 in the dhcp odhcpd uci section.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant