Ifconfigis used to configure the kernel-resident network interfaces. Itis used at boot time to set up interfaces as necessary.After that, it is usually only needed when debugging orwhen system tuning is needed.
Ifno arguments are given, ifconfig displays the status of the cur? rently active interfaces.If a single interface argument is given, it displays the status of the given interface only;if a single -a argu? ment is given, it displays the status of all interfaces, even those that are down.Otherwise, it configures an interface.
Set the hardware address of thisinterface,if the device driver supports this operation.The keyword must be followed by the name of the hardware classand the printable ASCII equivalent of the hardware address.Hardware classes currently supported include ether (Ethernet), ax25 (AMPR AX.25),ARCnetand netrom (AMPR NET/ROM).