I'm using nmcli to set it up and here is the first issue, it's close to no doc on how to setup pppoe with nmcli. I can't use the ifcfg-ppp0/1 files from centos6, they are completely ignored.
After a lot some guessing I managed to get one connection going with
Code: Select all
nmcli connection add type pppoe con-name ppp0_ipv4 username $USERNAME0 password \"$PASSWORD0\" ifname eth2
And of course when I try to start up ppp1 it kills this connection so I end up with just one connection.
After mostly guessing I came up with
Code: Select all
nmcli connection add type pppoe con-name ppp0_ipv4 username $USERNAME0 password \"$PASSWORD0\" ifname ppp0 pppoe.parent eth2
nmcli connection add type pppoe con-name ppp1_ipv6 username $USERNAME1 password \"$PASSWORD1\" ifname ppp1 pppoe.parent eth2
Besides the problem of using two connections on one ethernet port I also have issues getting ipv6 working. I found out that the /etc/ppp/ipv6-{up,down} scripts are broken, they trying to use the old network-function scripts (I already opened a bug on that).
Right now I wonder where I can find some info on how to setup multiple pppoe connections on the same network interface and how to get the ipv6 stuff to work.
/lpaseen