home | list info | list archive | date index | thread index

Re: ipv6 problem with centos8+teksavvy+pppoe with DHCPv6-PD

On 2021-02-01 2:29 p.m., Peter Sjöberg wrote:
> On 2021-02-01 1:06 p.m., Allan Fields wrote:
>> Maybe it wont help or will, fwiw..
>>
>> (ppp0): failure to start DHCPv6: missing MAC address
>> ^^^^^^----  the log seems to reference the ipv4 connection for dhcpv6 not starting - is it also failing to start on ppp1?
> Thanks for pointing that out, I somehow missed that (at 2am).
> 
> I done a pile of tests back and forth including trying to run all on
> ppp0 and so on. I think I grabbed the log from the last try which would
> have ipv6 on ppp1 and then dhcpv6 on ppp0 would fail but with the config
> I have it shouldn't even try ipv6 on ppp0 then.
> 
> I will test more and keep better track on the logs but since I have to
> kill my internet to test it will have to wait until later tonight.

Done some more testing and yes, I have a problem with dhcpv6 and I'm not
alone. It's actually already patched upstream, just haven't trickled
down to me yet.

https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/commit/76a6a30577e7748a67d5ee0c3f5c252b751db81c

/ps
> 
> /ps
> 
>>
>> So it's trying to start DHCPv6 on the wrong link?
>>
>> - Anonymous Coward
>>
>> ----- Original Message -----
>> From: "Peter Sjöberg" <peters-oclug [ at ] techwiz [ dot ] ca>
>> To: linux [ at ] linux-ottawa [ dot ] org
>> Sent: Monday, February 1, 2021 12:41:04 PM
>> Subject: [linux] ipv6 problem with centos8+teksavvy+pppoe with DHCPv6-PD
>>
>> I have a centos6 firewall and there I have two pppoe connections, one
>> for ipv4 and one for ipv6.
>> This works fine but since centos6 is EOL I need to migrate to something
>> newer and I'm going with centos8 (or stream or something like that) and
>> I have problem to get the ipv6 part working.
>>
>> After lots of fiddling I did get the two ppp connections to work at the
>> same time on the same nic but the dhcp6c part isn't working. From what I
>> can see in the log it refuse to start due to no MAC
>>
>> I have a script to create the connections:
>>
>> Creating ppp0_ipv4
>> nmcli connection add type pppoe autoconnect no con-name ppp0_ipv4 username ip4user [ at ] teksavvy [ dot ] com password "myIPV4psw" ifname ppp0 pppoe.parent eth2
>> nmcli connection modify ppp0_ipv4 ipv4.method auto ipv6.method disabled
>>
>> Creating ppp1_ipv6
>> nmcli connection add type pppoe autoconnect no con-name ppp1_ipv6 username ip6user [ at ] hsiservice [ dot ] net password "myIPV6psw" ifname ppp1 pppoe.parent eth2
>> nmcli connection modify ppp1_ipv6 ipv4.method disabled ipv6.method auto ipv6.addr-gen-mode eui64 802-3-ethernet.mac-address 52:54:66:18:ac:f6
>>
>>
>>
>> extract from the log:
>>
>> NetworkManager[746]: <debug> [1612156399.1097] device[052faa76634ef4ae] (ppp0): Activation: Stage 3 of 5 (IP Configure Start) starting DHCPv6 as requested by IPv6 router...
>> NetworkManager[746]: <debug> [1612156399.1102] device[052faa76634ef4ae] (ppp0): ipv6.dhcp-iaid: using 1309584892 (0x4e0eadfc) IAID (str: 'ifname', explicit 0)
>> NetworkManager[746]: <debug> [1612156399.1102] device[052faa76634ef4ae] (ppp0): ipv6.dhcp-duid: generate lease DUID '00:04:59:c1:c6:ab:a2:c1:ed:4f:2a:43:ba:e6:1e:9c:0e:c8' (prefer lease)
>> NetworkManager[746]: <warn>  [1612156399.1103] device (ppp0): failure to start DHCPv6: missing MAC address
>> NetworkManager[746]: <debug> [1612156399.1228] kill child process 'pppd' (33958): wait for process to terminate after sending SIGTERM (15) (send SIGKILL in 1500 milliseconds)...
>>
>>
>> Asking google doesn't help much since all hits are somewhere between way
>> to old (2014) to just pre centos8, shows GUI versions under ubuntu or so.
>>
>> I'm looking for a nmcli+ipv6-up.local script solution that will get the
>> dhcpv6-pd part to work also, does anyone have any hints?
>>
> 
> 
> To unsubscribe send a blank message to linux+unsubscribe [ at ] linux-ottawa [ dot ] org
> To get help send a blank message to linux+help [ at ] linux-ottawa [ dot ] org
> To visit the archives: https://lists.linux-ottawa.org
> 


To unsubscribe send a blank message to linux+unsubscribe [ at ] linux-ottawa [ dot ] org
To get help send a blank message to linux+help [ at ] linux-ottawa [ dot ] org
To visit the archives: https://lists.linux-ottawa.org