Closed xhci closed 1 year ago
Looks like dhcpcd didn't react to the DHCP6 advert at all. Try adding debug get any diagnostic? Does removing the ia_na directive help as you didn't get a NA address in the advert?
Looks like dhcpcd didn't react to the DHCP6 advert at all. Try adding debug get any diagnostic?
Does removing the ia_na directive help as you didn't get a NA address in the advert?
The "-d" flag seems to output pretty much the same thing, but I'll try again.
The ia_na
advertisement comes in as an ICMPv6 packet separately, and does seem to be processed. I can post that in a bit if you'd like to see it.
Edit - it's early here, and I read your comment backwards :). Removing ia_na
has the same behavior with regards to PD.
Could there be a firewall blocking the traffic? tcpdump listens below the firewall.
Could there be a firewall blocking the traffic? tcpdump listens below the firewall.
That's what I'm thinking as well, but curiously this worked fine with my other ISP. I've followed the OpenBSD recommendations for rules (in the pkg-readme) & have had dhcpcd chugging along happily for a couple years.
I'll post an update here after work. I'd like to get you quality debug info if the problem isn't on my end.
Thanks!
This did turn out to be a firewall rule.
From /usr/local/share/doc/pkg-readmes/dhcpcd
(maintained by OpenBSD):
Also ensure that pf.conf(5) allows DHCPv6 traffic to pass, for example:
pass in quick on pppoe0 proto udp from fe80::/10 port dhcpv6-server to fe80::/10 port dhcpv6-client
If you look at the packet dump from above, it's coming from a different range: Internet Protocol Version 6, Src: 2605:59c8:5100:b99d::1, Dst: fe80::20d:b9ff:fe43:5800
If I replace from fe80::/10
with from any
, I get a prefix assigned to my LAN address π.
So this looks like it's not a dhcpcd issue. My question to @rsmarples before I close the ticket: is the pkg-readme
technically correct, or should I submit a patch to get it updated? I assume both Comcast and Charter send advertisements from fe80::/10
since I didn't have this issue before. It wouldn't surprise me if Starlink was doing something out of the ordinary since they've just turned on ipv6.
Thanks again!
Good question! DHCP6 typically only works on fe80::/10, but by default all packets from the client are multicast to AllDhcpServers address. We only unicast after the first REPLY if we are given an IP6 address to unicast to. This is generally not given and does rely on the address being reachable.
Also, there is nothing in the standard I know of that says we need to validate the packet came from fe80, especially do the the unicast option.
I would submit a patch to get it updated - what you see is unusual though for sure.
Thanks! I hope everything is going well - glad to see you active again π
For future reference, i had a similar problem, prefixes weren't delegated. Turns out the dhcp server sent delegations but they never reached dhcpcd β the firewall accepted the packets, but for whatever reason the kernel sent ICMP redirects instead of passing the packets to the listening application. I couldn't figure out what the cause for this was, but a reboot solved the issue.
My WAN interface is em0 & LAN is em1. I'm running OpenBSD 7.2 & have had this working with a different ISP. For some reason, dhcpcd is not assigning a prefix to my LAN interface on the new ISP.
dhcpcd.conf:
/var/log/daemon:
advertisement capture:
based on the capture, it looks like I'm assigned a /56 corresponding to 2605:59c8:517a:2c00::, but it never gets assigned to em1.