1inet_type(4)                     File Formats                     inet_type(4)
2
3
4

NAME

6       inet_type - default Internet protocol type
7

SYNOPSIS

9       /etc/default/inet_type
10
11

DESCRIPTION

13       The  inet_type  file  defines the default IP protocol to use. Currently
14       this file is only used by the ifconfig(1M) and netstat(1M) commands.
15
16
17       The inet_type file can contain a number  of  <variable>=<value>  lines.
18       Currently,  the  only  variable  defined  is  DEFAULT_IP,  which can be
19       assigned a value of IP_VERSION4, IP_VERSION6, or BOTH.
20
21
22       The output displayed by the ifconfig and netstat commands can  be  con‐
23       trolled  by  the value of DEFAULT_IP set in inet_type file. By default,
24       both commands display the IPv4 and IPv6 information  available  on  the
25       system.  The user can choose to suppress display of IPv6 information by
26       setting the value of DEFAULT_IP.  The following shows the possible val‐
27       ues  for  DEFAULT_IP and the resulting ifconfig and netstat output that
28       will be displayed:
29
30       IP_VERSION4    Displays only IPv4 related information. The output  dis‐
31                      played is backward compatible with older versions of the
32                      ifconfig(1M) and netstat(1M) commands.
33
34
35       IP_VERSION6    Displays both IPv4  and  IPv6  related  information  for
36                      ifconfig and netstat.
37
38
39       BOTH           Displays  both  IPv4  and  IPv6  related information for
40                      ifconfig and netstat.
41
42
43
44       The command-line options to the ifconfig and netstat commands  override
45       the  effect  of  DEFAULT_IP  as set in the inet_type file. For example,
46       even if the value of DEFAULT_IP is IP_VERSION4, the command
47
48         example% ifconfig -a6
49
50
51
52
53       will display all IPv6 interfaces.
54

EXAMPLES

56       Example 1 Suppressing IPv6 Related Output
57
58
59       This is what the inet_type file must contain if you  want  to  suppress
60       IPv6 related output:
61
62
63         DEFAULT_IP=IP_VERSION4
64
65

SEE ALSO

67       ifconfig(1M), netstat(1M)
68
69
70
71SunOS 5.11                        16 Jun 1999                     inet_type(4)
Impressum