Reply
New Member
Posts: 4
Registered: ‎05-09-2016
Kudos: 7

IPv6 only PPPoE = FAIL

Hi all,

 

I just bought an ERLite-3 and struggling to configure it for my home use.

I use NTT services (in Japan), which uses two separate PPPoE sesions: one for IPv4 only, and the other for IPv6 only.

 

However I cannot bring the the IPv6 pppoe interface up due to a bug in the EdgeOS (namely pppd scripts).

 

It stucks in "Coming up", so the next steps (DHCPv6-pd) could not being invoked.

 

 

tyeken8@ubnt:~$ connect interface pppoe0
Bringing interface pppoe0 up...
tyeken8@ubnt:~$ show interfaces pppoe
pppoe0: Coming up
pppoe1: Link down

 

 

My configuration:

 ethernet eth0 {
     duplex auto
     pppoe 0 {
         default-route auto
         dhcpv6-pd {
             pd 0 {
                 interface eth2 {
                     service slaac
                 }
                 prefix-length /64
             }
             rapid-commit enable
         }
         ipv6 {
             dup-addr-detect-transmits 1
             enable {
             }
         }
         mtu 1492
         name-server auto
         password xxxxxxx
         user-id xxxxxxx@xxx-v6.myprovider.ne.jp
     }
     pppoe 1 {
         password xxxxxxx
         user-id xxxxxxx@xxx.myprovider.ne.jp
     }
     speed auto
 }

 

Log:

 

tyeken8@ubnt:~$ show interfaces pppoe pppoe0 log
Tue May 10 00:29:25 JST 2016: User tyeken8 starting PPP daemon for pppoe0 by connect command
Connected to 00:12:e2:70:69:f8 via interface eth0
using channel 7
Using interface ppp0
Connect: ppp0 <--> eth0
sent [LCP ConfReq id=0x1 <mru 1492> <magic 0x859fa945>]
rcvd [LCP ConfReq id=0x1 <mru 1454> <auth chap MD5> <magic 0x7f3e0857>]
lcp_reqci: returning CONFACK.
sent [LCP ConfAck id=0x1 <mru 1454> <auth chap MD5> <magic 0x7f3e0857>]
rcvd [LCP ConfAck id=0x1 <mru 1492> <magic 0x859fa945>]
sent [LCP EchoReq id=0x0 magic=0x859fa945]
rcvd [CHAP Challenge id=0x1 <4e6d3af913c08bd851c13b042c8efcf1>, name = "BAS"]
sent [CHAP Response id=0x1 <024c2d5689c3f0446f68053d828a717a>, name = "xxxxxxx@xxx-v6.myprovider.ne.jp"]
rcvd [LCP EchoRep id=0x0 magic=0x7f3e0857]
rcvd [CHAP Success id=0x1 ""]
CHAP authentication succeeded
CHAP authentication succeeded
peer from calling number 00:12:E2:70:69:F8 authorized
sent [IPCP ConfReq id=0x1 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns3 0.0.0.0>]
sent [IPV6CP ConfReq id=0x1 <addr fe80::7d8e:7c88:7330:fa40>]
rcvd [IPV6CP ConfReq id=0x1 <addr fe80::c28c:60ff:fee2:7280>]
ipv6cp: received interface identifier
(fe80::c28c:60ff:fee2:7280)
 (ACK)
ipv6cp: returning Configure-ACK
sent [IPV6CP ConfAck id=0x1 <addr fe80::c28c:60ff:fee2:7280>]
rcvd [LCP ProtRej id=0x1 80 21 01 01 00 18 03 06 00 00 00 00 81 06 00 00 00 00 83 06 00 00 00 00]
Protocol-Reject for 'Internet Protocol Control Protocol' (0x8021) received
rcvd [IPV6CP ConfAck id=0x1 <addr fe80::7d8e:7c88:7330:fa40>]
ipv6cp: up
local  LL address fe80::7d8e:7c88:7330:fa40
remote LL address fe80::c28c:60ff:fee2:7280
Script /etc/ppp/ipv6-up started (pid 6314)
Script /etc/ppp/ipv6-up finished (pid 6314), status = 0x0


tyeken8@ubnt:~$ show dhcpv6-pd log
May/09/2016 23:09:55: ifreset: invalid interface(pppoe0): No such device
May/09/2016 23:09:55: main: failed to initialize pppoe0

 

 

Can ubnt fix the bug or come out a workaround for it? I like the box very much. However, if it could not go without IPv6 PPPoE, it is totally useless for me (and Japanese users)!

 

 

 Technical details:

 

 This blog article (in Japanese) is describing the same issue with a detailed analysis.

The key is: EdgeOS (named Vyatta) is using ip-pre-up.d scripts to rename the ppp interface before it is brought up. However pppd does not support an equivalent ipv6-pre-up.d. So we need some sorts of workaround (e.g. ipv6-up.d, I simply copied the script to ipv6-up.d but it didn't work either).

 

 

New Member
Posts: 6
Registered: ‎05-21-2016
Kudos: 2

Re: IPv6 only PPPoE = FAIL

Issue still affects me on 1.8.5. Any updates on this? Thanks.

New Member
Posts: 1
Registered: ‎12-16-2016

Re: IPv6 only PPPoE = FAIL

I found a patch to add ipv6-pre-up script to pppd.

https://github.com/paulusmack/ppp/pull/55/commits/ad5b5e867d021bbc3cf9e6a3090e32857b7d899e

 

Can EdgeMAX be implemented in the same way?

Ubiquiti Employee
Posts: 1,175
Registered: ‎07-20-2015
Kudos: 1317
Solutions: 76

Re: IPv6 only PPPoE = FAIL

I will create bug ticket to address this issue. Thank you for reporting.

New Member
Posts: 4
Registered: ‎05-09-2016
Kudos: 7

Re: IPv6 only PPPoE = FAIL

Actually, I'm the author of the patch...

Tydus a.k.a tyeken8.

New Member
Posts: 4
Registered: ‎05-09-2016
Kudos: 7

Re: IPv6 only PPPoE = FAIL

Thank you very much. I'm looking forward to have this issue solved (my box is put on the shelf currently...). Keep working Man Happy
New Member
Posts: 14
Registered: ‎05-09-2017

Re: IPv6 only PPPoE = FAIL

I just tried to apply ipv6-pre-up patch to pppd, and cross compiled it. 

Then I put pppd2.4.7 to ER-X's /usr/sbin. IPv6 only pppoe is working but ipv4 only pppoe is not working. I guess that pppd source and compile option and or some customization patch is not apply my source. 

Anyway, IPv4 only pppoe and IPv6 only pppoe are working together my ER-X (Need manual operation to activate both)

 

Env.

  • pppd source is ubuntu zesty's one(apt-get source ppp)
  • Patched ipv6-pre-up
  • Cross compiled for mipsel
  • copy ipv4-pre-up* to ipv6-pre-up*
  • ip -6 add default dev pppoe1

 

Result

  • IPv4 only pppoe is not working my pppd(Need switching pppd binary for activate both IPv4 and IPv6)
  • May  9 18:32:11 xxx pppd[3225]: In file /etc/ppp/peers/pppoe1: unrecognized option 'lcp-echo-adaptive'  (disable adaptive option manually, I need ER-X pppd source!!)
  • ipv6-pre-up is working and successfully rename ppp to pppoe1
  • ipv6 only pppoe is successfully connect my ISP
  • pppoe1 is not up by pre-up or up script. I don't know why.
  • I can ping to my ISP router using link-local when I set `ip link set up pppoe1`
  • dhcp6c is successfully get prefix and set global ipv6 addr to eth1
  • ??? sometime vpn(L2TP and ipsec ip6ip6 tunnel) config will ignore and removed my config may be when I put pppoe1 config???? 

config and memos

 /var/log/vyatta/ppp-pppoe1.log

 

Recv PPPOE Discovery V1T1 PADS session 0x7267 length 32
 dst 80:2a:a8:9e:4e:60  src 00:23:04:9d:7d:c3
 [service-name] [host-uniq  2c 0d 00 00] [AC-cookie  c5 db 75 96 20 70 7e 5b 58 4e 55 11 61 2d 56 d$]
PADS: Service-Name: ''
PPP session is 29287
Connected to 00:23:04:9d:7d:c3 via interface eth0
using channel 3
Using interface ppp0
Connect: ppp0 <--> eth0
sent [LCP ConfReq id=0x1 <mru 1492> <magic 0x6de6882f>]
rcvd [LCP ConfReq id=0x1 <mru 1454> <auth chap MD5> <magic 0x2c36cb0c>]
sent [LCP ConfAck id=0x1 <mru 1454> <auth chap MD5> <magic 0x2c36cb0c>]
rcvd [LCP ConfAck id=0x1 <mru 1492> <magic 0x6de6882f>]
sent [LCP EchoReq id=0x0 magic=0x6de6882f]
rcvd [LCP EchoRep id=0x0 magic=0x2c36cb0c]
rcvd [CHAP Challenge id=0x1 <ca36847045072baa081c0f5be568e3d7>, name = "xxx"]
sent [CHAP Response id=0x1 <d4ed206130808dbf6c39a78516104afa>, name = "xxx@ipv6.ocn.ne.jp"]
rcvd [CHAP Success id=0x1 ""]
CHAP authentication succeeded
CHAP authentication succeeded
peer from calling number 00:23:04:9xxx authorized
sent [IPCP ConfReq id=0x1 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns2 0.0.0.0>]
sent [IPV6CP ConfReq id=0x1 <addr fe80::28a2:xxxc>]
rcvd [LCP ProtRej id=0xbd 80 21 01 01 00 16 03 06 00 00 00 00 81 06 00 00 00 00 83 06 00 00 00 00]
Protocol-Reject for 'Internet Protocol Control Protocol' (0x8021) received
rcvd [IPV6CP ConfReq id=0x42 <addr fe80::0090:1xxx>]
sent [IPV6CP ConfAck id=0x42 <addr fe80::0090:xxx>]
rcvd [IPV6CP ConfAck id=0x1 <addr fe80::28a2:b9xxx>]
Script /etc/ppp/ipv6-pre-up started (pid 3378)
local  LL address fe80::28a2:xxx
remote LL address fe80::0090:xxx


-------------------/var/run/dhcp6c-pppoe1-pd-client.conf
interface pppoe1 {
send ia-na 0;
request domain-name-servers, domain-name;
send rapid-commit;
send ia-pd 0;
script "/opt/vyatta/sbin/ubnt-dhcp6c-script";
};

id-assoc na 0 {};

id-assoc pd 0 {
prefix ::/64 infinity;
prefix-interface eth1 {
sla-id 0;
sla-len 0;
ifid 1;
};
};

-----------------ip a show pppoe1
root@xxx:/usr/sbin# ip a show pppoe1
16: pppoe1: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> mtu 1492 qdisc pfifo_fast state UNKNOWN group default qlen 3
link/ppp
inet6 fe80::28a2:bxxxx/10 scope link
valid_lft forever preferred_lft forever
-------------------ip a show eth1
5: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
link/ether 80:2a:axxx brd ff:ff:ff:ff:ff:ff
inet 192.168.1.1/24 brd 192.168.1.255 scope global eth1
valid_lft forever preferred_lft forever
inet6 2400:4131:xxx::1/56 scope global
valid_lft forever preferred_lft forever
inet6 fe80::822a:xxx/64 scope link
valid_lft forever preferred_lft forever



I hope some help to implement ipv6 only pppoe support

New Member
Posts: 18
Registered: ‎07-27-2017
Kudos: 2

Re: IPv6 only PPPoE = FAIL

[ Edited ]

i am in japan and on ntt (trying to get to iij). is this solved by 1.7.1, a patch, or should i wait?

 

oh, and iij gave me same account/pass for 4 and 6.  this is gonna work?

New Member
Posts: 6
Registered: ‎05-21-2016
Kudos: 2

Re: IPv6 only PPPoE = FAIL

If both connections use the same username and password, I'd guess they only use a single connection. Unless there's something to tell them apart? Try it and find out? I'm interested in switching to IIJ myself.

IPv6 generally works fine on EdgeRouter's PPPoE. The issue in this thread specifically applies to IPv6 only interfaces. The issue is quite superficial too. The scripts that run when the interface configures IPv4 rename it from its generated name to its configured name. If this step never runs, as is the case for IPv6 only connections like my SoNet connection, then the subsequent scripts that expect to use the configured name can't find the interface, and everything falls apart.
Senior Member
Posts: 3,958
Registered: ‎05-15-2014
Kudos: 1421
Solutions: 271

Re: IPv6 only PPPoE = FAIL

Did you try firmware 1.9.7 that was released few days ago?

New Member
Posts: 18
Registered: ‎07-27-2017
Kudos: 2

Re: IPv6 only PPPoE = FAIL

[ Edited ]

it is definitely two pppoe sessions.  with an iij seil, the two are configured as

ppp add pppoe-v4 keepalive 30 ipcp enable ipcp-address on ipcp-dns on ipv6cp disable authentication-method chap identifier foo@bnf1.iij.ad.jp passphrase bar tcp-mss auto
ppp add pppoe-v6 keepalive 30 ipcp disable ipcp-address off ipcp-dns off ipv6cp enable authentication-method chap identifier foo@bnf6.iij.ad.jp passphrase bar tcp-mss auto

note ipv6 enable/disable

New Member
Posts: 18
Registered: ‎07-27-2017
Kudos: 2

Re: IPv6 only PPPoE = FAIL

ok, i am at 1.9.7.  how do i specify ipv4/ipv6 when i create a pppoe (see iij seil example above)?

New Member
Posts: 14
Registered: ‎05-09-2017

Re: IPv6 only PPPoE = FAIL

New Member
Posts: 18
Registered: ‎07-27-2017
Kudos: 2

Re: IPv6 only PPPoE = FAIL

[ Edited ]

if i try to configure two pppoe interfaces, uploading this via the gui, which does not complain

    ethernet eth0 {
        description "PPPoE to IIJ"
        duplex auto
        pppoe 0 {
            default-route auto
            mtu 1492
            name-server auto
            password bar
            user-id foo@bnf1.iij.ad.jp
        }
	ppooe 1 {
	    default-route auto
            ipv6 {
		address {
		    autoconf
		}
		dup-addr-detect-transmits 1
		enable {
		}
	    }
	    mtu 1500
	    name-server auto
	    traffic-policy {
		out OutgoingLink
	    }
	    password bar
	    user-id foo@bnf1.iij.ad.jp
        }
        speed auto
    }

the second interface does not show in the web gui, and

randy@erx-tokyo:~$ show interfaces pppoe pppoe1 log
cat: can't open '/var/log/vyatta/ppp_pppoe1.log': No such file or directory

when i show the config, the second pppoe does not even show.

if i try to load it by hand, it blows chunks

randy@erx-tokyo# load /tmp/config.boot
Loading configuration from '/tmp/config.boot'...
The specified configuration node is not valid
Set ['interfaces' 'ethernet' 'eth0' 'ppooe' '1' 'default-route' 'auto'] failed
The specified configuration node is not valid
Set ['interfaces' 'ethernet' 'eth0' 'ppooe' '1' 'ipv6' 'address' 'autoconf'] failed
...
New Member
Posts: 18
Registered: ‎07-27-2017
Kudos: 2

Re: IPv6 only PPPoE = FAIL

[ Edited ]

i load a configuration with the following

interfaces {
    ethernet eth0 {
        description "PPPoE to IIJ"
        duplex auto
        pppoe 0 {
            default-route auto
            mtu 1492
            name-server auto
            password bar
            user-id foo@bnf1.iij.ad.jp
        }
	pppoe 1 {
	    default-route auto
            ipv6 {
		address {
		    autoconf
		}
		dup-addr-detect-transmits 1
		enable {
		}
	    }
	    mtu 1500
	    name-server auto
	    password bar
	    user-id foo@bnf6.iij.ad.jp
        }
        speed auto
    }
...

and it whines

randy@erx-tokyo# load /tmp/config.boot
Loading configuration from '/tmp/config.boot'...

Load complete.  Use 'commit' to make changes active.
[edit]
randy@erx-tokyo# commit
Warning: priority inversion [interfaces ethernet eth0 pppoe 1 ipv6 address](400) <= [interfaces ethernet eth0 pppoe 1](400)
         changing [interfaces ethernet eth0 pppoe 1 ipv6 address] to (401)
[ interfaces ethernet eth0 pppoe 1 ipv6 dup-addr-detect-transmits 1 ]
Will set dup_addr_detect_transmits when pppoe1 comes up

[ interfaces ethernet eth0 pppoe 1 ipv6 address autoconf ]
Enabling address auto-configuration for pppoe1

and i lose my ipv4 connectivity, but have some sort of v6

randy@erx-tokyo:~$ show interfaces ethernet eth0 
eth0: <broadcast,multicast,up,lower_up> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
    link/ether f0:9f:c2:08:64:80 brd ff:ff:ff:ff:ff:ff
    inet6 fe80::f29f:c2ff:fe08:6480/64 scope link 
       valid_lft forever preferred_lft forever
    Description: PPPoE to IIJ

    RX:  bytes    packets     errors    dropped    overrun      mcast
      86079572      65181          0          0          0          0
    TX:  bytes    packets     errors    dropped    carrier collisions
       4141477      31548          0          0          0          0

and the log

randy@erx-tokyo:~$ show interfaces pppoe pppoe1 log
Sun Jul 30 22:36:07 UTC 2017: PPP interface pppoe1 created
Sun Jul 30 22:36:08 UTC 2017: Stopping PPP daemon for pppoe1
Sun Jul 30 22:36:08 UTC 2017: Starting PPP daemon for pppoe1
Connected to 00:12:e2:70:a9:2f via interface eth0
using channel 2
Using interface ppp1
Connect: ppp1 <--> eth0
sent [LCP ConfReq id=0x1  ]
rcvd [LCP ConfReq id=0x1   ]
lcp_reqci: returning CONFACK.
sent [LCP ConfAck id=0x1   ]
rcvd [LCP ConfAck id=0x1  ]
sent [LCP EchoReq id=0x0 magic=0x42d34158]
rcvd [CHAP Challenge id=0x1 , name = "BAS"]
sent [CHAP Response id=0x1 , name = "bn3@bnf1.iij.ad.jp"]
rcvd [LCP EchoRep id=0x0 magic=0x3e068ea1]
rcvd [CHAP Success id=0x1 ""]
CHAP authentication succeeded
CHAP authentication succeeded
peer from calling number 00:12:E2:70:A9:2F authorized
sent [IPCP ConfReq id=0x1   ]
sent [IPV6CP ConfReq id=0x1 ]
rcvd [IPCP ConfReq id=0x1 ]
ipcp: returning Configure-ACK
sent [IPCP ConfAck id=0x1 ]
rcvd [LCP ProtRej id=0x1 80 57 01 01 00 10 01 0a 9d 4e ab 12 0b 18 6b 74]
Protocol-Reject for 'IPv6 Control Protovol' (0x8057) received
rcvd [IPCP ConfNak id=0x1   ]
sent [IPCP ConfReq id=0x2   ]
rcvd [IPCP ConfAck id=0x2   ]
ipcp: up
Script /etc/ppp/ip-pre-up started (pid 1898)
Script /etc/ppp/ip-pre-up finished (pid 1898), status = 0x0
not replacing existing default route through pppoe0
local  IP address 210.138.216.50
remote IP address 203.180.20.83
primary   DNS address 202.232.2.3
secondary DNS address 202.232.2.2
Script /etc/ppp/ip-up started (pid 1948)
Script /etc/ppp/ip-up finished (pid 1948), status = 0x0
Sun Jul 30 22:39:50 UTC 2017: PPP interface pppoe1 deleted
Sun Jul 30 22:39:50 UTC 2017: Stopping PPP daemon for pppoe1
Terminating on signal 15
ipcp: down
Connect time 3.7 minutes.
Sent 678516 bytes, received 45168 bytes.
Script /etc/ppp/ip-down started (pid 2375)
IPV6CP: Down event in state 1!
sent [LCP TermReq id=0x2 "User request"]
rcvd [LCP TermAck id=0x2]
Connection terminated: no multilink.
Waiting for 1 child processes...
  script /etc/ppp/ip-down, pid 2375
Script /etc/ppp/ip-down finished (pid 2375), status = 0x0

which seems to show some v4/v6 confusion on pppoe1

New Member
Posts: 14
Registered: ‎05-09-2017

Re: IPv6 only PPPoE = FAIL

IIJ has IPoE(IPv6 over Ethernet) option. 

Basically NTT's IPv6 prefix can't connect to IPv6 internet, but this option will change from NTT IPv6 prefix to IIJ's global connected IPv6 prefix. So you don't need PPoe1.

 

So if you want to use IPv6 , you can ask to IIJ support.

 

descrived here.

https://www.iij.ad.jp/biz/faf6ipoe/

New Member
Posts: 18
Registered: ‎07-27-2017
Kudos: 2

Re: IPv6 only PPPoE = FAIL

[ Edited ]

hint: i work at iij (research) and am working with iij ops on this. Man Happy
as i said a few days ago, the iij seil does it with two pppoe connections; which is what i am trying to replicate with the erx. i have not tried ipoe. are you suggesting one pppoe and one ipoe? will chat with ops.

New Member
Posts: 6
Registered: ‎05-21-2016
Kudos: 2

Re: IPv6 only PPPoE = FAIL

From the log above it looks like that interface isn't hitting the IPv6 case (Protocol-Reject for IPV6 Control Protocol). Also the link local address on eth0 (fe80:...) isn't related to having working IPv6.

The ipoe option is a different encapsulation, which provides more native IPv6, and the ability to tunnel your IPv4 through it. IIRC it's a small extra fee, and should avoid any congestion on NTT's pppoe concentrators. You probably want one pppoe and one ipoe connection. It's the main reason I want to switch to iij.
New Member
Posts: 18
Registered: ‎07-27-2017
Kudos: 2

Re: IPv6 only PPPoE = FAIL

[ Edited ]

apologies for another wall of text

i load a configuration with the following

interfaces {
    ethernet eth0 {
        description "PPPoE to IIJ"
        duplex auto
        pppoe 0 {
            default-route auto
            name-server auto
            password bar
            user-id foo@bnf1.iij.ad.jp
        }
        pppoe 1 {
            default-route auto
            ipv6 {
                address {
                    autoconf
                }
                dup-addr-detect-transmits 1
                enable {
                }
            }
            name-server auto
            password bar
            user-id foo@bnf6.iij.ad.jp
        }         /* note  ^  /*
        speed auto
    }
...

and, after removing mtu bits, it no longer whines at the commit. the pppoe1 log

randy@erx-tokyo:~$ show interfaces pppoe pppoe1 log
Mon Jul 31 05:23:34 UTC 2017: PPP interface pppoe1 created
Mon Jul 31 05:23:35 UTC 2017: Stopping PPP daemon for pppoe1
Mon Jul 31 05:23:35 UTC 2017: Starting PPP daemon for pppoe1
Connected to 00:12:e2:70:a9:2f via interface eth0
using channel 2
Using interface ppp1
Connect: ppp1 <--> eth0
sent [LCP ConfReq id=0x1  ]
rcvd [LCP ConfReq id=0x1   ]
lcp_reqci: returning CONFACK.
sent [LCP ConfAck id=0x1   ]
rcvd [LCP ConfAck id=0x1  ]
sent [LCP EchoReq id=0x0 magic=0xfc710350]
rcvd [CHAP Challenge id=0x1 <558560035eec3324433b2610ca522b99>, name = "BAS"]
sent [CHAP Response id=0x1 , name = "bn3@bnf6.iij.ad.jp"]
rcvd [LCP EchoRep id=0x0 magic=0x2dacff03]
rcvd [CHAP Success id=0x1 ""]
CHAP authentication succeeded
CHAP authentication succeeded
peer from calling number 00:12:E2:70:A9:2F authorized
sent [IPCP ConfReq id=0x1   ]
sent [IPV6CP ConfReq id=0x1 ]
rcvd [IPV6CP ConfReq id=0x1 ]
ipv6cp: received interface identifier 
(fe80::d272:dcff:fe56:4200)
 (ACK)
ipv6cp: returning Configure-ACK
sent [IPV6CP ConfAck id=0x1 ]
rcvd [LCP ProtRej id=0x1 80 21 01 01 00 18 03 06 00 00 00 00 81 06 00 00 00 00 83 06 00 00 00 00]
Protocol-Reject for 'Internet Protocol Control Protocol' (0x8021) received
rcvd [IPV6CP ConfAck id=0x1 ]
ipv6cp: up
local  LL address fe80::35b5:bbb7:c356:b3dc
remote LL address fe80::d272:dcff:fe56:4200
Script /etc/ppp/ipv6-up started (pid 12165)
Script /etc/ppp/ipv6-up finished (pid 12165), status = 0x0
Mon Jul 31 05:33:47 UTC 2017: Stopping PPP daemon for pppoe1
Terminating on signal 15
IPCP: Down event in state 1!
ipv6cp: down
Script /etc/ppp/ipv6-down started (pid 12750)
sent [LCP TermReq id=0x2 "User request"]
rcvd [LCP TermAck id=0x2]
Connection terminated: no multilink.
Connect time 10.2 minutes.
Sent 714 bytes, received 332 bytes.
Script /etc/ppp/ipv6-down finished (pid 12750), status = 0x0
Mon Jul 31 05:33:48 UTC 2017: Starting PPP daemon for pppoe1
Connected to 00:12:e2:70:a9:2f via interface eth0
using channel 4
Using interface ppp1
Connect: ppp1 <--> eth0
sent [LCP ConfReq id=0x1  ]
rcvd [LCP ConfReq id=0x1   ]
lcp_reqci: returning CONFACK.
sent [LCP ConfAck id=0x1   ]
rcvd [LCP ConfAck id=0x1  ]
sent [LCP EchoReq id=0x0 magic=0xc61c706e]
rcvd [CHAP Challenge id=0x1 , name = "BAS"]
sent [CHAP Response id=0x1 , name = "bn3@bnf6.iij.ad.jp"]
rcvd [LCP EchoRep id=0x0 magic=0x5324b56a]
rcvd [CHAP Success id=0x1 ""]
CHAP authentication succeeded
CHAP authentication succeeded
peer from calling number 00:12:E2:70:A9:2F authorized
sent [IPCP ConfReq id=0x1   ]
sent [IPV6CP ConfReq id=0x1 ]
rcvd [IPV6CP ConfReq id=0x1 ]
ipv6cp: received interface identifier 
(fe80::02f6:63ff:fef2:a280)
 (ACK)
ipv6cp: returning Configure-ACK
sent [IPV6CP ConfAck id=0x1 ]
rcvd [LCP ProtRej id=0x1 80 21 01 01 00 18 03 06 00 00 00 00 81 06 00 00 00 00 83 06 00 00 00 00]
Protocol-Reject for 'Internet Protocol Control Protocol' (0x8021) received
rcvd [IPV6CP ConfAck id=0x1 ]
ipv6cp: up
local  LL address fe80::fd1e:6a35:1144:8649
remote LL address fe80::02f6:63ff:fef2:a280
Script /etc/ppp/ipv6-up started (pid 13051)
Script /etc/ppp/ipv6-up finished (pid 13051), status = 0x0

i have ipv4 connectivity but not ipv6

randy@erx-tokyo:~$ show interfaces ethernet eth0
eth0:  mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
    link/ether f0:9f:c2:08:64:80 brd ff:ff:ff:ff:ff:ff
    inet6 fe80::f29f:c2ff:fe08:6480/64 scope link 
       valid_lft forever preferred_lft forever
    Description: PPPoE to IIJ

    RX:  bytes    packets     errors    dropped    overrun      mcast
     794163321    1717104          0          0          0          0
    TX:  bytes    packets     errors    dropped    carrier collisions
    1218798419    1566871          0          0          0          0

but pppoe1 does not show in the cli, though it does, as disconnected, in the web gui.

randy@erx-tokyo:~$ show interfaces
Codes: S - State, L - Link, u - Up, D - Down, A - Admin Down
Interface    IP Address                        S/L  Description                 
---------    ----------                        ---  -----------                 
eth0         -                                 u/u  PPPoE to IIJ                
eth1         192.168.1.1/24                    u/D  Console                     
eth2         -                                 u/u  Yakuoji LAN                 
eth3         -                                 u/D  Yakuoji LAN                 
eth4         -                                 u/u  Yakuoji LAN                 
lo           127.0.0.1/8                       u/u                              
             ::1/128                          
ppp1         -                                 u/D                              
pppoe0       210.138.216.50                    u/u                              
switch0      192.168.0.1/24                    u/u  Local                       

 

New Member
Posts: 6
Registered: ‎05-21-2016
Kudos: 2

Re: IPv6 only PPPoE = FAIL

That looks like it's closer to working. It's doing some configuration of IPv6 on the PPPoE link. I suspect you've encountered the issue this thread is about. In your list of interfaces, there's an entry for `ppp1`. Does this correspond to your ipv6 pppoe connection? Does it have the ipv6 addresses that show up in the pppoe log? You might have to start a raw shell and investigate with "ifconfig ppp1" or "ip addr show dev ppp1".

 

For the ipoe option, Google does turn up and example of using the native ipv6, and tunnelling ipv4 over it (DS-Lite) with EdgeOS. https://blog.riywo.com/2017/04/edgerouter-x-and-ds-lite-with-ntt/

Reply