Configuring and Administering Network Components in Oracle® Solaris 11.2

Exit Print View

Updated: September 2014
 
 

Obtaining General Information About IP Interfaces

The ipadm command provides a comprehensive picture of the system's interfaces. Using the command without accompanying subcommands displays default information about all of the system's IP interfaces. For example:

# ipadm
NAME         CLASS/TYPE STATE     UNDER  ADDR
lo0          loopback   ok        --     --
lo0/v4       static     ok        --     127.0.0.1/8
lo0/v6       static     ok        --     ::1/128
net0         ip         ok        --     --
net0/v4      static     ok        --     10.132.146.233/23
net0/v4      dhcp       ok        --     10.132.146.234/23
ipmp0        ipmp       degraded  --     --
ipmp0/v6     static     ok        --     2001:db8:1:2::4c08/128
net1         ip         failed    ipmp0  --
net1/v6      addrconf   ok        --     fe80::124:4fff:fe58:1831/10
net2         ip         ok        ipmp0  --
net2/v6      addrconf   ok        --     fe80::214:4fff:fe58:1832/10
iptun0       ip         ok        --     --
iptun0/v4    static     ok        --     172.16.111.5->172.16.223.75
iptun0/v6    static     ok        --     fe80::10:5->fe80::223:75
iptun0/v6a   static     ok        --     2001:db8:1a0:7::10:5->2001:db8:7a82:64::223:75

    The previous output displays the following information:

  • IP interfaces.

  • Class of each interface.

  • State of each interface.

  • Status of the interface: either a “stand alone” IP interface or an underlying interface for another type of interface configuration. In the example, net1 and net2 are underlying interfaces of ipmp0, as indicated in the UNDER column.

  • Address objects that are associated with the interface. Address objects identify a specific IP address. These address objects are listed and indented under the NAME heading to distinguish them from interface names.

  • Type of IP address, which is indented under the CLASS/TYPE heading and which can be static, dhcp and so on.

  • Actual addresses listed under the ADDRESS column.