I am running debian buster.
The machine has one network card and IPv4 is set static, whereas IPv6 is provided by DHCP.
To be honest, I am not sure in what file this is configured, as I configure it via the GUI of Openmediavault.
Unfortunately, from time to time, the System looses its ipv6 address. Ifconfig then looks like this:
enp0s31f6: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.177.3 netmask 255.255.255.0 broadcast 192.168.177.255
inet6 fe80::921b:eff:xxx:xxxx prefixlen 64 scopeid 0x20<link>
ether 90:1b:0e:fc:2c:60 txqueuelen 1000 (Ethernet)
RX packets 21513158 bytes 27288080124 (25.4 GiB)
RX errors 0 dropped 91456 overruns 0 frame 0
TX packets 15850650 bytes 18266710480 (17.0 GiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device interrupt 16 memory 0xef000000-ef020000
The link local address is still there, though.
I have a script running that checks for the ipv6 every hour, and later every two minutes. Thus, I know the approximate times of this issue:
14.11. 23:10
12.11. 18:00
10.11. 14:44
In the logs I find related to this:
/var/log/daemon.log.1-Nov 10 18:02:49 homeserver systemd-networkd[342]: enp0s31f6: Lost carrier
/var/log/daemon.log.1-Nov 10 18:02:49 homeserver systemd-networkd[342]: enp0s31f6: DHCPv6 lease lost
/var/log/syslog.1:Nov 10 17:49:06 homeserver systemd-networkd[342]: enp0s31f6: DHCPv6 lease lost
/var/log/syslog.1:Nov 10 18:02:49 homeserver systemd-networkd[342]: enp0s31f6: DHCPv6 lease lost
/var/log/syslog.1:Nov 10 18:03:34 homeserver systemd-networkd[342]: enp0s31f6: DHCPv6 lease lost
/var/log/daemon.log:Nov 13 10:10:58 homeserver systemd-networkd[350]: veth12215dc: Lost carrier
/var/log/daemon.log:Nov 13 10:10:58 homeserver systemd-networkd[350]: veth409fb24: Lost carrier
/var/log/daemon.log:Nov 13 10:10:58 homeserver systemd-networkd[350]: veth4ad44d4: Lost carrier
/var/log/daemon.log:Nov 13 10:10:58 homeserver systemd-networkd[350]: vethc075308: Lost carrier
/var/log/daemon.log:Nov 13 10:11:08 homeserver systemd-networkd[350]: veth29a1380: Lost carrier
/var/log/daemon.log:Nov 14 22:08:48 homeserver systemd-networkd[351]: br-d141163a6e22: Lost carrier
/var/log/daemon.log.1:Nov 10 14:43:38 homeserver systemd-networkd[351]: veth10a3b75: Lost carrier
/var/log/daemon.log.1:Nov 10 15:03:42 homeserver systemd-networkd[351]: enp0s31f6: Lost carrier
/var/log/daemon.log.1:Nov 10 16:19:52 homeserver systemd-networkd[342]: br-d760c86fad51: Lost carrier
/var/log/daemon.log.1:Nov 10 16:19:52 homeserver systemd-networkd[342]: br-bceb55143ce1: Lost carrier
/var/log/daemon.log.1:Nov 10 16:19:52 homeserver systemd-networkd[342]: br-c44e5d23c243: Lost carrier
/var/log/daemon.log.1:Nov 10 16:19:52 homeserver systemd-networkd[342]: br-0e5a5786429e: Lost carrier
/var/log/daemon.log.1:Nov 10 16:19:53 homeserver systemd-networkd[342]: br-65ec02cc16ef: Lost carrier
/var/log/daemon.log.1:Nov 10 16:19:54 homeserver systemd-networkd[342]: br-d141163a6e22: Lost carrier
/var/log/daemon.log.1:Nov 10 17:49:06 homeserver systemd-networkd[342]: enp0s31f6: Lost carrier
/var/log/daemon.log.1:Nov 10 18:02:49 homeserver systemd-networkd[342]: enp0s31f6: Lost carrier
/var/log/daemon.log.1:Nov 10 18:03:34 homeserver systemd-networkd[342]: enp0s31f6: Lost carrier
and -but I think this is only a result from the lost ipv6:
Nov 14 23:08:58 homeserver avahi-daemon[1416]: Withdrawing address record for 2a00:6020:4509:ac00:921b:eff:fefc:2c60 on enp0s31f6.
Nov 14 23:08:58 homeserver avahi-daemon[1416]: Leaving mDNS multicast group on interface enp0s31f6.IPv6 with address 2a00:6020:4509:ac00:921b:eff:fefc:2c60.
Nov 14 23:08:58 homeserver avahi-daemon[1416]: Joining mDNS multicast group on interface enp0s31f6.IPv6 with address fe80::921b:eff:fefc:2c60.
Nov 14 23:08:58 homeserver avahi-daemon[1416]: Registering new address record for fe80::921b:eff:fefc:2c60 on enp0s31f6.*.
How can I find the reason for the lost ipv6?
Best regards,
Hendrik