Solve the problem that the NIC cannot be started after VMware clones CentOS.

Source: Internet
Author: User

Solve the problem that the NIC cannot be started after VMware clones CentOS.

(1) Ensure that udev-post is started

# Chkconfig -- list udev-post

Udev-post 0: Disable 1: Enable 2: Enable 3: Enable 4: Enable 5: Enable 6: Disable

#/Etc/init. d/udev-post start

(2) Delete All Nic configurations (delete the 70-persistent-net.rules file), restart and re-allocate the network card

# Cd/etc/udev/rules. d

[Root @ xjuCentOS rules. d] # rm-rf 70-persistent-net.rules

[Root @ xjuCentOS rules. d] # cd/etc/sysconfig/network-scripts

[Root @ xjuCentOS network-scripts] # rm-rf ifcfg-eth *

# Cat ifcfg-eth0 [root @ xjuCentOS network-scripts] #

TYPE = Ethernet

BOOTPROTO = none

IPADDR = 10.238.208.10

PREFIX = 25

GATEWAY = 10.238.208.1

DEFROUTE = yes

20174_failure_fatal = yes

IPV6INIT = no

NAME = eth0

UUID = 9573a563-bfb5-478a-8e03-04dbba7c098e

ONBOOT = yes

LAST_CONNECT = 1431947250

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.