inet_type(5) 맨 페이지 - 윈디하나의 솔라나라

개요

섹션
맨 페이지 이름
검색(S)

inet_type(5)

inet_type(5)                     File Formats                     inet_type(5)



NAME
       inet_type - default Internet protocol type

SYNOPSIS
       /etc/default/inet_type

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


       The inet_type file can contain a number  of  <variable>=<value>  lines.
       Currently,  the  only  variable  defined  is  DEFAULT_IP,  which can be
       assigned a value of IP_VERSION4, IP_VERSION6, or BOTH.


       The output displayed by the ifconfig and netstat commands can  be  con‐
       trolled  by  the value of DEFAULT_IP set in inet_type 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 DEFAULT_IP. The following shows the possible  val‐
       ues  for  DEFAULT_IP and the resulting ifconfig and netstat output that
       will be displayed:

       IP_VERSION4    Displays only IPv4 related information. The output  dis‐
                      played is backward compatible with older versions of the
                      ifconfig(8) and netstat(8) commands.


       IP_VERSION6    Displays both IPv4  and  IPv6  related  information  for
                      ifconfig and netstat.


       BOTH           Displays  both  IPv4  and  IPv6  related information for
                      ifconfig and netstat.



       The command-line options to the ifconfig and netstat commands  override
       the  effect  of  DEFAULT_IP  as set in the inet_type file. For example,
       even if the value of DEFAULT_IP is IP_VERSION4, the command

         example% ifconfig -a6



       will display all IPv6 interfaces.

EXAMPLES
       Example 1 Suppressing IPv6 Related Output



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


         DEFAULT_IP=IP_VERSION4


SEE ALSO
       ifconfig(8), netstat(8)



Oracle Solaris 11.4               16 Jun 1999                     inet_type(5)
맨 페이지 내용의 저작권은 맨 페이지 작성자에게 있습니다.
RSS ATOM XHTML 5 CSS3