On 2022-08-01, void <v...@f-m.fm> wrote:
> Hello,
>
> My connection has a /64 Neighbour Discovery (ND) for the pppoe
> connection and a /48 Prefix Delegation (PD) for the LAN.
>
> (ipv4 works fine)
>
> The parent interface of the pppoe connection is cnmac1
> The LAN interface is cnmac0. (cnmac2 is present but unused and there
> is no /etc/hostname.cnmac2)
>
> 1. do I use slaac for the pppoe/cnmac1 and dhcpcd for cnmac0 ?
>
> The ISP stated the ND is used to automatically assign an ip to the
> wan interface of the router, so this will (will it?) mean cnmac1.

That will mean pppoe0 unless they are doing something unusual.

> /etc/hostname.cnmac1 has the following:
> up mtu 1508
> inet6 autoconf
>
> /etc/hostname.pppoe0 :
> inet 0.0.0.0 255.255.255.255 NONE mtu 1500 \
> pppoedev cnmac1 authproto chap \
> authname 'mylogin@isp' authkey 'correct-password' up
> dest 0.0.0.1
> !/sbin/route add default -ifp pppoe0 0.0.0.1
>
> inet6 eui64
> !/sbin/route add -inet6 default -ifp pppoe0 fe80::%pppoe0
>
> I'm not sure if the last couple of lines are correct.

You can either use autoconf on pppoe0, or have dhcpcd handle ND as well.

See dhcpcd's pkg-readme file.


-- 
Please keep replies on the mailing list.

Reply via email to