[ipxe-devel] display ipv6 address from interface

Michael Brown mcb30 at ipxe.org
Tue Apr 22 15:00:57 UTC 2014


On 22/04/14 15:51, Vasiliy Tolstov wrote:
> Hi! As i see ipxe does not have fromatting command to display ipv6
> addres from interface (http://ipxe.org/cmd/show), how can i add it ?

iPXE does have the ability to format IPv6 addresses as part of settings, 
for example ${dns6:ipv6} (or just ${dns6}) will show the IPv6 DNS server 
address (if any).

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.

Michael



More information about the ipxe-devel mailing list