Tuesday, August 02, 2022

Re: dual stack native ipv4 & ipv6 pppoe configuration questions

On Tue, Aug 02, 2022 at 06:49:06AM -0000, Stuart Henderson wrote:
>On 2022-08-01, void <void@f-m.fm> wrote:

>> 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.

OK, thanks for clarifying. I doubt my ISP are doing anything 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.

OK, I'll try autoconf first. Thanks for writing.

No comments:

Post a Comment