Linux network interface details

Source: Internet
Author: User
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.

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.