Solaris UNIX: Show All Network Interfaces

by on July 6, 2009 · 6 comments· LAST UPDATED July 6, 2010

in

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

TwitterFacebookGoogle+PDF versionFound an error/typo on this page? Help us!

{ 6 comments… read them below or add one }

1 Vahid October 21, 2012 at 6:54 am

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

Reply

2 shahab August 9, 2013 at 9:21 am

Thanks!!

Reply

3 Alan Santos October 23, 2012 at 1:40 pm

Thank you. Is very usefull for me.

Reply

4 sameer March 8, 2013 at 10:25 am

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

Reply

5 Dipayan July 24, 2013 at 4:37 am

Great tips

Reply

6 Chris B March 7, 2014 at 10:16 am

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

Reply

Leave a Comment

Tagged as: , , ,

Previous Faq:

Next Faq: