dhcpcd-discuss

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

shadrock uhuru

Thu Oct 10 09:40:19 2019

On 10/9/19 2:27 PM, Roy Marples wrote:

Hi Shadrock

On 09/10/2019 13:23, shadrock uhuru wrote:

hi everyone
does the following error in//var/log//{messages,daemon} (openbsd) indicate
a problem
at my internet providers end of the line or one of my config files

dhcpcd[82953]: pppoe0: DHCPv6 REPLY: NoAddrsAvail


Could be either end, but it's hard to check with the provider.


i have pd prefix addresses being assigned on my lan network but no nd
prefix address assigned to my egress interface on the firewall ?

dhcpcd.conf

ipv6only
noipv6rs
duid
persistent
option rapid_commit
require dhcp_server_identifier
slaac private
nohook resolv.conf, lookup-hostname
allowinterfaces em0 em1 tun0 pppoe0
script ""

interface pppoe0
   ia_na 1
   ia_pd 2 em0/0
   ia_pd 3 em1/1
   ia_pd 4 tun0/2


Are you sure you want to request 3 different prefixes? That might be the
cause of the error.
Try this:
    ia_pd 2 em0/0 em1/1 tun0/2

Roy

hi Roy
i've modified the ia_pd line and all my internal interface have routeble
addresses now,
my external interface still has no routeble address.
as far as i know  my config file are correct,
i have enabled default pass rules on any icpm6 passing through the firewall
and there are no blocks on udp ports 546 and 547 in the logs,
is there anything else i can try to narrow down the problem before i get on
to my isp (zen internet uk).
i have included further logs below if they would help.

shadrock
firewall log
Oct 10 09:42:52.084707 rule 89/(match) pass out on pppoe0:
fe80::200:0:0:1.546 > ff02::1:2.547: dhcp6 reconfig [hlim 1]
Oct 10 09:42:52.096482 rule 90/(match) pass in on pppoe0:
fe80::4afd:8eff:feaa:a4d3.547 > fe80::200:0:0:1.546: dhcp6

/var/log messages
Oct 10 09:42:50 imhotep dhcpcd[44406]: pppoe0: DHCPv6 REPLY: NoAddrsAvail

/var/log/daemon
Oct 10 09:42:50 imhotep dhcpcd[1383]: received SIGTERM, stopping
Oct 10 09:42:50 imhotep dhcpcd[1383]: em1: removing interface
Oct 10 09:42:50 imhotep dhcpcd[1383]: tun0: removing interface
Oct 10 09:42:50 imhotep dhcpcd[1383]: em0: removing interface
Oct 10 09:42:50 imhotep dhcpcd[1383]: pppoe0: removing interface
Oct 10 09:42:50 imhotep dhcpcd[1383]: dhcpcd exited
Oct 10 09:42:50 imhotep dhcpcd[44406]: tun0: unsupported interface type 83
Oct 10 09:42:50 imhotep dhcpcd[44406]: DUID
00:04:44:45:4c:4c:38:00:10:57:80:47:b9:c0:4f:57:32:4a
Oct 10 09:42:50 imhotep dhcpcd[44406]: em0: IAID 23:e3:c7:92
Oct 10 09:42:50 imhotep dhcpcd[44406]: pppoe0: IAID 00:00:00:06
Oct 10 09:42:50 imhotep dhcpcd[44406]: pppoe0: IA type 3 IAID 00:00:00:01
Oct 10 09:42:50 imhotep dhcpcd[44406]: pppoe0: IA type 25 IAID 00:00:00:02
Oct 10 09:42:50 imhotep dhcpcd[44406]: pppoe0: DHCPv6 REPLY: NoAddrsAvail
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
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
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

doas sh /etc/netstart
startup
RTM_IFINFO: lo0(5) no(longer) autoconf6
RTM_IFINFO: pppoe0(6) no(longer) autoconf6
RTM_IFINFO: pppoe0(6) no(longer) autoconf6
RTM_IFINFO: pppoe0(6) no(longer) autoconf6
update_autoconf_addresses: pppoe0 link state down? yes
update_autoconf_addresses: pppoe0 link state down? yes
RTM_DELADDR: tun0[7]
start_probe: iface 6: sleeping for 416160usec
deprecate_all_proposals: iface: 6
IMSG_DEL_ADDRESS: unknown interface, ignoring
update_autoconf_addresses: pppoe0 link state down? yes
update_autoconf_addresses: pppoe0 link state down? yes
update_autoconf_addresses: pppoe0 link state down? yes
update_autoconf_addresses: pppoe0 link state down? yes
update_autoconf_addresses: pppoe0 link state down? yes
update_autoconf_addresses: pppoe0 link state down? yes
update_autoconf_addresses: pppoe0 link state down? yes
update_autoconf_addresses: pppoe0 link state down? no
update_autoconf_addresses: pppoe0 link state down? no
start_probe: iface 6: sleeping for 434914usec
RTM_DELADDR: pppoe0[6]
RTM_IFINFO: pppoe0(6) no(longer) autoconf6
RTM_NEWADDR: pppoe0[6]
RTM_IFINFO: pppoe0(6) no(longer) autoconf6
RTM_NEWADDR: em0[2]
RTM_CHGADDRATTR: 2a02:8010:658b::1 -
=============================================================

ifconfig
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 32768
index 5 priority 0 llprio 3
groups: lo
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5
inet 127.0.0.1 netmask 0xff000000
bge0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
lladdr 00:18:8b:6e:1f:d0
index 1 priority 0 llprio 3
media: Ethernet autoselect (100baseTX full-duplex,rxpause,txpause)
status: active
em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
lladdr 00:04:23:e3:c7:92
index 2 priority 0 llprio 3
media: Ethernet autoselect (1000baseT full-duplex,rxpause,txpause)
status: active
inet6 fe80::d06b:eed9:c2a4:a4af%em0 prefixlen 64 scopeid 0x2
inet6 fd22:b5a7:3e84:bcd5::201 prefixlen 64
inet6 2a02:8010:658b:1::1 prefixlen 64 pltime 89909 vltime 176309
inet 10.2.1.1 netmask 0xffffff00 broadcast 10.2.1.255
em1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
lladdr 00:04:23:e3:c7:93
index 3 priority 0 llprio 3
media: Ethernet autoselect (none)
status: no carrier
inet6 fe80::31af:f490:7f79:20e7%em1 prefixlen 64 scopeid 0x3
inet6 fd22:b5a7:3e84:bcd5::301 prefixlen 64
inet 10.3.1.1 netmask 0xffffff00 broadcast 10.3.1.255
enc0: flags=0<>
index 4 priority 0 llprio 3
groups: enc
status: active
pppoe0:
flags=48851<UP,POINTOPOINT,RUNNING,SIMPLEX,MULTICAST,INET6_NOPRIVACY> mtu
1492
index 6 priority 0 llprio 3
dev: bge0 state: session
sid: 0x119a PADI retries: 4 PADR retries: 0 time: 00:01:13
sppp: phase network authproto chap
groups: pppoe egress
status: active
inet6 fe80::200:0:0:1%pppoe0 ->  prefixlen 64 scopeid 0x6
inet 88.97.5.79 --> 51.148.72.21 netmask 0xffffffff
tun0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1500
index 7 priority 0 llprio 3
groups: tun
status: active
inet6 fe80::e37b:79d2:e139:76f4%tun0 ->  prefixlen 64 scopeid 0x7
inet6 fd22:b5a7:3e84:bcd5::a01 ->  prefixlen 64
inet 10.10.1.1 --> 10.10.1.2 netmask 0xffffff00
inet6 2a02:8010:658b:3::1 ->  prefixlen 64 pltime 89909 vltime 176309
inet6 2a02:8010:658b:2::1 ->  prefixlen 64 pltime 172738 vltime 259138
pflog0: flags=141<UP,RUNNING,PROMISC> mtu 33136
index 8 priority 0 llprio 3
groups: pflog

--------------------------------------------------------------------------------------------------

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