What is eth0, eth1, eth2, lo, and temporary Nic configuration?

Source: Internet
Author: User

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?

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.