From owner-freebsd-stable@FreeBSD.ORG Fri Jul 4 09:00:51 2003 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 42A0237B401 for ; Fri, 4 Jul 2003 09:00:51 -0700 (PDT) Received: from k3.vol.cz (k3.vol.cz [195.122.207.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id CA7C043FBD for ; Fri, 4 Jul 2003 09:00:49 -0700 (PDT) (envelope-from jp@devnull.cz) Received: from k3.vol.cz (k3.vol.cz [195.122.207.226]) by k3.vol.cz (8.12.6p2/8.12.6) with ESMTP id h64G0ldB090250; Fri, 4 Jul 2003 18:00:47 +0200 (CEST) (envelope-from jp@devnull.cz) Date: Fri, 4 Jul 2003 18:00:47 +0200 (CEST) From: Jan Pechanec X-X-Sender: jp@k3.vol.cz To: freebsd-stable@freebsd.org In-Reply-To: Message-ID: <20030704165456.N63664@k3.vol.cz> References: <20030703164223.S60686@k3.vol.cz> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: ume@mahoroba.org Subject: Re: ipv6 dialup: "nd6_lookup: failed to lookup" problem (4.8-REL) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Jul 2003 16:00:51 -0000 On Fri, 4 Jul 2003, Hajimu UMEMOTO wrote: >Hi, > hello Hajimu, >>>>>> On Thu, 3 Jul 2003 17:00:01 +0200 (CEST) >>>>>> Jan Pechanec said: > >jp> I try to receive an ipv6 address for my PPP link via autoconf >jp> (against Cisco machine), but there is a problem I'm unable to solve so >jp> far. I can see cisco's Router-Advertisement containing prefix etc., >jp> but no IP adress is assigned to tun0 interface. Anyone succesful in >jp> IPv6 over dial-up PPP connection? When I manually assign IPv6 address, >jp> connection works. My system is 4.8-RELEASE, PPP Version 3.1 - Apr 3 >2003. > >You cannot assign IPv6 address to tun0 by receiving RA on 4.8-RELEASE. >It is because, ppp(8) assigns link-local address with prefixlen is >/128. But, RA expects that link-local is /64. thanks for your advice. I upgraded to STABLE from 20030703 and autoconf is working now, BUT there is still a problem with default gateway. After reboot, ppp connection works great: tun0: flags=8051 mtu 1500 inet6 fe80::290:27ff:fe78:9275%tun0 prefixlen 64 scopeid 0x6 inet 195.250.136.161 --> 195.122.222.33 netmask 0xffffffff Opened by PID 421 Internet6: Destination Gateway Flags Netif Expire ::1 ::1 UH lo0 fe80::%fxp0/64 link#1 UC fxp0 axxem.hide:~# rtsol -d tun0 tun0: flags=8051 mtu 1500 inet6 fe80::290:27ff:fe78:9275%tun0 prefixlen 64 scopeid 0x6 inet 195.250.136.161 --> 195.122.222.33 netmask 0xffffffff inet6 3ffe:80ee:2ee:1300:290:27ff:fe78:9275 prefixlen 64 autoconf Opened by PID 421 Internet6: Destination Gateway Flags Netif Expire default fe80::2d0:baff:fef4:e80%tun0 UGc tun0 ::1 ::1 UH lo0 BUT, after closing the PPP connection and dialing again, rtsol assigns IP6 address, but no default route is added: tun0: flags=8051 mtu 1500 inet6 fe80::290:27ff:fe78:9275%tun0 prefixlen 64 scopeid 0x6 inet6 3ffe:80ee:2ee:1300:290:27ff:fe78:9275 prefixlen 64 autoconf axxem.hide:~# rtsol -d tun0 axxem.hide:~# netstat -rn Routing tables Internet6: Destination Gateway Flags Netif Expire ::1 ::1 UH lo0 3ffe:80ee:2ee:1300::/64 fe80::290:27ff:fe78:9275%tun0 Uc tun0 3ffe:80ee:2ee:1300:290:27ff:fe78:9275 link#6 UHL axxem.hide:~# traceroute6 orange.kame.net connect: No route to host It happened to work correctly even for 2 connections, but then no new PPP connection adds default gateway for IPv6 to the routing table :( regards, Jan. -- Jan Pechanec