Chinese comments for common Nic parameters in CentOS configuration

Source: Internet
Author: User
Files:/etc/sysconfig/network-scripts/ifcfg-CardName values are common in all basic configuration files: * DEVICE = name, here, name is the name of the physical device (unless a PPP device is dynamically allocated, its name is & ldquo; logical name & rdquo ;. * IPADDR = addr. here addr is the IP address. * NETMASK = mask. here, mas

File:/etc/sysconfig/network-scripts/ifcfg-CardName

The following values are common in all basic configuration files:
* DEVICE = name. here the name is the name of the physical DEVICE (unless a ppp device is dynamically allocated, its name is "logical name ".
* IPADDR = addr. here addr is the IP address.
* NETMASK = mask. here, the mask is the network mask.
* NETWORK = addr. here, addr is the NETWORK address.
* BROADCAST = addr. here, addr is the BROADCAST address.
* GATEWAY = addr. here, addr is the GATEWAY address.
* ONBOOT = answer. here, answer takes one of the following values:
. Yes -- the device will be activated during boot.
. No -- this device is not activated during boot.
* USERCTL = answer. here, answer takes one of the following values:
. Yes -- non-root users can control the device.
. No -- non-root users are not allowed to control the device.
* BOOTPROTO = proto, where proto takes one of the following values:
. None -- protocol when no boot is used.
. Bootp -- use the bootp protocol.
. Dhcp-use the dhcp protocol.

Related Article

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.