I was noticing Network Manager and nm-applet were taking a lot of CPU, and in the process of inspecting it, I ran
ip a. There were thousands of temporary addresses associated with my Ethernet device. To give an idea, here's a word count:
ip a | wc 23128 120541 1537623
Here's a small (redacted) excerpt. I took this today, and the output is much shorter (after 3 hours uptime,
ip a amounts to approximately 2700 lines). There aren't many people using the network today.
2: enp2s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000 link/ether (MAC) brd ff:ff:ff:ff:ff:ff inet 10.*.*.*/16 brd 10.*.255.255 scope global dynamic noprefixroute enp2s0 valid_lft 6533sec preferred_lft 6533sec inet6 fd9d:*******/128 scope global noprefixroute valid_lft forever preferred_lft forever inet6 fd6d:*******/64 scope global temporary dynamic valid_lft 7122sec preferred_lft 1722sec inet6 fd6d:*******/64 scope global dynamic mngtmpaddr noprefixroute (several lines skipped) inet6 fd9d:*******/64 scope global temporary deprecated dynamic valid_lft 4593sec preferred_lft 0sec
As soon as I plug in the Ethernet cable, Network Manager stars registering temporary IPv6 addresses, at an approximate rate of 2 addresses per second.
daemon.log shows multiple messages akin to the following
Feb 15 17:12:36 pulga nm-dispatcher: req:18 'dhcp6-change' [enp2s0]: new request (1 scripts) Feb 15 17:12:36 pulga nm-dispatcher: req:18 'dhcp6-change' [enp2s0]: start running ordered scripts...
But they stop after a while.
On the other hand,
syslog is littered with messages like the following:
Feb 15 17:12:51 pulga kernel: [ 639.006713] IPv6: ipv6_create_tempaddr: retry temporary address regeneration
I also keep getting a duplicate IP warning in
messages when connected to our wireless network. Is this unrelated, or does it suggest something wrong with our network configuration?
Feb 15 17:13:49 pulga kernel: [ 696.702519] IPv6: wlp3s0: IPv6 duplicate address fd9d:*:*::* used by e0:d5:*:*:*:* detected! Feb 15 17:13:49 pulga NetworkManager: <info> [1550265229.6930] device (wlp3s0): ipv6: duplicate address check failed for the fd9d:*:*::*/128 lft forever pref forever lifetime 668-0[*****,*****] dev 3 flags permanent,noprefixroute,tentative,0x8 src kernel address