Solaris UNIX: Show All Network Interfaces

last updated in Categories

I‘ve a new Solaris / OpenSolaris unconfigured UNIX server. How do I find out list of network interfaces under Solaris UNIX?

You can use the ifconfig -a command as follows to list all network interfaces:
# ifconfig -a
The above will show you which interfaces are currently installed and active. Use the following command to see list of network cards installed on the UNIX server during installation time:
# dladm show-link

Posted by: Vivek Gite

The author is the creator of nixCraft and a seasoned sysadmin, DevOps engineer, and a trainer for the Linux operating system/Unix shell scripting. Get the latest tutorials on SysAdmin, Linux/Unix and open source topics via RSS/XML feed or weekly email newsletter.

6 comment

  1. Hi. If you are on Solaris-11, you may use following command to get the information about NICs:

    #ipadm show-if ==> list interfaces with their speed (100M,1G,..) [it’s not shown with dladm]
    #ipadm show-addr ==> list all interfaces (physical,virtual) with their IPs info.

    The Network management has been completely changed in Solaris-11, introducing Network AutoMagic (NWAM). You may use “ipadm” command to assign IP to interfaces. You can find its conf file in : /etc/ipadm/ipadm.conf

    Have a question? Post it on our forum!