Unix and Linux Discussions Tagged with ifconfig |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
10 |
19,368 |
UNIX for Beginners Questions & Answers |
|
|
|
17 |
19,505 |
Ubuntu |
|
|
|
8 |
3,203 |
Solaris |
|
|
|
5 |
3,665 |
Shell Programming and Scripting |
|
|
|
3 |
2,833 |
Solaris |
|
|
|
2 |
5,141 |
IP Networking |
|
|
|
2 |
15,643 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
5,467 |
Solaris |
|
|
|
9 |
4,880 |
Solaris |
|
|
|
1 |
2,914 |
Shell Programming and Scripting |
|
|
|
4 |
14,295 |
UNIX for Dummies Questions & Answers |
|
|
|
8 |
4,770 |
UNIX for Advanced & Expert Users |
|
|
|
1 |
32,905 |
Solaris |
|
|
|
9 |
15,157 |
IP Networking |
|
|
|
1 |
11,909 |
OS X (Apple) |
|
|
|
9 |
35,430 |
Shell Programming and Scripting |
|
|
|
1 |
10,987 |
UNIX for Advanced & Expert Users |
|
|
|
1 |
7,643 |
Shell Programming and Scripting |
|
|
|
3 |
2,700 |
Shell Programming and Scripting |
|
|
|
1 |
3,469 |
IP Networking |
|
|
|
7 |
10,391 |
Solaris |
|
|
|
2 |
9,833 |
IP Networking |
|
|
|
4 |
12,798 |
Solaris |
|
|
|
2 |
38,766 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
15,308 |
UNIX for Dummies Questions & Answers |
|
|
|
5 |
13,691 |
IP Networking |
|
|
|
1 |
4,283 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
24,730 |
UNIX for Dummies Questions & Answers |
|
|
|
10 |
8,488 |
IP Networking |
|
|
|
1 |
9,726 |
IP Networking |
|
|
|
8 |
31,227 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
5,034 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
3,671 |
UNIX for Advanced & Expert Users |
|
|
|
2 |
3,740 |
IP Networking |
|
|
|
9 |
7,045 |
IP Networking |
|
|
|
7 |
10,626 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
7,150 |
IP Networking |
|
|
|
4 |
6,304 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
4,008 |
IP Networking |
|
|
|
9 |
13,961 |
IP Networking |
inet_type(4) File Formats inet_type(4)
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(1M) and netstat(1M) 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 controlled 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 values for DEFAULT_IP and the resulting ifconfig and netstat output that
will be displayed:
IP_VERSION4 Displays only IPv4 related information. The output displayed is backward compatible with older versions of the ifconfig(1M)
and netstat(1M) 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(1M), netstat(1M)
SunOS 5.10 16 Jun 1999 inet_type(4)