View previous topic :: View next topic |
Author |
Message |
Carnildo Guru
Joined: 17 Jun 2004 Posts: 595
|
Posted: Wed Jan 05, 2011 4:46 am Post subject: Ping in IPv6: am I doing something wrong? |
|
|
I'm busy configuring my home network for IPv6 support. I've got everything compiled with the "ipv6" USE-flag, I'm running kernels with IPv6 support, and I'm busy testing basic connectivity (ie. pinging everything).
Pinging localhost works:
Code: | # ping6 ::1
PING ::1(::1) 56 data bytes
64 bytes from ::1: icmp_seq=1 ttl=64 time=0.015 ms |
Pinging across the network doesn't, but the error it gives isn't network-related:
Code: | # ping6 fe80::203:baff:fe93:b161
connect: Invalid argument |
Neither does pinging the local system via the network IP address:
Code: | # ping6 fe80::21e:8cff:fe3e:4cb9
connect: Invalid argument |
Any idea what's going wrong here? |
|
Back to top |
|
|
wswartzendruber Veteran
Joined: 23 Mar 2004 Posts: 1261 Location: Idaho, USA
|
Posted: Wed Jan 05, 2011 5:34 am Post subject: |
|
|
Anything starting with fe80 is known as link-local. Think of it as a loopback for each individual adapter. I don't get the rationale, but that's what the IP gods decided on thirteen years ago.
Are those the only IPv6 addresses your interfaces have? |
|
Back to top |
|
|
Carnildo Guru
Joined: 17 Jun 2004 Posts: 595
|
Posted: Wed Jan 05, 2011 7:02 am Post subject: |
|
|
Right now, yes. I'm trying to get this whole IPv6 thing figured out.
A fe80 address being some flavor of loopback wouldn't explain the second failure, though: it should be possible for a computer to use that address to ping itself, right? |
|
Back to top |
|
|
Alcap0ne n00b
Joined: 09 Sep 2004 Posts: 43
|
Posted: Wed Jan 05, 2011 4:21 pm Post subject: |
|
|
You have to specify the interface when pinging your link-local address.
Code: | ping6 -I eth0 <addr>
or
ping6 <addr>%eth0 |
|
|
Back to top |
|
|
|