Discussion:
pppoe ipv6
(too old to reply)
basti
2021-07-14 15:00:02 UTC
Permalink
Hello,

i use pppoe to connect to the Internet.
My ISP support IPv6 and I get a /56.
I get a static IPv4 from my ISP but no IPv6, so I ask my ISP how to do.

The Answer in short:
- do not use RA
- the IPv6 is send via ppp but my router does not accept them


/etc/ppp/options look like:

#+ipv6 ipv6cp-use-persistent
#+ipv6 ipv6cp-use-ipaddr
+ipv6

I have also try the commended options above

journal:

Jul 14 16:19:31 rtr-002 pppd[30035]: pppd 2.4.7 started by root, uid 0
Jul 14 16:19:31 rtr-002 pppd[30035]: PPP session is 9348
Jul 14 16:19:31 rtr-002 pppd[30035]: Connected to <some_MAC> via
interface enp1s0
Jul 14 16:19:31 rtr-002 pppd[30035]: Using interface ppp0
Jul 14 16:19:31 rtr-002 pppd[30035]: Connect: ppp0 <--> enp1s0
Jul 14 16:19:31 rtr-002 systemd-udevd[30036]: link_config:
autonegotiation is unset or enabled, the speed and duplex are not writable.
Jul 14 16:19:31 rtr-002 pppd[30035]: PAP authentication succeeded
Jul 14 16:19:31 rtr-002 pppd[30035]: peer from calling number <some_MAC>
authorized
Jul 14 16:19:31 rtr-002 named[12555]: listening on IPv4 interface ppp0,
<some_IP>#53
Jul 14 16:19:31 rtr-002 pppd[30035]: local IP address <some_IP>
Jul 14 16:19:31 rtr-002 pppd[30035]: remote IP address <some_IP>
Jul 14 16:19:31 rtr-002 pppd[30035]: local LL address
fe80::0000:0000:0000:0002
Jul 14 16:19:31 rtr-002 pppd[30035]: remote LL address
fe80::5aac:78ff:fefb:9000


Best regards
Tomaž Šolc
2021-07-14 17:30:01 UTC
Permalink
Hi,

no idea if that is required for your ISP, but I have two options in my
working pppd config related to IPv6:

+ipv6
ipv6 ,

The second line is ipv6[space][comma]. See "man pppd". It means that
local and remote interface identifiers are randomized.

You don't mention any DHCP clients. At least for me, I need a DHCPv6
client to get the IPv6 working. I get an IPv4 address from the ISP
directly via ppp, but to get a globally-routable IPv6 requires a DHCPv6
client.

I use the client in the "wide-dhcpv6-client" package.

Hope that helps,
Tomaž
Post by basti
Hello,
i use pppoe to connect to the Internet.
My ISP support IPv6 and I get a /56.
I get a static IPv4 from my ISP but no IPv6, so I ask my ISP how to do.
- do not use RA
- the IPv6 is send via ppp but my router does not accept them
#+ipv6 ipv6cp-use-persistent
#+ipv6 ipv6cp-use-ipaddr
+ipv6
I have also try the commended options above
Jul 14 16:19:31 rtr-002 pppd[30035]: pppd 2.4.7 started by root, uid 0
Jul 14 16:19:31 rtr-002 pppd[30035]: PPP session is 9348
Jul 14 16:19:31 rtr-002 pppd[30035]: Connected to <some_MAC> via
interface enp1s0
Jul 14 16:19:31 rtr-002 pppd[30035]: Using interface ppp0
Jul 14 16:19:31 rtr-002 pppd[30035]: Connect: ppp0 <--> enp1s0
autonegotiation is unset or enabled, the speed and duplex are not writable.
Jul 14 16:19:31 rtr-002 pppd[30035]: PAP authentication succeeded
Jul 14 16:19:31 rtr-002 pppd[30035]: peer from calling number <some_MAC>
authorized
Jul 14 16:19:31 rtr-002 named[12555]: listening on IPv4 interface ppp0,
<some_IP>#53
Jul 14 16:19:31 rtr-002 pppd[30035]: local  IP address <some_IP>
Jul 14 16:19:31 rtr-002 pppd[30035]: remote IP address <some_IP>
Jul 14 16:19:31 rtr-002 pppd[30035]: local  LL address
fe80::0000:0000:0000:0002
Jul 14 16:19:31 rtr-002 pppd[30035]: remote LL address
fe80::5aac:78ff:fefb:9000
Best regards
Continue reading on narkive:
Loading...