On 29/07/2018 09:06, Martin Husemann wrote:
In the not working case, wm0 has: inet6 2405:9800:b550:2939:f234:69d6:e0bf:8ebf/64 flags 0x0 inet6 2405:9800:b550:2939:8638:35ff:fe48:5720/128 flags 0x0 and it would be good to understand where the second comes from. Maybe add "-d" to dhcpcd_flags in /etc/rc.conf and see what it says?
Oh that's easy. The second address has a /128 prefix which means it's come from a DHCP6 server. DHCP6 only hands out addresses which are not tied to any specific prefix (DHCP6 has no notion of prefixes, RA is used for that).
dhcpcd does not request DHCP6 by default unless it receives a RA with the M or O bit set. With M dhcpcd requests an address, with O dhcpcd just requests other information (everything but an address).
Roy