From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1RjH6N-0002Jc-U0 for garchives@archives.gentoo.org; Fri, 06 Jan 2012 21:13:28 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 92C4C21C17D; Fri, 6 Jan 2012 21:12:34 +0000 (UTC) Received: from mail-iy0-f181.google.com (mail-iy0-f181.google.com [209.85.210.181]) by pigeon.gentoo.org (Postfix) with ESMTP id 172AF21C17D for ; Fri, 6 Jan 2012 21:09:56 +0000 (UTC) Received: by iakk12 with SMTP id k12so3612030iak.40 for ; Fri, 06 Jan 2012 13:09:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:x-enigmail-version:content-type :content-transfer-encoding; bh=rwbi5BXH2nhfXqTTqDsnlsx+Sbm7q7DoeCzoPhNnIQ0=; b=m5c043cBuEjehI6Zgop4bjgEKKzkOsAUaSC+S7SVV1xc2dPsXIVMB3Ru2pdNv7VIhR uGYRLpmrVAYv42YB/EPIbKZKNEYJtKCu6BuBTabkviQwldakUYot1yanUuj1Wjb0bs+K H17jQ1F2sP/e2pBiwje2BezMQNKsK/scAdLnM= Received: by 10.42.147.72 with SMTP id m8mr7087027icv.56.1325884196634; Fri, 06 Jan 2012 13:09:56 -0800 (PST) Received: from [192.168.9.92] (adsl-76-236-174-54.dsl.klmzmi.sbcglobal.net. [76.236.174.54]) by mx.google.com with ESMTPS id lu10sm109986284igc.0.2012.01.06.13.09.54 (version=SSLv3 cipher=OTHER); Fri, 06 Jan 2012 13:09:54 -0800 (PST) Message-ID: <4F076320.8030208@gmail.com> Date: Fri, 06 Jan 2012 16:09:52 -0500 From: Michael Mol User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:9.0.1) Gecko/20111221 Firefox/9.0.1 SeaMonkey/2.6.1 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] ipv6 problem with ping6 References: In-Reply-To: X-Enigmail-Version: 1.3.4 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Archives-Salt: 5868be43-3b4e-4fba-a23e-91a44bf11449 X-Archives-Hash: c5b98155971f4d8c26db061b632ada2d Grant Edwards wrote: > I've enabled ipv6 support in my kernel and it appears to be working on > the "lo" interface: > > # ip -6 addr show lo > > 1: lo: mtu 16436 > inet6 ::1/128 scope host > valid_lft forever preferred_lft forever > > # ping6 -c3 ::1 > > PING ::1(::1) 56 data bytes > 64 bytes from ::1: icmp_seq=1 ttl=64 time=0.022 ms > 64 bytes from ::1: icmp_seq=2 ttl=64 time=0.021 ms > 64 bytes from ::1: icmp_seq=3 ttl=64 time=0.021 ms > > --- ::1 ping statistics --- > 3 packets transmitted, 3 received, 0% packet loss, time 1998ms > rtt min/avg/max/mdev = 0.021/0.021/0.022/0.003 ms > > And the other interfaces all have link-local addresses: > > # ip -6 addr show eth1 > 3: eth1: mtu 1500 qlen 1000 > inet6 fe80::216:17ff:fe84:a7b3/64 scope link > valid_lft forever preferred_lft forever > > But I can't ping6 any of the "real" interfaces (or any external > address): > > # ping6 -c3 fe80::216:17ff:fe84:a7b3 > > connect: Invalid argument > > Why can I ping "lo" at ::1 and not "eth1" at fe80::216:17ff:fe84:a7b3? > > I'm guessing there might other packages I have to re-emerge with the > ipv6 use flag. But, I do not want to rebuild everything capable of > supporting ipv6, since there are only a few selected programs that > I'll be using with ipv6. I thought I might have to rebuild glibc, but > it doens't list ipv6 as one of it's use flags. > > Any hints? > ping6 -c3 fe80::216:17ff:fe84:a7b3%eth0 Link-local addresses are only valid at the link-level scope, and you have to specify which link you're referring to. Global-scope addresses don't have the same limitation. Also, for fun, try this: ping6 -c3 ff02::1%eth0