I'm trying to add v6 to my second ISP connection on pppoe1, unlike my
first ISP, this one requires autoconf and dhcpv6-pd to pick up addresses
and have them routed. (They are referring to TR-187,
https://www.broadband-forum.org/technical/download/TR-187.pdf -
the "residential gateway" requirements are in section 6.1)
I haven't got as far as looking at dhcpv6-pd because when I enable
autoconf, as soon as it picks up the address I lose connected routes
to my local /64 subnets:
# sysctl kern.version
kern.version=OpenBSD 5.8 (GENERIC.MP) #1236: Sun Aug 16 02:31:04 MDT 2015
[email protected]:/usr/src/sys/arch/amd64/compile/GENERIC.MP
# netstat -rnfinet6|grep ^2001.*/64
2001:4b10:1002:ff::/64 fe80::225:90ff:fec0:77b4%pppoe0 U 0
0 - 4 pppoe0
2001:4b10:1002:cc01::/64 fe80::200:5eff:fe00:102%carp2 UC 2
0 - 4 carp2
2001:4b10:1002:cc03::/64 fe80::210:18ff:fe7f:1f06%vlan3 UC 1
0 - 4 vlan3
2001:4b10:1002:cc05::/64 fe80::210:18ff:fe7f:1f06%vlan5 UC 0
0 - 4 vlan5
2001:4b10:1002:cc07::/64 fe80::210:18ff:fe7f:1f06%vlan3666 UC
0 0 - 4 vlan3666
# ifconfig pppoe1 inet6 autoconf
# netstat -rnfinet6|grep ^2001.*/64
# ifconfig pppoe1 -inet6
# ifconfig pppoe1
pppoe1: flags=208851<UP,POINTOPOINT,RUNNING,SIMPLEX,MULTICAST,AUTOCONF6> mtu
1500
priority: 0
dev: em1 state: session
sid: 0x93f PADI retries: 2 PADR retries: 0 time: 00:02:12
sppp: phase network authproto chap authname "xx"
groups: pppoe egress
status: active
inet6 fe80::225:90ff:fec0:77b4%pppoe1 -> prefixlen 64 scopeid 0x14
inet 82.68.199.142 --> 62.3.84.27 netmask 0xffffffff
inet6 2a02:8011:d00e:3:225:90ff:fec0:77b4 -> prefixlen 64 autoconf
pltime 1799 vltime 17999
inet6 2a02:8011:d00e:3:a4f6:285a:fe8d:d1ac -> prefixlen 64 autoconf
autoconfprivacy pltime 1799 vltime 17999
# netstat -rnfinet6|grep ^2001.*/64
2001:4b10:1002:ff::/64 fe80::225:90ff:fec0:77b4%pppoe0 U 0
0 - 4 pppoe0
2001:4b10:1002:cc01::/64 fe80::200:5eff:fe00:102%carp2 UC 1
0 - 4 carp2
2001:4b10:1002:cc03::/64 fe80::210:18ff:fe7f:1f06%vlan3 UC 0
0 - 4 vlan3
2001:4b10:1002:cc05::/64 fe80::210:18ff:fe7f:1f06%vlan5 UC 0
0 - 4 vlan5
2001:4b10:1002:cc07::/64 fe80::210:18ff:fe7f:1f06%vlan3666 UC
0 0 - 4 vlan3666
Diffs of netstat -rnfinet6 (followed by full output, before+after) below.
Anyone have an idea what's going on?
...
$ diff -u0 before after | grep -v ^@
--- before Tue Aug 18 12:39:39 2015
+++ after Tue Aug 18 12:39:48 2015
+default fe80::230:88ff:fe16:5eff%pppoe1 UG
0 0 - 56 pppoe1
-2001:4b10:1002:cc01::/64 fe80::225:90ff:fec0:77b4%vlan2 UC 2
0 - 4 vlan2
-2001:4b10:1002:cc01:20d:93ff:fe63:da5a 00:0d:93:63:da:5a UHLc
0 3 - 4 vlan2
-2001:4b10:1002:cc01:230:48ff:fe58:8640 f8:b1:56:ac:32:76 UHLc
0 664 - 4 vlan2
-2001:4b10:1002:cc03::/64 fe80::210:18ff:fe7f:1f06%vlan3 UC 1
0 - 4 vlan3
-2001:4b10:1002:cc03:220:4aff:fec5:5b55 00:20:4a:c5:5b:55 UHLc
0 40 - 4 vlan3
-2001:4b10:1002:cc05::/64 fe80::210:18ff:fe7f:1f06%vlan5 UC 0
0 - 4 vlan5
-2001:4b10:1002:cc07::/64 fe80::210:18ff:fe7f:1f06%vlan3666 UC
0 0 - 4 vlan3666
+2a02:8011:d00e:3:225:90ff:fec0:77b4 2a02:8011:d00e:3:225:90ff:fec0:77b4 UHl
0 0 - 1 lo0
+2a02:8011:d00e:3:a4f6:285a:fe8d:d1ac 2a02:8011:d00e:3:a4f6:285a:fe8d:d1ac UHl
0 0 - 1 lo0
-fe80::fab1:56ff:feac:3276%vlan2 f8:b1:56:ac:32:76 UHLc 0
7 - 4 vlan2
+fe80::fab1:56ff:feac:3276%vlan2 f8:b1:56:ac:32:76 UHLc 0
8 - 4 vlan2
-fe80::220:4aff:fec5:5b55%vlan3 00:20:4a:c5:5b:55 UHLc 0
6 - 4 vlan3
+fe80::220:4aff:fec5:5b55%vlan3 00:20:4a:c5:5b:55 UHLc 0
8 - 4 vlan3
-fe80::%pppoe1/64 fe80::225:90ff:fec0:77b4%pppoe1 U
0 0 - 4 pppoe1
+fe80::%pppoe1/64 fe80::225:90ff:fec0:77b4%pppoe1 U
1 0 - 4 pppoe1
+fe80::230:88ff:fe16:5eff%pppoe1 pppoe1 UHL 0
0 - 4 pppoe1
# cat before
Routing tables
Internet6:
Destination Gateway Flags Refs
Use Mtu Prio Iface
::/104 ::1 UGRS 0
0 32768 8 lo0
::/96 ::1 UGRS 0
0 32768 8 lo0
::1 ::1 UHl 14
0 32768 1 lo0
::127.0.0.0/104 ::1 UGRS 0
0 32768 8 lo0
::224.0.0.0/100 ::1 UGRS 0
0 32768 8 lo0
::255.0.0.0/104 ::1 UGRS 0
0 32768 8 lo0
::ffff:0.0.0.0/96 ::1 UGRS 0
0 32768 8 lo0
2001:4b10:1002:cc01::/64 fe80::225:90ff:fec0:77b4%vlan2 UC 2
0 - 4 vlan2
2001:4b10:1002:cc01::1 00:25:90:c0:77:b4 HLl 0
0 - 1 lo0
2001:4b10:1002:cc01::ca1f 00:00:5e:00:01:02 HLl 0
0 - 1 lo0
2001:4b10:1002:cc01:20d:93ff:fe63:da5a 00:0d:93:63:da:5a UHLc
0 3 - 4 vlan2
2001:4b10:1002:cc01:20d:b9ff:fe04:a330 00:25:90:c0:77:b4 HLl
0 0 - 1 lo0
2001:4b10:1002:cc01:230:48ff:fe58:8640 f8:b1:56:ac:32:76 UHLc
0 664 - 4 vlan2
2001:4b10:1002:cc03::/64 fe80::210:18ff:fe7f:1f06%vlan3 UC 1
0 - 4 vlan3
2001:4b10:1002:cc03::1 00:10:18:7f:1f:06 HLl 0
0 - 1 lo0
2001:4b10:1002:cc03:220:4aff:fec5:5b55 00:20:4a:c5:5b:55 UHLc
0 40 - 4 vlan3
2001:4b10:1002:cc05::/64 fe80::210:18ff:fe7f:1f06%vlan5 UC 0
0 - 4 vlan5
2001:4b10:1002:cc05::1 00:10:18:7f:1f:06 HLl 0
0 - 1 lo0
2001:4b10:1002:cc07::/64 fe80::210:18ff:fe7f:1f06%vlan3666 UC
0 0 - 4 vlan3666
2001:4b10:1002:cc07::1 00:10:18:7f:1f:06 HLl 0
0 - 1 lo0
2002::/24 ::1 UGRS 0
0 32768 8 lo0
2002:7f00::/24 ::1 UGRS 0
0 32768 8 lo0
2002:e000::/20 ::1 UGRS 0
0 32768 8 lo0
2002:ff00::/24 ::1 UGRS 0
0 32768 8 lo0
fe80::/10 ::1 UGRS 0
0 32768 8 lo0
fe80::%lo0/64 fe80::1%lo0 U 0
0 32768 4 lo0
fe80::1%lo0 fe80::1%lo0 UHl 0
0 32768 1 lo0
fe80::%vlan2/64 fe80::225:90ff:fec0:77b4%vlan2 UC 2
0 - 4 vlan2
fe80::20d:93ff:fe63:da5a%vlan2 00:0d:93:63:da:5a UHLc 0
2 - 4 vlan2
fe80::225:90ff:fec0:77b4%vlan2 00:25:90:c0:77:b4 HLl 0
0 - 1 lo0
fe80::fab1:56ff:feac:3276%vlan2 f8:b1:56:ac:32:76 UHLc 0
7 - 4 vlan2
fe80::%vlan3/64 fe80::210:18ff:fe7f:1f06%vlan3 UC 1
0 - 4 vlan3
fe80::210:18ff:fe7f:1f06%vlan3 00:10:18:7f:1f:06 HLl 0
0 - 1 lo0
fe80::220:4aff:fec5:5b55%vlan3 00:20:4a:c5:5b:55 UHLc 0
6 - 4 vlan3
fe80::%vlan3666/64 fe80::210:18ff:fe7f:1f06%vlan3666 UC
0 0 - 4 vlan3666
fe80::210:18ff:fe7f:1f06%vlan3666 00:10:18:7f:1f:06 HLl 0
0 - 1 lo0
fe80::%vlan5/64 fe80::210:18ff:fe7f:1f06%vlan5 UC 0
0 - 4 vlan5
fe80::210:18ff:fe7f:1f06%vlan5 00:10:18:7f:1f:06 HLl 0
0 - 1 lo0
fe80::%carp2/64 fe80::200:5eff:fe00:102%carp2 UC 0
0 - 4 carp2
fe80::200:5eff:fe00:102%carp2 00:00:5e:00:01:02 HLl 0
0 - 1 lo0
fe80::%pppoe0/64 fe80::225:90ff:fec0:77b4%pppoe0 U 0
0 - 4 pppoe0
fe80::225:90ff:fec0:77b4%pppoe0 fe80::225:90ff:fec0:77b4%pppoe0 Hl 0
0 - 1 lo0
fe80::%pppoe1/64 fe80::225:90ff:fec0:77b4%pppoe1 U 0
0 - 4 pppoe1
fe80::225:90ff:fec0:77b4%pppoe1 fe80::225:90ff:fec0:77b4%pppoe1 Hl 0
0 - 1 lo0
fec0::/10 ::1 UGRS 0
0 32768 8 lo0
ff01::/16 ::1 UGRS 0
0 32768 8 lo0
ff01::%lo0/32 ::1 UC 0
0 32768 4 lo0
ff01::%vlan2/32 fe80::225:90ff:fec0:77b4%vlan2 UC 0
0 - 4 vlan2
ff01::%vlan3/32 fe80::210:18ff:fe7f:1f06%vlan3 UC 0
0 - 4 vlan3
ff01::%vlan3666/32 fe80::210:18ff:fe7f:1f06%vlan3666 UC
0 0 - 4 vlan3666
ff01::%vlan5/32 fe80::210:18ff:fe7f:1f06%vlan5 UC 0
0 - 4 vlan5
ff01::%carp2/32 fe80::200:5eff:fe00:102%carp2 UC 0
0 - 4 carp2
ff01::%pppoe0/32 fe80::225:90ff:fec0:77b4%pppoe0 UC 0
0 - 4 pppoe0
ff01::%pppoe1/32 fe80::225:90ff:fec0:77b4%pppoe1 UC 0
0 - 4 pppoe1
ff02::/16 ::1 UGRS 0
0 1500 8 lo0
ff02::%lo0/32 ::1 UC 0
0 32768 4 lo0
ff02::%vlan2/32 fe80::225:90ff:fec0:77b4%vlan2 UC 1
0 - 4 vlan2
ff02::1:ff63:da5a%vlan2 link#10 UHLc 0
0 - 4 vlan2
ff02::%vlan3/32 fe80::210:18ff:fe7f:1f06%vlan3 UC 0
0 - 4 vlan3
ff02::%vlan3666/32 fe80::210:18ff:fe7f:1f06%vlan3666 UC
0 0 - 4 vlan3666
ff02::%vlan5/32 fe80::210:18ff:fe7f:1f06%vlan5 UC 0
0 - 4 vlan5
ff02::%carp2/32 fe80::200:5eff:fe00:102%carp2 UC 0
0 - 4 carp2
ff02::%pppoe0/32 fe80::225:90ff:fec0:77b4%pppoe0 UC 0
0 - 4 pppoe0
ff02::%pppoe1/32 fe80::225:90ff:fec0:77b4%pppoe1 UC 0
0 - 4 pppoe1
# cat after
Routing tables
Internet6:
Destination Gateway Flags Refs
Use Mtu Prio Iface
::/104 ::1 UGRS 0
0 32768 8 lo0
::/96 ::1 UGRS 0
0 32768 8 lo0
default fe80::230:88ff:fe16:5eff%pppoe1 UG 0
0 - 56 pppoe1
::1 ::1 UHl 14
0 32768 1 lo0
::127.0.0.0/104 ::1 UGRS 0
0 32768 8 lo0
::224.0.0.0/100 ::1 UGRS 0
0 32768 8 lo0
::255.0.0.0/104 ::1 UGRS 0
0 32768 8 lo0
::ffff:0.0.0.0/96 ::1 UGRS 0
0 32768 8 lo0
2001:4b10:1002:cc01::1 00:25:90:c0:77:b4 HLl 0
0 - 1 lo0
2001:4b10:1002:cc01::ca1f 00:00:5e:00:01:02 HLl 0
0 - 1 lo0
2001:4b10:1002:cc01:20d:b9ff:fe04:a330 00:25:90:c0:77:b4 HLl
0 0 - 1 lo0
2001:4b10:1002:cc03::1 00:10:18:7f:1f:06 HLl 0
0 - 1 lo0
2001:4b10:1002:cc05::1 00:10:18:7f:1f:06 HLl 0
0 - 1 lo0
2001:4b10:1002:cc07::1 00:10:18:7f:1f:06 HLl 0
0 - 1 lo0
2002::/24 ::1 UGRS 0
0 32768 8 lo0
2002:7f00::/24 ::1 UGRS 0
0 32768 8 lo0
2002:e000::/20 ::1 UGRS 0
0 32768 8 lo0
2002:ff00::/24 ::1 UGRS 0
0 32768 8 lo0
2a02:8011:d00e:3:225:90ff:fec0:77b4 2a02:8011:d00e:3:225:90ff:fec0:77b4 UHl
0 0 - 1 lo0
2a02:8011:d00e:3:a4f6:285a:fe8d:d1ac 2a02:8011:d00e:3:a4f6:285a:fe8d:d1ac UHl
0 0 - 1 lo0
fe80::/10 ::1 UGRS 0
0 32768 8 lo0
fe80::%lo0/64 fe80::1%lo0 U 0
0 32768 4 lo0
fe80::1%lo0 fe80::1%lo0 UHl 0
0 32768 1 lo0
fe80::%vlan2/64 fe80::225:90ff:fec0:77b4%vlan2 UC 2
0 - 4 vlan2
fe80::20d:93ff:fe63:da5a%vlan2 00:0d:93:63:da:5a UHLc 0
2 - 4 vlan2
fe80::225:90ff:fec0:77b4%vlan2 00:25:90:c0:77:b4 HLl 0
0 - 1 lo0
fe80::fab1:56ff:feac:3276%vlan2 f8:b1:56:ac:32:76 UHLc 0
8 - 4 vlan2
fe80::%vlan3/64 fe80::210:18ff:fe7f:1f06%vlan3 UC 1
0 - 4 vlan3
fe80::210:18ff:fe7f:1f06%vlan3 00:10:18:7f:1f:06 HLl 0
0 - 1 lo0
fe80::220:4aff:fec5:5b55%vlan3 00:20:4a:c5:5b:55 UHLc 0
8 - 4 vlan3
fe80::%vlan3666/64 fe80::210:18ff:fe7f:1f06%vlan3666 UC
0 0 - 4 vlan3666
fe80::210:18ff:fe7f:1f06%vlan3666 00:10:18:7f:1f:06 HLl 0
0 - 1 lo0
fe80::%vlan5/64 fe80::210:18ff:fe7f:1f06%vlan5 UC 0
0 - 4 vlan5
fe80::210:18ff:fe7f:1f06%vlan5 00:10:18:7f:1f:06 HLl 0
0 - 1 lo0
fe80::%carp2/64 fe80::200:5eff:fe00:102%carp2 UC 0
0 - 4 carp2
fe80::200:5eff:fe00:102%carp2 00:00:5e:00:01:02 HLl 0
0 - 1 lo0
fe80::%pppoe0/64 fe80::225:90ff:fec0:77b4%pppoe0 U 0
0 - 4 pppoe0
fe80::225:90ff:fec0:77b4%pppoe0 fe80::225:90ff:fec0:77b4%pppoe0 Hl 0
0 - 1 lo0
fe80::%pppoe1/64 fe80::225:90ff:fec0:77b4%pppoe1 U 1
0 - 4 pppoe1
fe80::225:90ff:fec0:77b4%pppoe1 fe80::225:90ff:fec0:77b4%pppoe1 Hl 0
0 - 1 lo0
fe80::230:88ff:fe16:5eff%pppoe1 pppoe1 UHL 0
0 - 4 pppoe1
fec0::/10 ::1 UGRS 0
0 32768 8 lo0
ff01::/16 ::1 UGRS 0
0 32768 8 lo0
ff01::%lo0/32 ::1 UC 0
0 32768 4 lo0
ff01::%vlan2/32 fe80::225:90ff:fec0:77b4%vlan2 UC 0
0 - 4 vlan2
ff01::%vlan3/32 fe80::210:18ff:fe7f:1f06%vlan3 UC 0
0 - 4 vlan3
ff01::%vlan3666/32 fe80::210:18ff:fe7f:1f06%vlan3666 UC
0 0 - 4 vlan3666
ff01::%vlan5/32 fe80::210:18ff:fe7f:1f06%vlan5 UC 0
0 - 4 vlan5
ff01::%carp2/32 fe80::200:5eff:fe00:102%carp2 UC 0
0 - 4 carp2
ff01::%pppoe0/32 fe80::225:90ff:fec0:77b4%pppoe0 UC 0
0 - 4 pppoe0
ff01::%pppoe1/32 fe80::225:90ff:fec0:77b4%pppoe1 UC 0
0 - 4 pppoe1
ff02::/16 ::1 UGRS 0
0 1500 8 lo0
ff02::%lo0/32 ::1 UC 0
0 32768 4 lo0
ff02::%vlan2/32 fe80::225:90ff:fec0:77b4%vlan2 UC 1
0 - 4 vlan2
ff02::1:ff63:da5a%vlan2 link#10 UHLc 0
0 - 4 vlan2
ff02::%vlan3/32 fe80::210:18ff:fe7f:1f06%vlan3 UC 0
0 - 4 vlan3
ff02::%vlan3666/32 fe80::210:18ff:fe7f:1f06%vlan3666 UC
0 0 - 4 vlan3666
ff02::%vlan5/32 fe80::210:18ff:fe7f:1f06%vlan5 UC 0
0 - 4 vlan5
ff02::%carp2/32 fe80::200:5eff:fe00:102%carp2 UC 0
0 - 4 carp2
ff02::%pppoe0/32 fe80::225:90ff:fec0:77b4%pppoe0 UC 0
0 - 4 pppoe0
ff02::%pppoe1/32 fe80::225:90ff:fec0:77b4%pppoe1 UC 0
0 - 4 pppoe1