From nobody@FreeBSD.org  Tue Jan 16 06:23:48 2001
Return-Path: <nobody@FreeBSD.org>
Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21])
	by hub.freebsd.org (Postfix) with ESMTP id C8D5737B698
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 16 Jan 2001 06:23:47 -0800 (PST)
Received: (from nobody@localhost)
	by freefall.freebsd.org (8.11.1/8.11.1) id f0GENlw61093;
	Tue, 16 Jan 2001 06:23:47 -0800 (PST)
	(envelope-from nobody)
Message-Id: <200101161423.f0GENlw61093@freefall.freebsd.org>
Date: Tue, 16 Jan 2001 06:23:47 -0800 (PST)
From: john.r.king@bt.com
To: freebsd-gnats-submit@FreeBSD.org
Subject: 4.1 Cant add entry to neighbour discovery table
X-Send-Pr-Version: www-1.0

>Number:         24384
>Category:       bin
>Synopsis:       4.1 Cant add entry to neighbour discovery table
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    sumikawa
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jan 16 06:30:01 PST 2001
>Closed-Date:    Wed Nov 26 02:15:20 JST 2003
>Last-Modified:  Wed Nov 26 02:15:20 JST 2003
>Originator:     John King
>Release:        FreeBSD 4.1
>Organization:
BT
>Environment:
FreeBSD bsd 4.1-RELEASE FreeBSD 4.1-Release #0: Fri Dec 1 12:02:50 GMT 2000
root@bsd:/usr/src/sys/compile/GENERIC i386
>Description:
I am trying to add an entry to the neighbour discovery table using ndp. The command I am using is:
ndp -s aaaa:bbbb:cccc:dddd:eeee:ffff:8492:a829 0:90:27:9f:c9:2d

Each time I try I get the same error message:
cannot intuit interface index and type for aaaa:bbbb:cccc:dddd:eeee:ffff:8492:a829

I have even added an entry into the routing table to indicate the interface for that prefix but this does not seem to help. The entry from netstat -rn reads:

aaaa:bbbb:cccc:dddd:eeee:ffff::/96 2001:618:5:0:290:27ff:fe9f:c92d UGSc fxp1
>How-To-Repeat:
Run the command:

ndp -s aaaa:bbbb:cccc:dddd:eeee:ffff:8492:a829 0:90:27:9f:c9:2d

Error message is given on each occasion
>Fix:


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->bms 
Responsible-Changed-By: bms 
Responsible-Changed-When: Tue 25 Nov 2003 08:45:24 PST 
Responsible-Changed-Why:  
I'm in hoover up network PRs mode. I'll look into this. 


http://www.freebsd.org/cgi/query-pr.cgi?pr=24384 
Responsible-Changed-From-To: bms->sumikawa 
Responsible-Changed-By: bms 
Responsible-Changed-When: Tue 25 Nov 2003 08:49:18 PST 
Responsible-Changed-Why:  
sumikawa is Mr KAME, particularly ndp.c. :^) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=24384 

From: Munechika Sumikawa <sumikawa@ebina.hitachi.co.jp>
To: freebsd-gnats-submit@freebsd.org, john.r.king@bt.com
Cc: sumikawa@ebina.hitachi.co.jp
Subject: Re: bin/24384:4.1 Cant add entry to neighbour discovery table
Date: Tue, 25 Nov 2003 17:02:22 +0000 (GMT)

 For making static ndp entry, direct routes must be exist like the below:
 
 % uname -a
 FreeBSD prince.don.to 4.9-STABLE FreeBSD 4.9-STABLE #18: Sat Nov  8 16:45:46 GMT 2003     sumikawa@prince.don.to:/usr/local/src/4-stable/src/sys/compile/SUMIKAWA  i386
 % ifconfig fxp0 inet6 aaaa:bbbb:cccc:dddd:eeee:ffff::1/96 alias
 % ndp -s aaaa:bbbb:cccc:dddd:eeee:ffff:8492:a829 0:90:27:9f:c9:2d
 % ndp -na
 Neighbor                        Linklayer Address  Netif Expire    St Flgs Prbs
 aaaa:bbbb:cccc:dddd:eeee:ffff:0:1 0:d0:59:d8:e0:3f  fxp0 permanent R      
 aaaa:bbbb:cccc:dddd:eeee:ffff:8492:a829 0:90:27:9f:c9:2d fxp0 permanent R      
 fe80::2d0:59ff:fed8:e03f%fxp0   0:d0:59:d8:e0:3f    fxp0 permanent R      
 fe80::eeee:ffff:8492:a829%fxp0  0:90:27:9f:c9:2d    fxp0 permanent R      
 fe80::1%lo0                     (incomplete)         lo0 permanent R      
 fe80::2bd:bdff:fe07:1%vmnet1    0:bd:bd:7:0:1     vmnet1 permanent R      
 
 You can see same error in IPv4:
 
 %arp -s 1.1.1.1 0:90:27:9f:c9:2d
 cannot intuit interface index and type for 1.1.1.1
 
 My conclusion: This is spec, not bug.
 
 Can I close this PR?
 
 -- Sumikawa

From: Munechika Sumikawa <sumikawa@ebina.hitachi.co.jp>
To: freebsd-gnats-submit@freebsd.org, john.r.king@bt.com
Cc: sumikawa@ebina.hitachi.co.jp
Subject: Re: bin/24384:4.1 Cant add entry to neighbour discovery table
Date: Tue, 25 Nov 2003 17:06:02 +0000 (GMT)

 I forgot to say sorry for keeping open your PR for more than two years.
State-Changed-From-To: open->closed 
State-Changed-By: sumikawa 
State-Changed-When: Wed Nov 26 02:14:02 JST 2003 
State-Changed-Why:  
Closed by the consensus with the originator, thanks for your contribution. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=24384 
>Unformatted:
