[ipxe-devel] display ipv6 address from interface

Michael Brown mcb30 at ipxe.org
Tue Apr 22 17:54:32 BST 2014


On 22/04/14 16:08, Vasiliy Tolstov wrote:
>> However, there is no straightforward IPv6 equivalent of "the IPv4 address"
>> for a network device.  Under IPv6, each interface is likely to have at least
>> two addresses: the link-local address and a global address assigned via NDP
>> or stateful DHCPv6.  There can be an arbitrary number of global addresses
>> for an interface, if the local routers happen to advertise multiple
>> prefixes.
>
> If i need only SLAAC ipv6 address, how can i get it ?

At present the only way is to use the "route" command, which will 
display all IPv4 and IPv6 addresses associated with a network device.

Michael


More information about the ipxe-devel mailing list