Subject: Re: ippp0 and ipv6 trouble (ipv6cp)
To: Ignatios Souvatzis <ignatios@cs.uni-bonn.de>
From: Zafer Aydogan <zafer@aydogan.de>
List: tech-net
Date: 10/02/2007 14:32:18
2007/10/2, Ignatios Souvatzis <ignatios@cs.uni-bonn.de>:
> On Tue, Sep 25, 2007 at 09:43:40PM +0200, Zafer Aydogan wrote:
> > 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.
>
> Hm - sounds like a broken peer to me; at least the kernel sync ppp
> engines of NetBSD used to work with the legacy IP (IPv4) only peers
> I've used in the past; only logging a warning. (Unless some other
> parameter of pap and ipv4 negotiation is wrong on your side, too).
>
> Our async PPP implementation has a workaround for broken peers: you can
> disable ipv6 with "pppd -ipv6", but I didn't find such an option for
> ipppctl.
>

I've build a kernel without INET6, but the problem remains.
The connection is always closed in the end.
Is this possible because I set link1 for ippp0 ?

inet 0.0.0.0 0.0.0.1 link1 down

which should bring up the interface and the connection on demand.


This is the last part of the log with the ipv4 only kernel:

Sep 30 13:38:57 pembe /netbsd: ippp0: ipcp parse opts: address
Sep 30 13:38:57 pembe /netbsd: ippp0: ipcp parse opt values:  address
0.0.0.1 [ack] send conf-ack
Sep 30 13:38:57 pembe /netbsd: ippp0: ipcp output <conf-ack id=0x1
len=10 03-06-53-f2-20-fc>
Sep 30 13:38:57 pembe /netbsd: ippp0: ipcp input(ack-sent): <conf-nak
id=0x15 len=10 03-06-53-f2-3e-03>
Sep 30 13:38:57 pembe /netbsd: ippp0: ipcp nak opts: address [wantaddr
83.242.62.3] [agree]
Sep 30 13:38:57 pembe /netbsd: ippp0: ipcp output <conf-req id=0x16
len=10 03-06-53-f2-3e-03>
Sep 30 13:38:57 pembe /netbsd: ippp0: ipcp input(ack-sent): <conf-ack
id=0x16 len=10 03-06-53-f2-3e-03>
Sep 30 13:38:57 pembe /netbsd: ippp0: ipcp tlu
Sep 30 13:38:57 pembe /netbsd: ippp0: lcp down(opened)
Sep 30 13:38:57 pembe /netbsd: ippp0: phase terminate
Sep 30 13:38:57 pembe /netbsd: ippp0: ipcp down(opened)
Sep 30 13:38:57 pembe /netbsd: ippp0: ipcp close(starting)
Sep 30 13:38:57 pembe /netbsd: ippp0: Down event (carrier loss)
Sep 30 13:38:57 pembe /netbsd: ippp0: lcp close(starting)
Sep 30 13:38:57 pembe /netbsd: ippp0: phase dead

I also tried another provider to connect with the same result.

Is there anything else I can do ?

Cheers, Zafer.


> Regards,
>         -is
>