On 01/05/2017 01:51 PM, Ross Drummond wrote:
The problem is I want to discover the global Ipv6 address of hosts on
my LAN knowing the MAC address of each host.

Feeding the MAC address to the program ipv6calc to get the link local
address works fine but when I use this address with ping6 and its
discovery arguments I fail.

An example;

ping6 -I eth0 -N ipv6-global fe80::3631:XXXX:XXXX:XXXX

 From the ping6 man page;

-N nodeinfo_option

   ping6 only.  Send ICMPv6 Node Information Queries(RFC4620), instead of  Echo 
 Request.   CAP_NET_RAW
                capability  is required.

               help   Show help for NI support.

               name   Queries for Node Names.

               ipv6   Queries for IPv6 Addresses. There are several IPv6
               specific flags.

                      ipv6-global
                             Request IPv6 global-scope addresses.

                      ipv6-sitelocal
                             Request IPv6 site-local addresses.

                      ipv6-linklocal
                             Request IPv6 link-local addresses.

                      ipv6-all
                             Request IPv6 addresses on other interfaces.

What am I doing wrong, is their another method of discovering the Ipv6
global address of a host on your LAN?

Cheers Ross Drummond

ip -6 neigh show

_______________________________________________
Linux-users mailing list
[email protected]
http://lists.canterbury.ac.nz/mailman/listinfo/linux-users

--
Steve Holdoway BSc(Hons) MIITP
http://www.greengecko.co.nz
Linkedin: http://www.linkedin.com/in/steveholdoway
Skype: sholdowa

_______________________________________________
Linux-users mailing list
[email protected]
http://lists.canterbury.ac.nz/mailman/listinfo/linux-users

Reply via email to