Hi misc@, I recently setup a fancy OpenBSD 7.7 router. I get IPv6 prefixes from my ISP and use dhcp6leased to use one of them.
router# cat /etc/dhcp6leased.conf request prefix delegation on em0 for { em1/64 } Very simple setup. It's been working fine for 2 days (and longer before that), but IPv6 stopped working for me. My LAN interface, em1, no longer showed the assigned prefix, so my LAN devices were no longer getting any kind of global IPv6. I checked tcpdump and couldn't see anything obvious and weird going on. What fixed it was restarting dhcp6leased. Given the logs I see, I wonder if this is a bug in dhcp6leased? I feel like if the prefix was expired, it should not have started working after restarting the daemon. Aug 27 22:53:12 router dhcp6leased[71488]: prefix delegation #0 PREFIX::/56 received on em0 from server 00020000c71000000065 Aug 27 22:54:28 router dhcp6leased[26431]: Renewing lease on em0 Aug 27 22:55:28 router dhcp6leased[26431]: Rebinding lease on em0 Aug 27 22:56:59 router dhcp6leased[26431]: Rebinding lease on em0 Aug 27 22:58:18 router dhcp6leased[71488]: Prefix delegation #0 PREFIX::/56 expired on em0 from server 00020000c71000000065 Aug 27 22:58:18 router dhcp6leased[26431]: Soliciting lease on em0 Aug 27 22:58:18 router dhcp6leased[26431]: Requesting lease on em0 Aug 27 22:59:24 router dhcp6leased[26431]: Requesting lease on em0 ... Aug 28 01:45:28 router dhcp6leased[71488]: Prefix delegation #0 PREFIX::/56 expired on em0 from server 00020000c71000000065 Aug 28 01:45:28 router dhcp6leased[26431]: Soliciting lease on em0 Aug 28 01:45:28 router dhcp6leased[26431]: Requesting lease on em0 Aug 28 01:46:34 router dhcp6leased[26431]: Requesting lease on em0 Aug 28 01:47:38 router dhcp6leased[71488]: Prefix delegation #0 PREFIX::/56 expired on em0 from server 00020000c71000000065 Aug 28 01:47:38 router dhcp6leased[26431]: Soliciting lease on em0 Aug 28 01:47:38 router dhcp6leased[26431]: Requesting lease on em0 Aug 28 01:48:44 router dhcp6leased[26431]: Requesting lease on em0 Aug 28 01:49:48 router dhcp6leased[71488]: Prefix delegation #0 PREFIX::/56 expired on em0 from server 00020000c71000000065 Aug 28 01:49:48 router dhcp6leased[26431]: Soliciting lease on em0 Aug 28 01:49:48 router dhcp6leased[26431]: Requesting lease on em0 Aug 28 01:50:54 router dhcp6leased[26431]: Requesting lease on em0 Aug 28 01:51:59 router dhcp6leased[71488]: Prefix delegation #0 PREFIX::/56 expired on em0 from server 00020000c71000000065 Aug 28 01:51:59 router dhcp6leased[26431]: Soliciting lease on em0 Aug 28 01:51:59 router dhcp6leased[26431]: Requesting lease on em0 Aug 28 01:53:04 router dhcp6leased[26431]: Requesting lease on em0 Aug 28 01:53:14 router dhcp6leased[71488]: engine exiting Aug 28 01:53:14 router dhcp6leased[26431]: frontend exiting Aug 28 01:53:14 router dhcp6leased[30468]: terminating Aug 28 01:53:17 router dhcp6leased[19554]: Rebinding lease on em0 Aug 28 01:53:17 router dhcp6leased[11911]: prefix delegation #0 PREFIX::/56 received on em0 from server 00020000c71000000065 Also, in that log range, PREFIX didn't change -- it was the same the whole time. Curious what you think. Thanks! -Henrich