Skip to content

networkd: IPv6 address is lost after router reconnects to ISP #3879

@jaystrictor

Description

@jaystrictor

Submission type

  • Bug report

systemd version the issue has been seen with

systemd 231

Used distribution

ArchLinux ARM on a RaspberryPi2

In case of bug report: Expected behaviour you didn't see

When the router of my local network reconnects to the ISP (and thus changes the IPv6 prefix), I want the device to obtain a new IPv6 address via DHCPv6 or RA.

In case of bug report: Unexpected behaviour you saw

When the router reconnects, the device loses the IPv6 addresses for Global Unicast and for Unique Local Unicast after some time. (The IPv6 address for Link Local and the IPv4 address remain.)
In the logs, it shows

wlan0: Could not set NDisc route or address: Invalid argument
wlan0: Failed

I can fix this by running systemctl restart systemd-networkd.service: new IPv6 addresses are obtained.

In case of bug report: Steps to reproduce the problem

Configure systemd-networkd with

[Match]
Name=wl*

[Network]
DHCP=yes

[DHCP]
RouteMetric=20

and buy a FritzBox 7360 router. Wait for the nightly disconnect to happen.

Attached:

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions