Manage Ethernet connection network interfaces using continuous identifiers such as eth0 and eth1. The network interface can be set to use an alias (aliases). The alias is marked as eth0: 1 and eth0: 2. this is called a network subinterface and is virtualized, thus, multiple addresses can be configured for a single online device, the alias is treated as a separate interface. view the interface configured using the ifconfig [ethX] command. use the ifupethX command to enable the interface. use the ifdownethX command to disable the interface. first, view the Nic information. # ifc manages Ethernet connections.
Network interfaces use continuous identifiers such as eth0 and eth1.
The network interface can be set to use an alias (aliases). The alias is marked as eth0: 1 and eth0: 2. this is called a network subinterface and is virtualized, therefore, multiple addresses can be configured for a single online device. aliases are treated as separate interfaces.
View the interface configured using the ifconfig [ethX] Command
Use the ifup ethX command to enable the interface
Use the ifdown ethX command to disable the interface
First, view the Nic information
# Ifconfig or ifconfig? A or ifconfig eth0
Run the following command to start and stop the NIC: ifup ethx, ifdown ethx, ifconfig eth0 up, or ifconfig ethx0 down.