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

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?

-- 
-------------------------------------------------------------------
Techwiz, Peter Sjoberg GPG key (42DDDDDD) on keyserver & homepage
Key fingerprint =  EB81 3135 1636 576A DA83  826B 2455 0E88 42DD DDDD
Homepage: http://www.techwiz.ca/~peters 
Pictures: http://www.flickr.com/photos/henahadu/
Enigma: http://meinEnigma.com

replies