System Administration Guide: IP Services

ProcedureHow to Display IPv6 Information Independent of the Name Service

This procedure can be used for Solaris 10 11/06 and earlier releases only. For subsequent releases, you can perform the same operation on the hosts database.

  1. Under your user account, type the following command:

    % getent ipnodes hostname

    The information about the specified host-name is displayed.

Example 7–19 Displaying IPv6 Information in the ipnodes Database

The following sample shows the output of the getent command:

% getent ipnodes vallejo

2001:0db8:8512:2:56:a00:fe87:9aba    myhost myhost
fe80::56:a00:fe87:9aba     myhost myhost