System Administration Guide: IP Services

ProcedureHow to Display IPv6 Information Through NIS

In this procedure, you use the ypmatch command to display IPv6 information through NIS:

  1. Under your user account, type the following to display IPv6 addresses in NIS:


    % ypmatch hostname hosts ipnodes.byname
    

    The information about the specified hostname is displayed.


    Note –

    Oracle Solaris releases after Solaris 10 11/06 no longer include the ipnodes maps. The IPv6 functionality of ipnodes is now maintained in the hosts maps.



Example 7–18 IPv6 Addresses Output by the ypmatch Command

For Solaris 10 11/06 and earlier releases, the following sample shows the results of a ypmatch operation on the ipnodes.byname database.


% ypmatch farhost hosts ipnodes.byname
2001:0db8:3c4d:15:a00:20ff:fe12:5286       farhost