Eth0, eth1, eth2 ...... Indicates network adapter 1, network adapter 2, network adapter 3 ...... Lo represents 127.0.0.1, that is, localhost reference: Linux Command: ifconfig Function Description: display or set network device Syntax: ifconfig [network device] [down up-allmulti-ARP-promisc] [add <address>] [del <address>] [Ifconfig Configure the nic ip address ifconfig eth0 192.168.0.1 netmask 255.255.255.0 configure the IP address of 192.168.0.1 and the 24-bit mask on eth0. What if I want to configure another IP address 192.168.1.1/24 on eth0? Run the following command ifconfig eth0: 0 192.168.1.1 netmask 255.255.255.0 to configure the hardware address of the NIC ifconfig eth0 HW ether XX: XX to change the hardware address of the NIC, in this case, you can cheat the IP address bonding in the LAN. Disable ifconfig eth0 down enable ifconfig eth0 up
What is eth0, eth1, eth2, lo, and temporary Nic configuration?