[138647] in North American Network Operators' Group

home help back first fref pref prev next nref lref last post

Re: ipv6 question

daemon@ATHENA.MIT.EDU (ann kok)
Fri Mar 11 15:19:20 2011

Date: Fri, 11 Mar 2011 12:19:11 -0800 (PST)
From: ann kok <oiyankok@yahoo.ca>
To: nanog@nanog.org
In-Reply-To: <57915.1299871314@localhost>
Errors-To: nanog-bounces+nanog.discuss=bloom-picayune.mit.edu@nanog.org

Hi=0A=0AThank you. I try your way.  the ipv6 address is on eth0 interface.=
=0A=0AI try to run ping6 the fe80::20c:29ff:fe3c:92a1%eth0=0A=0Alt is same =
problem!=0A=0AAny idea?=0A=0AThank you=0A=0A=0A2: eth0: <BROADCAST,MULTICAS=
T,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast qlen 1000=0A    link/ether 00:0c:2=
9:3c:92:a1 brd ff:ff:ff:ff:ff:ff=0A    inet 192.168.1.12/24 brd 192.168.1.2=
55 scope global eth0=0A    inet6 fe80::20c:29ff:fe3c:92a1/64 scope link ten=
tative =0A       valid_lft forever preferred_lft forever=0A=0A=0A# ping6  f=
e80::20c:29ff:fe3c:92a1=0Aconnect: Invalid argument=0A# ping6  fe80::20c:29=
ff:fe3c:92a1%eth0=0Aconnect: Invalid argument=0A=0A=0A--- On Fri, 3/11/11, =
Valdis.Kletnieks@vt.edu <Valdis.Kletnieks@vt.edu> wrote:=0A=0A> From: Valdi=
s.Kletnieks@vt.edu <Valdis.Kletnieks@vt.edu>=0A> Subject: Re: ipv6 question=
=0A> To: "ann kok" <oiyankok@yahoo.ca>=0A> Cc: nanog@nanog.org=0A> Received=
: Friday, March 11, 2011, 2:21 PM=0A> On Fri, 11 Mar 2011 11:15:36 PST, ann=
=0A> kok said:=0A> =0A> > inet6 addr: fe80::20c:29ff:fe3c:92a1/64 Scope:Lin=
k=0A> =0A> This is a link level address, only valid on one=0A> interface.=
=A0 So you need to look=0A> at which interface it is attached to in the ifc=
onfig=0A> output.=0A> =0A> > ping6 fe80::20c:29ff:fe3c:92a1=0A> > connect: =
Invalid argument=0A> =0A> ping6 wants the interface name for link-scope add=
resses,=0A> because on some=0A> hardware setups, the same MAC is used for a=
ll interfaces,=0A> which means that=0A> each interface has the same link-sc=
ope address.=A0 So to=0A> disambiguate it,=0A> you have to feed it the inte=
rface name so it knows which=0A> link to use.=0A> =0A> On my laptop, I curr=
ently have:=0A> =0A> wlan0=A0 =A0=A0=A0Link encap:Ethernet=A0=0A> HWaddr 00=
:24:D6:53:C5:BA=0A> =A0=A0=A0 inet6 addr: fe80::224:d6ff:fe53:c5ba/64=0A> S=
cope:Link=0A> =0A> % ping=A0 fe80::224:d6ff:fe53:c5ba%wlan0=0A>  ping6=A0 f=
e80::224:d6ff:fe53:c5ba%wlan0=0A> PING=0A> fe80::224:d6ff:fe53:c5ba%wlan0(f=
e80::224:d6ff:fe53:c5ba) 56=0A> data bytes=0A> 64 bytes from fe80::224:d6ff=
:fe53:c5ba: icmp_seq=3D1 ttl=3D64=0A> time=3D0.072 ms=0A> 64 bytes from fe8=
0::224:d6ff:fe53:c5ba: icmp_seq=3D2 ttl=3D255=0A> time=3D0.081 ms=0A> 64 by=
tes from fe80::224:d6ff:fe53:c5ba: icmp_seq=3D3 ttl=3D255=0A> time=3D0.090 =
ms=0A> ^C=0A> --- fe80::224:d6ff:fe53:c5ba%wlan0 ping statistics ---=0A> 3 =
packets transmitted, 3 received, 0% packet loss, time=0A> 1999ms=0A> rtt mi=
n/avg/max/mdev =3D 0.072/0.081/0.090/0.007 ms=0A> =0A> =0A=0A


home help back first fref pref prev next nref lref last post