CentOS 6.8 Minimal Configuration network

Source: Internet
Author: User

Virtual machines minimize the installation of the CentOS 6.8 system and view the contents of the default network configuration file

Cat/etc/sysconfig/network-scripts/ifcfg-eth0

650) this.width=650; "src=" http://s2.51cto.com/wyfs02/M01/8A/08/wKioL1gka3vyn7uAAABsuiPdaLk415.jpg "title=" 01.jpg "alt=" Wkiol1gka3vyn7uaaabsuipdalk415.jpg "/>


To enable normal networking, you need to modify the contents of the network configuration file

Vi/etc/sysconfig/network-scripts/ifcfg-eth0

After the modified network configuration file content is as follows

650) this.width=650; "src=" http://s5.51cto.com/wyfs02/M01/8A/08/wKioL1gkbO6jdtIEAACGHsXIZlU845.jpg "title=" 02.jpg "alt=" Wkiol1gkbo6jdtieaacghsxizlu845.jpg "/>


Where added content is

IPAddr setting the native IP address

NETMASK Setting the subnet mask

Gateway set up Gateways

DNS Settings DNS server address


Where the modified content is

Onboot=no Change to Onboot=yes boot

Nm_controlled=yes Change to Nm_controlled=no

Bootproto=dhcp Change to Bootproto=static


CentOS 6.8 Minimal Configuration network

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.