Subject: ippp0 and ipv6 trouble (ipv6cp)
To: None <tech-net@netbsd.org>
From: Zafer Aydogan <zafer@aydogan.de>
List: tech-net
Date: 09/25/2007 21:43:40
hello list,

I'm having trouble to establish an isdn connection.
Everything seem to work but somehow ippp0 tries to establish a ppp
connection via ipv6. This attempt (ipv6cp) is rejected by the peer.
After that, the ipcp pap authentication succeeds and I get an IP
(ipv4) but before the connection is established the connection is
closed. During dialing my console prints: "ipv6cp illegal up in state
req-sent" all the time.

Here is the debug log from ifconfig.

Sep 25 21:32:17 pembe /netbsd: ippp0: lcp open(initial)
Sep 25 21:32:17 pembe /netbsd: ippp0: phase establish
Sep 25 21:32:17 pembe isdnd[126]: CHD 00146 world rate 0 sec/unit (conf)
Sep 25 21:32:17 pembe isdnd[126]: CHD 00146 world dialing out from xxx to yyy
Sep 25 21:32:17 pembe isdnd[126]: CHD 00146 world outgoing call
proceeding (ctl 0, ch 0)
Sep 25 21:32:18 pembe /netbsd: ippp0: Up event
Sep 25 21:32:18 pembe /netbsd: ippp0: lcp up(starting)
Sep 25 21:32:18 pembe /netbsd: ippp0: lcp output <conf-req id=0x92
len=10 05-06-ab-cb-b5-35>
Sep 25 21:32:18 pembe isdnd[126]: CHD 00146 world outgoing call active
(ctl 0, ch 0, ippp0)
Sep 25 21:32:18 pembe /netbsd: ippp0: lcp input(req-sent): <conf-req
id=0x22 len=27 03-04-c0-23-05-06-28-eb-b8-56-11-04-05-f4
-13-09-01-64-69-61-6c-69-6e>
Sep 25 21:32:18 pembe /netbsd: ippp0: lcp parse opts: auth-proto magic
0x11 [rej] 0x13 [rej] send conf-rej
Sep 25 21:32:18 pembe /netbsd: ippp0: lcp output <conf-rej id=0x22
len=17 11-04-05-f4-13-09-01-64-69-61-6c-69-6e>
Sep 25 21:32:18 pembe /netbsd: ippp0: lcp input(req-sent): <conf-ack
id=0x92 len=10 05-06-ab-cb-b5-35>
Sep 25 21:32:18 pembe /netbsd: ippp0: lcp input(ack-rcvd): <conf-req
id=0x23 len=14 03-04-c0-23-05-06-28-eb-b8-56>
Sep 25 21:32:18 pembe /netbsd: ippp0: lcp parse opts: auth-proto magic
Sep 25 21:32:18 pembe /netbsd: ippp0: lcp parse opt values:
auth-proto magic 0x28ebb856 send conf-ack
Sep 25 21:32:18 pembe /netbsd: ippp0: lcp output <conf-ack id=0x23
len=14 03-04-c0-23-05-06-28-eb-b8-56>
Sep 25 21:32:18 pembe /netbsd: ippp0: lcp tlu
Sep 25 21:32:18 pembe /netbsd: ippp0: phase authenticate
Sep 25 21:32:18 pembe /netbsd: ippp0: pap output <req id=0x92 len=23
09-66-6c-61-74-32-73-75-72-66-08-69-6e-74-65-72-6e-65-74
>
Sep 25 21:32:18 pembe /netbsd: ippp0: ipv6cp up(initial)
Sep 25 21:32:18 pembe /netbsd: ippp0: pap success
Sep 25 21:32:18 pembe /netbsd: ippp0: phase network
Sep 25 21:32:18 pembe /netbsd: ippp0: ipcp open(initial)
Sep 25 21:32:18 pembe /netbsd: ippp0: ipv6cp open(closed)
Sep 25 21:32:18 pembe /netbsd: ippp0: ipv6cp output <conf-req id=0x23
len=14 01-0a-02-30-05-ff-fe-45-33-6a>
Sep 25 21:32:18 pembe /netbsd: ippp0: ipcp up(starting)
Sep 25 21:32:18 pembe /netbsd: ippp0: ipcp output <conf-req id=0x23
len=10 03-06-00-00-00-00>
Sep 25 21:32:18 pembe /netbsd: ippp0: ipv6cp up(req-sent)
Sep 25 21:32:18 pembe /netbsd: ippp0: ipv6cp illegal up in state req-sent
Sep 25 21:32:18 pembe /netbsd: ippp0: ipcp input(req-sent): <conf-req
id=0x1 len=10 03-06-53-f2-20-fc>
Sep 25 21:32:18 pembe /netbsd: ippp0: ipcp parse opts: address
Sep 25 21:32:18 pembe /netbsd: ippp0: ipcp parse opt values:  address
0.0.0.1 [ack] send conf-ack
Sep 25 21:32:18 pembe /netbsd: ippp0: ipcp output <conf-ack id=0x1
len=10 03-06-53-f2-20-fc>
Sep 25 21:32:18 pembe /netbsd: ippp0: lcp input(opened): <proto-rej
id=0x1 len=20 80-57-01-23-00-0e-01-0a-02-30-05-ff-fe-45-3
3-6a>
Sep 25 21:32:18 pembe /netbsd: ippp0: lcp: RXJ+ (proto-rej) for proto
0x8057 (ipv6cp/req-sent)
Sep 25 21:32:18 pembe /netbsd: ippp0: ipv6cp close(req-sent)
Sep 25 21:32:18 pembe /netbsd: ippp0: ipv6cp output <term-req id=0x24 len=4>
Sep 25 21:32:18 pembe /netbsd: ippp0: ipcp input(ack-sent): <conf-nak
id=0x23 len=10 03-06-53-f2-3c-26>
Sep 25 21:32:18 pembe /netbsd: ippp0: ipcp nak opts: address [wantaddr
83.242.60.38] [agree]
Sep 25 21:32:18 pembe /netbsd: ippp0: ipcp output <conf-req id=0x24
len=10 03-06-53-f2-3c-26>
Sep 25 21:32:18 pembe /netbsd: ippp0: lcp input(opened): <proto-rej
id=0x2 len=10 80-57-05-24-00-04>
Sep 25 21:32:18 pembe /netbsd: ippp0: lcp: RXJ+ (proto-rej) for proto
0x8057 (ipv6cp/closing)
Sep 25 21:32:18 pembe /netbsd: ippp0: ipcp input(ack-sent): <conf-ack
id=0x24 len=10 03-06-53-f2-3c-26>
Sep 25 21:32:18 pembe /netbsd: ippp0: ipcp tlu
Sep 25 21:32:19 pembe /netbsd: ippp0: lcp down(opened)
Sep 25 21:32:19 pembe /netbsd: ippp0: phase terminate
Sep 25 21:32:19 pembe /netbsd: ippp0: ipcp down(opened)
Sep 25 21:32:19 pembe /netbsd: ippp0: ipcp close(starting)
Sep 25 21:32:19 pembe /netbsd: ippp0: ipv6cp down(closing)
Sep 25 21:32:19 pembe /netbsd: ippp0: ipv6cp close(initial)
Sep 25 21:32:19 pembe /netbsd: ippp0: Down event (carrier loss)
Sep 25 21:32:19 pembe /netbsd: ippp0: lcp close(starting)
Sep 25 21:32:19 pembe /netbsd: ippp0: phase dead

Any help is appreciated.

Zafer.

ps: this is current 4.99.31 from today morning.