Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I'm trying to get familiar with ipv6 I don't understand why I can't ping this interface at the inet6 addr

eth1      Link encap:Ethernet  HWaddr 08:00:27:77:9e:77  
          inet addr:192.168.33.10  Bcast:192.168.33.255  Mask:255.255.255.0
          inet6 addr: fe80::a00:27ff:fe77:9e77/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:363 errors:0 dropped:0 overruns:0 frame:0
          TX packets:332 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:38402 (38.4 KB)  TX bytes:81402 (81.4 KB)
          Interrupt:16 Base address:0xd060 

$bash ping6 fe80::a00:27ff:fe77:9e77
connect: Invalid argument
share|improve this question

1 Answer 1

up vote 6 down vote accepted

You forgot the scope identifier, which is required to identify which link the link-local address you specified refers to.

If the address you want is reachable through the eth1 interface, then you specify it:

ping6 fe80::a00:27ff:fe77:9e77%eth1
share|improve this answer
1  
or ping6 -I eth1 ... –  mtm Mar 3 at 6:58
1  
@mtm Yes, you'll need this format for some non-Linux OSes as well... –  Michael Hampton Mar 3 at 14:17

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.