On Mon, May 14, 2007 at 01:10:19PM +0200, Thijs Kinkhorst wrote: > Hi, > > On Saturday 12 May 2007 01:12, Rob Leslie wrote: > > If a host has a resolvable IPv6 address, it would be nice to have an option > > to automatically extract the MAC address from it. > > Thanks for your report, but can you clarify: how exactly do you expect such > an > option to work? I don't think a way exists to automatically deduce the mac > address from the IPv6 address in any case?
Hi Thijs, this is about the common way of autoconfiguring IPv6 addresses by creating the host-specific interface identifier (the lower 64 bits of the address) from the Ethernet address of the host. This can indeed be reversed, so the request makes sense. An example with the 'ipv6calc' program: % host -t aaaa www.kame.net www.kame.net AAAA 2001:200:0:8002:203:47FF:FEA5:3085 % ipv6calc --showinfo 2001:200:0:8002:203:47FF:FEA5:3085 No input type specified, try autodetection...found type: ipv6addr No output type specified, try autodetection...found type: ipv6addr Address type: unicast, global-unicast, productive Address type has SLA: 8002 Registry for address: APNIC Interface identifier: 0203:47ff:fea5:3085 EUI-48/MAC address: 00:03:47:a5:30:85 MAC is a global unique one MAC is an unicast one OUI is: Intel Corporation See RFC 2464 for details. Cheers, -- Niko Tyni [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]