ipv6 next-hop link-local

Mikael Abrahamsson swmike at swm.pp.se
Mon Feb 21 02:10:08 CET 2011


On Sun, 20 Feb 2011, George Bonser wrote:

> Same netmask, same IP address, two different networks.  On which one
> will I find fe80:ab:cd?  I need to do ND on all of them until I find it,
> I suppose.

No.

Let me illustrate how it works:

swmike at uplift:~$ ip -6 n l
fe80::230:a3ff:fe75:c838 dev eth0 lladdr 00:30:a3:75:c8:38 router REACHABLE
<rest snipped>

swmike at uplift:~$ ping6 fe80::230:a3ff:fe75:c838%eth0
PING fe80::230:a3ff:fe75:c838%eth0(fe80::230:a3ff:fe75:c838) 56 data bytes
64 bytes from fe80::230:a3ff:fe75:c838: icmp_seq=1 ttl=64 time=0.415 ms
64 bytes from fe80::230:a3ff:fe75:c838: icmp_seq=2 ttl=64 time=0.346 ms
^C
--- fe80::230:a3ff:fe75:c838%eth0 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 999ms
rtt min/avg/max/mdev = 0.346/0.380/0.415/0.039 ms

swmike at uplift:~$ ping6 fe80::230:a3ff:fe75:c838
connect: Invalid argument

Link Local is Link Local, you have to tell it what link it is before you 
can use it. The Interface identifier is an integral part of the LL 
address.

-- 
Mikael Abrahamsson    email: swmike at swm.pp.se


More information about the ipv6-ops mailing list