On Fri, Apr 24, 2015 at 09:06:08AM +0100, Roy Marples wrote:
DHCPv6 does not specify any default route or prefix.
On NetBSD, DHCPv6 is only started when a RA is received with either
the
O or M flags set and even then you need to use dhcpcd(8) to get this
working.
Did your host receive a valid RA?
I think so. I do have a valid IPv6 /56 prefix that has been allocated
to me by my ISP. I configured wm0 to have an address from this range:
ifconfig wm0 inet6 2001:44b8:25e:2d00::1 prefixlen 64 alias
which seemed to have worked. I tried doing:
dhcpcd -dB6T --nodhcp6 wm0
as suggested in the ipv6 networking faq, the output looks like things
are happening:
dhcpcd -dB6T --nodhcp6
dhcpcd-6.8.0 starting
DUID 00:01:00:01:1c:cc:55:d2:74:d0:2b:2b:89:bc
wm0: IAID 2b:2b:89:bc
wm0: delaying IPv6 router solicitation for 0.5 seconds
wm0: soliciting an IPv6 router
wm0: sending Router Solicitation
wm0: Router Advertisement from fe80::204:edff:feff:d562
wm0: executing `/libexec/dhcpcd-run-hooks' TEST
interface=wm0
pid=2396
reason=TEST
skip_hooks=lookup-hostname
ifcarrier=up
ifflags=4294936643
ifmtu=1500
ifwireless=0
ra1_addr=2001:44b8:25e:2d00:76d0:2bff:fe2b:89bc/64
ra1_from=fe80::204:edff:feff:d562
ra1_prefix=2001:44b8:25e:2d00::/64
ra_count=1
dhcpcd exited
but still no default route out. I know my router supports ipv6 and my
ISP connection is set for dual stack. My laptop, running an older
-current, which I configure using dhcp from the same router can contact
hosts on the internet using ipv6... so I must be missing something in
my
manual config.