ifconfig |
-Displays the configuration parameters of all active -interfaces. |
ifconfig -a |
-Displays the configuration parameters of all network interfaces, including the inactive interfaces. |
ifconfig interface |
-Displays the configuration parameters of all network interfaces, including the inactive interfaces. |
ifconfig eth0 down |
-Disables the eth0 interface. |
ifconfig eth0 up |
-Enables the eth0 interface. |
ifconfig eth0 10.0.1.8 netmask 255.255.255.0 broadcast 10.0.1.255 |
-Assigns interface eth0 the IP address 10.0.1.8/24 and a broadcast address of 10.0.1.255 |