>Synopsis:kernel PPPOE doesn't set IP address on PPPOE1 interface
>Category:kernel
>Environment:
System : OpenBSD 5.8
Details : OpenBSD 5.8 (GENERIC.MP) #1236: Sun Aug 16
02:31:04 MDT 2015
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
Architecture: OpenBSD.amd64
Machine : amd64
>Description:
I have two PPPoE connections to my ISP, one manages IPv4 (pppoe0), one
manages IPv6(pppoe1), different logins.
The IPv6 one is troublesome.
I do have the PPPoE session running, I can set and run DHCP6c and get my
IPv6 range given to advertise on the internal network.
Doing this I get the IP of the local-link (fe80::*) interface on the ISP
side that answered my DHCP request and I can ping it.
So, I do have PPPoE session, I do have connectivity, problem is that no
IPv6 is given to the pppoe1 interface (except the local-link of course)
and no information is given about the gateway.
setting inet6 autoconf on the interface doesn't change the problem,
using tcpdump I can see the NDP request being sent but no answer.
on the DHCPv6 part I can see this error too
Mar/23/2016 10:36:50: get_ia: make an IA: NA-0
Mar/23/2016 10:36:50: update_ia: status code for NA-0: no addresses
Mar/23/2016 10:36:50: update_ia: IA NA-0 is invalidated
Mar/23/2016 10:36:50: remove_ia: remove an IA: NA-0
from what I could understand, it would seem that the kernel PPP doesn't
correctly get the informations from ipv6cp and
1-doesn't give IPv6 address to the PPPOE interface
2-doesn't advertise the default route
---
my /etc/hostname.pppoe1
!/sbin/ifconfig em1 up description 'Transport interface for pppoe1'
pppoedev em1 authproto pap \
authname 'me@v6.connect' authkey 'mypass'
inet6 eui64
inet6 autoconf
up
description 'External PPPoEv6'
!/sbin/route add -inet6 default -ifp pppoe1 fe80::
---
my /etc/dhcp6c.conf
interface pppoe1 {
send ia-na 0;
request domain-name-servers;
request domain-name;
send rapid-commit;
send ia-pd 1;
};
id-assoc na 0 { };
id-assoc pd 1 {
prefix-interface em0 {
sla-id 0;
sla-len 8;
};
};
---
while running
>ifconfig pppoe1
pppoe1: flags=208851
mtu 1492
description: External PPPoEv6
priority: 0
dev: em1 state: session
sid: 0x6909 PADI retries: 0 PADR retries: 0 time: 00:00:12
sppp: phase network authproto pap authname "me@v6.connect"
groups: pppoe
status: active
inet6 fe80::200:24ff:fed0:a4b8%pppoe1 -> prefixlen 64 scopeid 0x4f
>How-To-Repeat:
try to get PPPOE connectivity
>Fix:
none at the moment
dmesg:
OpenBSD 5.8 (GENERIC.MP) #1236: Sun Aug 16 02:31:04 MDT 2015
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 519962624 (495MB)
avail mem = 500367360 (477MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0
acpi at bios0 not configured
mpbios0 at bios0: Intel MP Specification 1.4
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Genuine Intel(R) CPU @ 600MHz, 600.08 MHz
cpu0:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,MOVBE,NXE,LONG,LAHF,PERF,SENSOR
cpu0: 512KB 64b/line 8-way L2 cache
cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges
cpu0: apic clock running at 100MHz
cpu0: mwait min=64, max=64, C-substates=0.2.2.0.2.0.3, IBE
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Genuine Intel(R) CPU @ 600MHz, 600.00 MHz
cpu1:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,MOVBE,NXE,LONG,LAHF,PERF,SENSOR
cpu1: 512KB 64b/line 8-way L2 cache
cpu1: smt 1, core 0, package 0
mpbios0: bus 0 is type PCI
mpbios0: bus 64 is type ISA
ioapic0 at mainbus0: apid 0 pa 0xfec0, version 20, 24 pins
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 vendor "Intel", unknown product 0x4115
rev 0x05
pchb1 at pci0 dev 1 function 0 "Intel E600 Config" rev 0x00
ppb0 at pci0 dev 23 function 0 "Intel E600 PCIE" rev 0x00
pci1 at ppb0 bus 1
ppb1 at pci1 dev 0 function 0 "Intel EG20T PCIE" rev 0x01
pci2 at ppb1 bus 2
"Intel EG20T Packet Hub" rev 0x01 at pci2 dev 0 function 0 not configured
"Intel EG20T Ethernet" rev 0x02 at pci2 dev 0 function 1 not configured
"Intel EG20T GPIO" rev 0x01 at pci2 dev 0 function 2 not configured
ohci0 at pci2 dev 2 function 0 "Intel EG20T USB" rev 0x02: apic 0 int
19, version 1.0
ohci1 at pci2 dev 2 function 1 "Intel EG20T USB" rev 0x02: apic 0 int
19, version 1.0
ohci2 at pci2 dev 2 function 2 "Intel EG20T USB" rev 0x02: apic 0 int
19, version 1.0
ehci0 at pci2 dev 2 function 3 "Intel EG20T USB" rev 0x02: apic 0 int 19
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 add