"DHCPv6 address ... timeout preferred 150 valid 450 messages" in syslog

0

Recently I created a new Ubuntu 18.04 instance from AMI ID: ubuntu/images/hvm-ssd/ubuntu-bionic-18.04-amd64-server-20180613 (ami-04f8bb7c).

The syslog of this instance has many entries like this:

systemd-networkd\[...]: eth0: DHCPv6 address 2600:1f14:.../128 timeout preferred 150 valid 450

The network (IPv4 and IPv6) is working without any problem. The global IPv6 (2600:1f14:...) of this instance has no problems. However the above message is logged roughly every 75 seconds.

Any ideas?

Edited by: fedkad on Jun 22, 2018 8:20 PM

profile picture
fedkad
asked 6 years ago700 views
4 Answers
0

Anybody having the same problem with Ubuntu 18.04?

profile picture
fedkad
answered 6 years ago
0

I had to redirect these messages to another log file, so that my syslog file is not filled with these.

To do this I edited /etc/rsyslog.d/50-default.conf and added:

:programname,isequal,"systemd-networkd" -/var/log/systemd-networkd.log
:programname,isequal,"systemd-networkd" stop

A permanent solution is still expected.

profile picture
fedkad
answered 6 years ago
0

Hi, same issue here do you found a better solution ?

I m not sure my IPV6 config (vpc/subnet/route) is optimal... not a network guy at all... but it seems to work find with IPV6 (site accessible from outside)... but I have the same annoying msg related to DHCP ipv6 in my syslog.

Edited by: EdFloyd on Nov 29, 2018 5:40 AM

EdFloyd
answered 5 years ago
0

I contacted AWS support about this and they said it's normal and the messages can be prevented by doing this:

  1. Make a directory /etc/systemd/system/systemd-networkd.service.d/ if it does not exist already
    mkdir -p /etc/systemd/system/systemd-networkd.service.d/
  2. Open the /etc/systemd/system/systemd-networkd.service.d/logllevel.conf file
    vi /etc/systemd/system/systemd-networkd.service.d/logllevel.conf
  3. Paste below two lines, make sure you are not leaving any space before/after those lines
[Service]
Environment=SYSTEMD_LOG_LEVEL=notice
  1. Run below commands to reload daemon and restart systemd-networkd service
    systemctl daemon-reload
    systemctl restart systemd-networkd
rwkynet
answered 5 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions