Solaris UNIX: Show All Network Interfaces

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

ADVERTISEMENTS

🐧 Get the latest tutorials on SysAdmin, Linux/Unix, Open Source/DevOps topics:
CategoryList of Unix and Linux commands
File Managementcat
FirewallCentOS 8 OpenSUSE RHEL 8 Ubuntu 16.04 Ubuntu 18.04 Ubuntu 20.04
Network Utilitiesdig host ip nmap
OpenVPNCentOS 7 CentOS 8 Debian 10 Debian 8/9 Ubuntu 18.04 Ubuntu 20.04
Package Managerapk apt
Processes Managementbg chroot cron disown fg jobs killall kill pidof pstree pwdx time
Searchinggrep whereis which
User Informationgroups id lastcomm last lid/libuser-lid logname members users whoami who w
WireGuard VPNCentOS 8 Debian 10 Firewall Ubuntu 20.04

ADVERTISEMENTS
6 comments… add one
  • Vahid Oct 21, 2012 @ 6:54

    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

    • shahab Aug 9, 2013 @ 9:21

      Thanks!!

  • Alan Santos Oct 23, 2012 @ 13:40

    Thank you. Is very usefull for me.

  • sameer Mar 8, 2013 @ 10:25

    Nice tips i have found here. Thanks for sharing this tips.

  • Dipayan Jul 24, 2013 @ 4:37

    Great tips

  • Chris B Mar 7, 2014 @ 10:16

    What about Solaris 9 that doesn’t have dladm cmd ?

Leave a Reply

Your email address will not be published.

Use HTML <pre>...</pre>, <code>...</code> and <kbd>...</kbd> for code samples.