CentOS Network Interface configuration file Ifcfg-eth detailed

Source: Internet
Author: User

======centos Network Interface configuration file Ifcfg-eth detailed ======

File/etc/sysconfig/network-scripts/ifcfg-eth0 in/etc/sysconfig/network-script under this directory, the network interface (NIC) script file (control file) is stored, Ifcfg-eth0 is the default first network interface, and if there is more than one network interface in the machine, then the name will be ifcfg-eth1,ifcfg-eth2,ifcfg-eth3 ... (The file inside is quite important, which involves the ability of the network to work properly).

= = = = Value = = = = = = = = = = =

Set project items as follows:

*device Interface Name (device, NIC)

*userctl [Yes|no] (whether the device can be controlled by a non-root user)

*bootproto IP Configuration method [None|static|bootp|dhcp] (No protocol at boot | Static allocation ip| BOOTP protocol | DHCP protocol)

*hwaddr MAC Address

*onboot the network interface is active when the system is started (yes/no)

*type network type (usually Ethemet)

*netmask Network Mask

*IPADDR IP Address

*ipv6init IPV6 is valid (yes/no)

*gateway Default gateway IP address

*broadcast Broadcast Address

*network Network Address

You can refer to the following example = = = = =










CentOS Network Interface configuration file Ifcfg-eth detailed

Related Article

E-Commerce Solutions

Leverage the same tools powering the Alibaba Ecosystem

Learn more >

Apsara Conference 2019

The Rise of Data Intelligence, September 25th - 27th, Hangzhou, China

Learn more >

Alibaba Cloud Free Trial

Learn and experience the power of Alibaba Cloud with a free trial worth $300-1200 USD

Learn more >

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.