ipv6 dialup: "nd6_lookup: failed to lookup" problem (4.8-REL)
Jan Pechanec
jp at devnull.cz
Fri Jul 4 09:00:51 PDT 2003
On Fri, 4 Jul 2003, Hajimu UMEMOTO wrote:
>Hi,
>
hello Hajimu,
>>>>>> On Thu, 3 Jul 2003 17:00:01 +0200 (CEST)
>>>>>> Jan Pechanec <jp at devnull.cz> 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<UP,POINTOPOINT,RUNNING,MULTICAST> 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<UP,POINTOPOINT,RUNNING,MULTICAST> 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<UP,POINTOPOINT,RUNNING,MULTICAST> 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 <jp_at_devnull_cz>
More information about the freebsd-stable
mailing list