Ifconfig

To set or read settings of a network interface in UNIX you use the  command. To see all interfaces in a system type:

$ ifconfig -a

Specific interfaces can be viewed as well:

$ ifconfig hme0

is also used in the case of a virtual interface (in this case off the third physical interface on a Linux box):

$ ifconfig eth2:1