On 2023-01-15, Shadrock Uhuru <[email protected]> wrote:
> hi everyone
> my isp is zen which uses pppoe
> i have a /64 nd and a /48 pd
> i have configured dhcpcd.conf but can only get an ipv6 address on the
> external pppoe0 interface,
> the internal lan interface only gets a link local from slaac
I doubt it will help, but you shouldn't have "inet6 autoconf" on the
interfaces where you expect to assign from PD.
> i have the following in dhcpcd.conf
> ipv6only
> noipv6rs
> waitip 6
> duid
> persistant
> vendorclassid
> option interface_mtu
> option host_name
> option rapid_commit
> require dhcp_server_identifier
> slaac private
> script ""
> allowinterfaces pppoe0 em0 em1
> interface pppoe0
> ipv6rs
> ia_na 1
> ia_pd 2 em0/1 em1/2
Do you need all of that? Try cutting back to just what's in the example
in dhcpcd's pkg-readme. It worked with Zen last time I tried it (I moved
pppoe off OpenBSD now though).
Also don't discount that Zen might have broken your v6 config, I gave up
using their v6 in the end and shifted it to a tunnel via work instead
because I got fed up asking them to fix it after 2 or 3 times ..
(I should really shift my connection to idnet instead but it will be a
bit of a fiddly move :/)
> SafeIcmpTypes = "{ echorep, echoreq, unreach }"
> pass quick log on em0 all
> pass log inet6 proto icmp6 all icmp6-type $SafeIcmpTypes
> pass out log inet6 proto udp from any port dhcpv6-client to any port
> dhcpv6-server no state
> pass in on egress inet6 proto icmp6 all \
> icmp6-type { routeradv neighbrsol neighbradv }
>
> pass in on egress inet6 proto udp \
> from fe80::/10 port dhcpv6-server \
> to fe80::/10 port dhcpv6-client \
> no state
why the "no state" for these?
--
Please keep replies on the mailing list.