Debugging PPP and IPv6

Started by andrue, Sep 02, 2013, 07:53:05

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

andrue

Hi. I'm trying to work out why my new router is failing to provide IPv6. My old router had an option to share the existing IPv4 PPP session but this one seems not to. Some people have suggested that it probably does that anyway but it's not getting a connection. In fact any attempt to get IPv6 working other than tunnelling causes the IPv4 session to fail. Here's part of a log when it was configured to use PPPoEv4 and PPPOEv6:

####################################################################
# TL-WDR3600 System Log
# Time = 2013-09-01 9:03:01 483407s
# H-Ver = WDR3600 v1 00000000 : S-Ver = 3.13.31 Build 130320 Rel.55761n
# L = 192.168.0.1 : M = 255.255.255.0
# W1 = PPPoE : W = 0.0.0.0 : M = 0.0.0.0 : G = 0.0.0.0
####################################################################

Sep 1 09:02:10    PPP WARNING   LCP down
Sep 1 09:02:10    PPP INFO send_phase 2098 pppd_phase = 0x4
Sep 1 09:02:10    PPP INFO In pppd the httpd-id is 666, set link phase is 0x80000004
Sep 1 09:02:10    PPP INFO sent [LCP Req mru=1480 magic=0x7837cbc5]
Sep 1 09:02:10    PPP INFO sent [LCP Rej mrru=1524]
Sep 1 09:02:10    PPP INFO rcvd [LCP Nak mru=1500]
Sep 1 09:02:10    PPP INFO sent [LCP Req magic=0x7837cbc5]
Sep 1 09:02:10    PPP INFO rcvd [LCP Req auth=chap-MD5 magic=0xf12b439a endpoint]
Sep 1 09:02:10    PPP INFO sent [LCP Ack auth=chap-MD5 magic=0xf12b439a endpoint]
Sep 1 09:02:10    PPP INFO rcvd [LCP Ack magic=0x7837cbc5]
Sep 1 09:02:10    PPP INFO send_phase 2098 pppd_phase = 0x5
Sep 1 09:02:10    PPP INFO In pppd the httpd-id is 666, set link phase is 0x80000005
Sep 1 09:02:10    PPP INFO rcvd [CHAP Challenge (ddbffd67f22559028e7e26a3c3a1c190), name = "IDNetLNS"]
Sep 1 09:02:10    PPP INFO sent [CHAP Response (154e50f0bdff6cadde756e1f5e3c4893), name = "xxxxxx"]
Sep 1 09:02:11    PPP NOTICE call pppoeFormatCmd
Sep 1 09:02:11    PPP NOTICE Standard authentication.
Sep 1 09:02:11    PPP NOTICE g_cmdBuf:pppd pppoe eth0.2 defaultroute unit 0 noaccomp nopcomp httpd-pid 666 user_len 17

passwd_len 8 special-flag 100 mru 1480 mtu 1480 usepeerdns
Sep 1 09:02:11    PPP INFO send_phase 2098 pppd_phase = 0x2
Sep 1 09:02:11    PPP INFO In pppd the httpd-id is 666, set link phase is 0x2
Sep 1 09:02:11    PPP INFO sent [PADI Host-Uniq(0x000002a1)]
Sep 1 09:02:15    PPP INFO sent [PADI Host-Uniq(0x00000287)]
Sep 1 09:02:15    PPP INFO sent [PADI Host-Uniq(0x0000028e)]
Sep 1 09:02:15    PPP INFO rcvd [CHAP Success ""]
Sep 1 09:02:15    PPP INFO send_phase 2098 pppd_phase = 0x7
Sep 1 09:02:15    PPP INFO In pppd the httpd-id is 666, set link phase is 0x80000007
Sep 1 09:02:15    PPP INFO sent [IPCP Req addr=0.0.0.0]
Sep 1 09:02:15    PPP INFO sent [IPV6CP ConfReq local Peer Ipv6 Address = fe80::3cb4:8539:c800:8b97]
Sep 1 09:02:15    PPP INFO rcvd [IPCP Req addr=212.69.63.98]
Sep 1 09:02:15    PPP INFO sent [IPCP Ack addr=212.69.63.98]
Sep 1 09:02:15    PPP INFO rcvd [IPV6CP ConfReq remote Peer Ipv6 Address = fe80::523d:e5ff:feb7:e718

ip=fe80::3cb4:8539:c800:8b97 fe80::523d:e5ff:feb7:e718]
Sep 1 09:02:15    PPP INFO sent [IPV6CP ConfAck ip=fe80::3cb4:8539:c800:8b97 fe80::523d:e5ff:feb7:e718]
Sep 1 09:02:15    PPP INFO rcvd [IPCP Nak addr=xx.xx.xx.xx]
Sep 1 09:02:15    PPP INFO sent [IPCP Req addr=xx.xx.xx.xx]
Sep 1 09:02:15    PPP INFO rcvd [IPV6CP ConfAck ip=fe80::3cb4:8539:c800:8b97 fe80::523d:e5ff:feb7:e718]
Sep 1 09:02:15    PPP INFO send_phase 2098 pppd_phase = 0x8
Sep 1 09:02:15    PPP INFO In pppd the httpd-id is 666, set link phase is 0x80000008
Sep 1 09:02:15    PPP INFO rcvd [IPCP Ack addr=xx.xx.xx.xx]
Sep 1 09:02:15    PPP INFO ipcpup : ipcp_wantoptions[0].default_route = 1^M
Sep 1 09:02:16    PPP INFO sent [PADI Host-Uniq(0x000002a1)]
Sep 1 09:02:20    PPP INFO sent [PADI Host-Uniq(0x00000280)]
Sep 1 09:02:20    PPP INFO sent [PADI Host-Uniq(0x00000279)]
Sep 1 09:02:20    PPP INFO sent [PADI Host-Uniq(0x00000272)]
Sep 1 09:02:20    PPP INFO sent [PADI Host-Uniq(0x0000026b)]
Sep 1 09:02:21    PPP NOTICE call pppoeCmdReqIPv4
Sep 1 09:02:23    PPP NOTICE call pppoeFormatCmd
Sep 1 09:02:23    PPP NOTICE Standard authentication.
Sep 1 09:02:23    PPP NOTICE g_cmdBuf:pppd pppoe eth0.2 defaultroute unit 0 noaccomp nopcomp httpd-pid 666 user_len 17

passwd_len 8 special-flag 100 mru 1480 mtu 1480 usepeerdns
Sep 1 09:02:23    PPP INFO send_phase 2098 pppd_phase = 0x2
Sep 1 09:02:23    PPP INFO In pppd the httpd-id is 666, set link phase is 0x2
Sep 1 09:02:23    PPP INFO sent [PADI Host-Uniq(0x000002dc)]
Sep 1 09:02:25    PPP INFO sent [PADI Host-Uniq(0x00000287)]
Sep 1 09:02:25    PPP INFO sent [PADI Host-Uniq(0x0000028e)]
Sep 1 09:02:26    PPP INFO sent [PADI Host-Uniq(0x000002a1)]
Sep 1 09:02:28    PPP ERROR User request
Sep 1 09:02:28    PPP INFO send_phase 2098 pppd_phase = 0x9
Sep 1 09:02:28    PPP INFO In pppd the httpd-id is 666, set link phase is 0x80000009
Sep 1 09:02:28    PPP ERROR LCP down
Sep 1 09:02:28    PPP INFO send_phase 2098 pppd_phase = 0x7
Sep 1 09:02:28    PPP INFO In pppd the httpd-id is 666, set link phase is 0x80000007
Sep 1 09:02:28    PPP WARNING   LCP down
Sep 1 09:02:28    PPP INFO send_phase 2098 pppd_phase = 0x4
Sep 1 09:02:28    PPP INFO In pppd the httpd-id is 666, set link phase is 0x80000004
Sep 1 09:02:28    PPP INFO sent [LCP TermReq]
Sep 1 09:02:28    PPP INFO rcvd [LCP TermAck]
Sep 1 09:02:28    PPP INFO send_phase 2098 pppd_phase = 0xa
Sep 1 09:02:28    PPP INFO In pppd the httpd-id is 666, set link phase is 0x8000000a
Sep 1 09:02:28    PPP INFO send_phase 2098 pppd_phase = 0x0
Sep 1 09:02:28    PPP INFO In pppd the httpd-id is 666, set link phase is 0x80000000
Sep 1 09:02:28    PPP INFO sent [PADI Host-Uniq(0x000002dc)]
Sep 1 09:02:31    PPP NOTICE call pppoeCmdReqIPv6
Sep 1 09:02:31    PPP NOTICE Standard authentication.

FWIW the manual is here:

http://www.tp-link.com/Resources/document/TL-WDR3600_V1_user_guide.pdf

It's not a huge deal but it'd be nice to get IPv6 working.

Steve

Open wrt ??? Gargoyle  -  http://thinkdiff.org/blg/?p=64  maybe useful perhaps
Steve
------------
This post reflects my own views, opinions and experience, not those of IDNet.

andrue

Quote from: Steve on Sep 02, 2013, 12:09:39
Open wrt ??? Gargoyle  -  http://thinkdiff.org/blg/?p=64  maybe useful perhaps
Confusing, lol .

My router is compatible with OpenWrt but I'd like to stick with the original firmware if I can. The latest response from their tech. support gives me cause for optimism :)

andrue

Had an email from TPLink's senior engineer. He asked me to send him a Wireshark dump while logging on using my computer instead of a router. It was quite interesting actually so I might make that available here for diagnostics but probably only as text because there's some info in there that shouldn't be public.

Anyway the long and short seems to be that IDNet are using RADVD and their router doesn't support it. His email suggested they will be looking into adding support but between his slightly mangled English (considerably better than my Chinese, lol) it could just be the obvious response when "Change your settings to this.." isn't possible.

What I will say though from looking at the Wireshark trace is that if I was them I'd be wanting to support it to spare my embarrassment. Compared to the faffing around their router logs show Windows got a working dual-stack connection with ease. All Windows does in addition to the IPv4 stuff is negotiate an IPv6 interface (it suggests one and gets told to go ahead). It all reads like an off-hand exchange:

My laptop: "Oh by the way, can I use this interface?"
Response: "Yeah that's fine"

After that it just uses stateless configuration to get what it needs.