MyWebUniversity.com Home Page
 



OpenSolaris man pages main menu


File Formats                                         inettype(4)



NAME
     inettype - default Internet protocol type

SYNOPSIS
     /etc/default/inettype


DESCRIPTION
     The inettype file defines the default IP protocol  to  use.
     Currently  this  file  is  only used by the ifconfig(1M) and
     netstat(1M) commands.


     The   inettype   file   can    contain    a    number    of
     =   lines.  Currently,  the  only  variable
     defined is DEFAULTIP, which can  be  assigned  a  value  of
     IPVERSION4, IPVERSION6, or BOTH.


     The output displayed by the ifconfig  and  netstat  commands
     can  be  controlled  by  the  value  of  DEFAULTIP  set  in
     inettype file. By default, both commands display  the  IPv4
     and  IPv6  information available on the system. The user can
     choose to suppress display of IPv6  information  by  setting
     the  value  of DEFAULTIP.  The following shows the possible
     values for DEFAULTIP and the resulting ifconfig and netstat
     output that will be displayed:

     IPVERSION4    Displays only IPv4 related  information.  The
                    output  displayed is backward compatible with
                    older  versions  of  the   ifconfig(1M)   and
                    netstat(1M) commands.


     IPVERSION6    Displays both IPv4 and IPv6 related  informa-
                    tion for ifconfig and netstat.


     BOTH           Displays both IPv4 and IPv6 related  informa-
                    tion for ifconfig and netstat.



     The command-line options to the ifconfig  and  netstat  com-
     mands  override  the  effect  of  DEFAULTIP  as  set in the
     inettype file. For example, even if the value of DEFAULTIP
     is IPVERSION4, the command

       example% ifconfig -a6






SunOS 5.11          Last change: 16 Jun 1999                    1






File Formats                                         inettype(4)



     will display all IPv6 interfaces.

EXAMPLES
     Example 1 Suppressing IPv6 Related Output


     This is what the inettype file must contain if you want  to
     suppress IPv6 related output:


       DEFAULTIP=IPVERSION4


SEE ALSO
     ifconfig(1M), netstat(1M)








































SunOS 5.11          Last change: 16 Jun 1999                    2



OpenSolaris man pages main menu

Contact us      |       About us      |       Term of use      |       Copyright © 2000-2010 MyWebUniversity.com ™