From owner-freebsd-questions Thu Feb 21 18:35: 4 2002 Delivered-To: freebsd-questions@freebsd.org Received: from TYO201.gate.nec.co.jp (TYO201.gate.nec.co.jp [202.32.8.214]) by hub.freebsd.org (Postfix) with ESMTP id 4369137B400 for ; Thu, 21 Feb 2002 18:35:00 -0800 (PST) Received: from mailgate4.nec.co.jp ([10.7.69.197]) by TYO201.gate.nec.co.jp (8.11.6/3.7W01080315) with ESMTP id g1M2Yvl29522 for ; Fri, 22 Feb 2002 11:34:57 +0900 (JST) Received: from mailsv.nec.co.jp (mailgate51.nec.co.jp [10.7.69.190]) by mailgate4.nec.co.jp (8.11.6/3.7W-MAILGATE-NEC) with ESMTP id g1M2YuI28022 for ; Fri, 22 Feb 2002 11:34:56 +0900 (JST) Received: from direct.ksp.nis.nec.co.jp (direct.ksp.nis.nec.co.jp [10.57.24.78]) by mailsv.nec.co.jp (8.11.6/3.7W-MAILSV-NEC) with ESMTP id g1M2YRh06194 for ; Fri, 22 Feb 2002 11:34:47 +0900 (JST) Received: from direct.ksp.nis.nec.co.jp (xmas.ksp.nis.nec.co.jp [10.57.24.129]) by direct.ksp.nis.nec.co.jp (8.9.3+3.2W/3.7Wksp_mx_2.0) with ESMTP id LAA07439 for ; Fri, 22 Feb 2002 11:34:27 +0900 (JST) Message-ID: <3C75AE74.62C5B688@direct.ksp.nis.nec.co.jp> Date: Fri, 22 Feb 2002 11:35:32 +0900 From: song X-Mailer: Mozilla 4.73 [ja] (Win95; U) X-Accept-Language: ja MIME-Version: 1.0 To: questions@FreeBSD.org Subject: A question about ping6 Content-Type: text/plain; charset=iso-2022-jp Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hello: I met a problem when I used ping6 in FreeBSD4.5 and the version before.I created a point to point link named tun0.I specified IPv4 and IPV6 addresses for both ends of it.It look like this: # ifconfig tun0 tun0: flags=8051 mtu 1500 inet6 fe80::2e0:29ff:fe0a:d197%tun0 --> :: prefixlen 64 scopeid 0x10 inet6 2001::1 --> 2001::2 prefixlen 64 inet 192.168.40.1 --> 192.168.40.2 netmask 0xffffff00 Opened by PID 526 If I ping the IPV6 source address of the interface .It was OK. # ping6 2001::1 PING6(56=40+8+8 bytes) 2001::1 --> 2001::1 16 bytes from 2001::1, icmp_seq=0 hlim=64 time=0.276 ms But when I ping the destination IPV6 address of the interface It returned error: # ping6 2001::2 PING6(56=40+8+8 bytes) 2001::1 --> 2001::2 ping6: sendmsg: Address family not supported by protocol family ping6: wrote 2001::2 16 chars, ret=-1 I don't know what the reason is.Could you give me some help or advice? Thank you so much. -- Gang.Song To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message