ipv6 dialup: "nd6_lookup: failed to lookup" problem (4.8-REL)

Jan Pechanec jp at devnull.cz
Thu Jul 3 08:00:05 PDT 2003


	Hi all,

	I try to receive an ipv6 address for my PPP link via autoconf
(against Cisco machine), but there is a problem I'm unable to solve so
far. I can see cisco's Router-Advertisement containing prefix etc.,
but no IP adress is assigned to tun0 interface. Anyone succesful in
IPv6 over dial-up PPP connection? When I manually assign IPv6 address,
connection works. My system is 4.8-RELEASE, PPP Version 3.1 - Apr 3
2003.

axxem.hide:~# rtsol -d -D tun0
link-layer address option has null length on tun0. Treat as not included.
checking if tun0 is ready...
tun0 is ready
set timer for tun0 to 0:359377
New timer is 0:00359258
timer expiration on tun0, state = 1
send RS on tun0, whose state is 2
set timer for tun0 to 4:0
New timer is 4:00000671
received RA from fe80::2d0:baff:fef4:e80 on tun0, state is 2
stop timer for tun0
there is no timer

axxem.hide:~# tethereal -i tun0 ip6
Capturing on tun0
  0.000000 fe80::290:27ff:fe78:9275 -> ff02::2      ICMPv6 Router solicitation
  0.050048 fe80::2d0:baff:fef4:e80 -> ff02::1      ICMPv6 Router advertisement


	Detailed advertisement ("auto" flag is ON):

Internet Control Message Protocol v6
    Type: 134 (Router advertisement)
    Code: 0
    Checksum: 0x7c84 (correct)
    Cur hop limit: 64
    Flags: 0x00
        0... .... = Not managed
        .0.. .... = Not other
        ..0. .... = Not Home Agent
        ...0 0... = Router preference: Medium
    Router lifetime: 1800
    Reachable time: 30
    Retrans time: 0
    ICMPv6 options
        Type: 5 (MTU)
        Length: 8 bytes (1)
        MTU: 1480
    ICMPv6 options
        Type: 3 (Prefix information)
        Length: 32 bytes (4)
        Prefix length: 64
        Flags: 0xc0
            1... .... = Onlink
            .1.. .... = Auto
            ..0. .... = Not router address
            ...0 .... = Not site prefix
        Valid lifetime: 0x00278d00
        Preferred lifetime: 0x00093a80
        Prefix: 3ffe:80ee:2ee:1300::


axxem.hide:~# ifconfig tun0
tun0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1500
        inet6 fe80::290:27ff:fe78:9275%tun0 --> fe80::2d0:baff:fef4:e80%tun0 prefixlen 128 scopeid 0x6
        inet 1.2.3.4 --> 5.6.7.8 netmask 0xffffffff
        Opened by PID 42838


	I can just see this in /var/log/messages:

Jul  3 16:36:42 axxem /kernel: nd6_lookup: failed to lookup
fe80:0006::02d0:baff:fef4:0e80 (if = tun0)

	I don't know exactly why this lookup is performed,
nevertheless the route does exists and box is alive:

axxem.hide:~# route get -inet6 fe80:0006::02d0:baff:fef4:0e80
   route to: fe80::2d0:baff:fef4:e80%tun0
destination: fe80::2d0:baff:fef4:e80%tun0
  interface: tun0
      flags: <UP,HOST,DONE,LLINFO>
 recvpipe  sendpipe  ssthresh  rtt,msec    rttvar  hopcount      mtu     expire
       0         0         0         0         0         0      1500         0

axxem.hide:~# ping6 fe80:0006::02d0:baff:fef4:0e80
PING6(56=40+8+8 bytes) fe80::290:27ff:fe78:9275%tun0 --> fe80:6::2d0:baff:fef4:e80
16 bytes from fe80::2d0:baff:fef4:e80%tun0, icmp_seq=0 hlim=64 time=49.115 ms
^C


	any help? Thanks in advance, Jan.

-- 
Jan Pechanec <jp_at_devnull_cz>


More information about the freebsd-stable mailing list