CentOS 6.7 Network configuration
I. Network card configuration file directory:
2. Check the file name under the cd / etc/sysconfig/network-scripts/ display directory:
Open it with vi editor: vi ifcfg-eth0
4. Configure IP address
Edit the DNS configuration file
6. Configure DNS
Restart the Nic command: service network restart