dhcpcd-discuss

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

shadrock uhuru

Thu Oct 10 17:21:18 2019

On 10/10/19 12:16 PM, Roy Marples wrote:

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



On 10/10/19 4:06 PM, Stuart Henderson wrote:

hmm, ISPs will normally just want you to do PD (for downstream interfaces)
and expect you to fetch the interface for the ppp interface via slaac.

It's quite possible that an ISP won't hand out addresses for the ppp interface
via dhcpv6 NA.


this is why i included the output from slaacd
as this is my first step with setting up ipv6 some of my thinking may be
wrong
from what i have been able to gather from various places on the net
on the firewall i use dhcpcd to configure addresses to lan facing
interfaces  and then rad advertises the pd prefix
so that clients on the lan can use slaac to setup their address
and the firewall would use slaac to setup the external interface and
default route .

when i use one of those site to test if i am ipv6 ready, it fails
also i would like to vpn or ssh into my network using ipv6 so i need an
ipv6 address on my external interface.
shadrock

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