Skip to content

ipv6PrefixCheck — Failure to trigger update after router restart #2

@fiwswe

Description

@fiwswe

I have seen two situations were a restart of the router (FRITZ!Box) did not lead to the updated IPv6 prefix being noticed.

  • After a power outage (affecting the router but not the host running the script).
  • After a reboot of the FRITZ!Box (due to a software update).

Effectively both cases are similar in that the router suddenly disappears and when it reappears it reconnects to the Internet receiving new IPs and IPv6 prefix. On OpenBSD this will lead to two public IPv6 addresses being present, one with the old IPv6 prefix and another with the new one. The old IPv6 address will be non-functional of course as it will not be routed to the WAN interface of our router. The timeouts before this situation resolves itself can be on the order of 2 hours in my setup.

This situation may cause the script to fail to recognise that the actual IPv6 prefix has changed, until the lifetime of the old public IPv6 address has been reached and the address is removed from the interface.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions