Subject: Re: ping6 -a
To: None <itojun@iijlab.net>
From: Hubert Feyrer <hubert.feyrer@informatik.fh-regensburg.de>
List: tech-net
Date: 10/16/2001 11:07:26
On Tue, 16 Oct 2001 itojun@iijlab.net wrote:
> >	read manpage carefully.  "-a g" gives you global address on a
> >	specific interface.  if you want all global addresses on your system,
> >	you need "-a ag".
> 	also, "ping6 -a" may not work right due to spec mismatch between
> 	the kernel and the userland (and/or between systems with different
> 	versions).

Well, at least I don't have different versions - both machines are
1.5.2/i386. And for kernel/userland mismatch... i'd hope that's not the
case for a NetBSD release. ;)

Still "-a ag" dives me all addresses, even the link local ones:

	miyu% ping6 -a ag 6to4.ipv6.fh-regensburg.de
	PING6(2096=40+8+2048 bytes) 2002:d954:1e32: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


 - 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/