Solaris UNIX: Show All Network Interfaces

To show all network interfaces on a Solaris UNIX system, you can use the ifconfig command. The ifconfig command is used to configure and display network interfaces.

To display information about all network interfaces, including inactive interfaces, use the following command as the root user:

ifconfig -a

This command displays information about all network interfaces, including the loopback interface, which has the IP address 127.0.0.1.

If you want to display only active network interfaces, use the following command:

ifconfig -a | grep UP

This command displays information about only those interfaces that are currently active.

You can also use the dladm command to display information about network interfaces on Solaris. The dladm command is used to configure and display datalinks, which are network interfaces that are capable of transmitting data. To display information about all datalinks, use the following command:

dladm show-link

This command displays information about all datalinks, including virtual and physical interfaces.

Note that you need to have root access to run the above commands.

Leave a Comment