Subject: ping6 -a
To: Jun-ichiro itojun Hagino <itojun@netbsd.org>
From: Hubert Feyrer <hubert.feyrer@informatik.fh-regensburg.de>
List: tech-net
Date: 10/16/2001 00:09:27
On Mon, 15 Oct 2001, Jun-ichiro itojun Hagino wrote:
> Modified Files:
> 	syssrc/sys/netinet6: esp_rijndael.c icmp6.c
> 
> Log Message:
> sync with kame.
> net.inet6.icmp6.nodeinfo is now a bitmap (2^0 = ping6 -w, 2^1 = ping6 -a).
> give up local if there's mbuf alloc failures.
> cope with ".." in hostname.
> sync comments/whitespaces.

OK, question: 
I have a machine that answers this when ping6'd with "-a a":

	miyu% ping6 -a a 6to4.ipv6.fh-regensburg.de
	PING6(2096=40+8+2048 bytes) 2002:d954:15e9:1::1 --> 2002:c25f:6cbf:1::1
	112 bytes from 2002:c25f:6cbf:1::1: 
	  fe80::2b0:d0ff:feee:7066
	  2001:638:a01:2:2b0:d0ff:feee:7066
	  fe80::1
	  fe80::2b0:d0ff:feee:7066
	  2001:638:0:500:0:a01:1:2
	  2002:c25f:6cbf:1::1

When requesting the global or link local addresses, I only get the 6to4
addresses, nothing else:

	miyu% ping6 -c 1 -a g 6to4.ipv6.fh-regensburg.de
	PING6(2096=40+8+2048 bytes) 2002:d954:15e9:1::1 --> 2002:c25f:6cbf:1::1
	32 bytes from 2002:c25f:6cbf:1::1: 
	  2002:c25f:6cbf:1::1

I'd expect the two 2001: addresses here too. 

	miyu% ping6 -c 1 -a l 6to4.ipv6.fh-regensburg.de
	PING6(2096=40+8+2048 bytes) 2002:d954:15e9:1::1 --> 2002:c25f:6cbf:1::1
	32 bytes from 2002:c25f:6cbf:1::1: 
	  2002:c25f:6cbf:1::1

Dito, I'd expect all the fe80: addresses here.

This is between two 1.5.2 machines.


 - Hubert

-- 
Want to get a clue on IPv6 but don't know where to start? Try this:
* Basics -> http://www.onlamp.com/pub/a/onlamp/2001/05/24/ipv6_tutorial.html
* Setup  -> http://www.onlamp.com/pub/a/onlamp/2001/06/01/ipv6_tutorial.html 
Of course with your #1 IPv6 ready operating system -> http://www.NetBSD.org/