dhcpcd-discuss

Re: dhcpcd[82953]: pppoe0: DHCPv6 REPLY: NoAddrsAvail

Roy Marples

Thu Oct 10 11:15:21 2019

Hi Shadrock

On 10/10/2019 10:41, shadrock uhuru wrote:
i've modified the ia_pd line and all my internal interface have routeble addresses now,

Good

my external interface still has no routeble address.
as far as i know  my config file are correct,

In the logs below, this is what the No address available means that your ISP sent to the ia_na request. Luckily you have a prefix delegation, so technically you don't need a routeable address on your external interface. You can assing one from the delegation if your ISP supports Prefix Exclude - not many do though.

Oct 10 09:42:50 imhotep dhcpcd[44406]: tun0: unsupported interface type 83

Diagnostic improved here:
https://roy.marples.name/cgit/dhcpcd.git/commit/?id=cc414bf33a0039a507f8a40528425c07808cab72

Oct 10 09:42:50 imhotep dhcpcd[44406]: pppoe0: DHCPv6 REPLY: NoAddrsAvail

Because this is a saved lease, this error must be related to your ia_na.
I'll see if I can log a better diagnostic for this as it's not clear.
But this is why you have no address on your external interface.

Oct 10 09:42:50 imhotep dhcpcd[44406]: pppoe0: rebinding prior DHCPv6 lease
Oct 10 09:42:50 imhotep dhcpcd[44406]: tun0: IAID 74:75:6e:30
Oct 10 09:42:50 imhotep dhcpcd[44406]: em1: waiting for carrier
Oct 10 09:42:52 imhotep dhcpcd[44406]: pppoe0: DHCPv6 REPLY: NoAddrsAvail

Same error

Oct 10 09:42:52 imhotep dhcpcd[44406]: pppoe0: REPLY6 received from fe80::4afd:8eff:feaa:a4d3 Oct 10 09:42:52 imhotep dhcpcd[44406]: pppoe0: renew in 86400, rebind in 138240, expire in 259200 seconds Oct 10 09:42:52 imhotep dhcpcd[44406]: lo0: adding reject route to 2a02:8010:658b::/48 via ::1 Oct 10 09:42:52 imhotep dhcpcd[44406]: pppoe0: delegated prefix 2a02:8010:658b::/48 Oct 10 09:42:52 imhotep dhcpcd[44406]: em0: adding address 2a02:8010:658b::1/48

Yoiks, that should be a /64
Fixed here:
https://roy.marples.name/cgit/dhcpcd.git/commit/?id=2f68fc40f01a26ee687a29bcae627850ec772095

Oct 10 09:42:52 imhotep dhcpcd[44406]: tun0: adding address 2a02:8010:658b:2::1/64 Oct 10 09:42:52 imhotep dhcpcd[44406]: tun0: adding route to 2a02:8010:658b:2::/64
Oct 10 09:42:52 imhotep dhcpcd[44406]: forked to background, child pid 744

when i restart the slaac deamon then restart the network i get the following from slaacd

...

You'll have to tell me why I should be looking at slaacd output and why it's relevant to this discussion.

Roy

Follow-Ups:
Re: dhcpcd[82953]: pppoe0: DHCPv6 REPLY: NoAddrsAvailStuart Henderson
References:
Re: dhcpcd[82953]: pppoe0: DHCPv6 REPLY: NoAddrsAvailshadrock uhuru
Archive administrator: postmaster@marples.name