Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 May 2000 17:16:42 +0100
From:      David Harmelin <david.harmelin@dante.org.uk>
To:        freebsd-net@freebsd.org
Subject:   nd6_lookup: failed to add route for neighbor
Message-ID:  <4.2.2.20000524170030.00b0f100@alpha.dante.org.uk>

next in thread | raw e-mail | index | archive | help
Hello,

I'll try to make it as brief as possible.
I have a Freebsd 4.0 connected through a v6-on-v4 tunnel to a remote 
router. The gif0 tunnel works fine (can ping the other v6 end).

My local v6 address is 3ffe:8038:80:3::3, configured on the fxp1 (ethernet) 
interface, the other end is 3ffe:8038:80:3::2 .
There is no autoconfiguration so I edited /etc/rc.conf so that 
/etc/rc.network6 adds the local address it gets from there.

When I originally booted the station, netstat -rn output was:
3ffe:8038:80:3::/64               link#2             UGSc       fxp1

What adds this line? could not find it in rc.network6
My second question is: what link#2 stands for?

I could not ping the other v6 end with that, so I added manually a route:
3ffe:8038:80:3::2                 gif0                          UHS        gif0
and I would get ping6 replies.

Still, I could not seem to get replies from further hops, which are within 
3ffe:8038:80:3::/64 too. So I deleted the first entry to 
3ffe:8038:80:3::/64 and added another one, so my routing table now looks 
like this:
3ffe:8038:80:3::/64               3ffe:8038:80:3::2             UGSc       fxp1
3ffe:8038:80:3::2                 gif0                          UHS        gif0
3ffe:8038:80:3::3                 0:d0:b7:20:8a:7b              UHLW        lo0

But, when I try to ping6 further down some hops (3ffe:8038:80:3::1 for 
instance), now I get messages:
/kernel: nd6_lookup: failed to add route for a neighbor 
(3ffe:8038:0080:0003::0002)

Any idea what this message means/where it comes from/what I am doing wrong?

I know I should use route6d instead of struggling with static routes (and I 
will) but I need to satisfy my curiosity first.

DH.

___________________________________________________________________
             * *         David Harmelin  	Network Engineer
           *     *				DANCERT Representative
          *              Francis House
         *               112 Hills Road       Tel +44 1223 302992
         *               Cambridge CB2 1PQ    Fax +44 1223 303005
      D  A  N  T  E      United Kingdom       WWW http://www.dante.net
____________________________________________________________________



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-net" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4.2.2.20000524170030.00b0f100>