CentOS Network Configuration

Source: Internet
Author: User

The first problem with the newly installed CENTOS7 is: Network configuration.

How do I get a new system connected to the network?

The environment configured here is based on the CentOS installed on VMware, and certainly not on the virtual machine after the installation of the CentOS network configuration.

1, the first installation of the general version (in addition to GNOME, KDE graphical interface) is not with a graphical interface, the character interface under the Ifconfig command is not good (not yet know why).

At this point, you can use IP addr to view IP address assignment.

2, enter the/etc/sysifconfig/network-scripts directory, find the ifcfg-eno16777736 file, in the CentOS6 version of the Ifcfg-eth0 file

Cd/etc/sysifconfig/network-scripts

Cat ifcfg-eno16777736

3, modify the Onboot:no is yes. Meaning whether the network interface is valid

ipaddr=192.168.299.136

Bootproto=static:ip Configuration Method (Value:static represents a fixed ip;dhcp for dynamic acquisition; none manual)

4. Restart the network service at this time

Service Network restart
the above preliminary completion of network configuration work.

for a more detailed configuration reference: http://blog.csdn.net/heyabo/article/details/8035927

CentOS Network Configuration

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.