System Administration Guide: IP Services

How to Get Information About All Interfaces on a Network

A useful ifconfig option is -a, which provides information on all interfaces on your network.

  1. Become superuser.

  2. On the command line, type the following command.

    # ifconfig -a interface

This command produces, for example:

le0:  flags=49<UP,LOOPBACK,RUNNING> mtu 8232
     inet netmask ff000000 
le0:flags=863<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
     inet netmask ffffff00 broadcast
ether 8:0:20:8:el:fd

Output that indicates an interface is not running might mean a problem with that interface. In this instance, see the ifconfig(1M) man page.