Solutions to network problems arising from VMware virtual machine cloning CentOS7

Source: Internet
Author: User

http://www.bubuko.com/infodetail-1483490.html (EXT)

Network problem resolution time for VMware Virtual machine cloning CentOS7:2016-04-02 07:17:00 read:578 comments:0 Favorites: 0 [point I collection +]

Tags: virtual machine network card resolution steps

1, delete the/etc/sysconfig/network-scripts/ifcfg-eno16777736 uuid this line, because each card's MAC address is not the same, so the UUID is not the same. If there is hwaddr this option also has to be given to the line.

[[Email protected]~]# vim/etc/sysconfig/network-scripts/ifcfg-eno16777736

Type=ethernet

Bootproto=static

Defroute=yes

Peerdns=yes

Peerroutes=yes

Ipv4_failure_fatal=no

Ipv6init=yes

Ipv6_autoconf=yes

Ipv6_defroute=yes

Ipv6_peerdns=yes

Ipv6_peerroutes=yes

Ipv6_failure_fatal=no

name=eno16777736

uuid=9972f8c8-48e0-4b2d-92c2-00d44999ed2f

device=eno16777736

Onboot=yes

ipaddr=192.168.1.131

netmask=255.255.255.0

gateway=192.168.1.1

dns1=192.168.1.1

2, enter/etc/udev/rules.d/This directory, delete files 70-persistent-ipoib.rules

[Email protected] rules.d]# cd/etc/udev/rules.d/

[Email protected] rules.d]# rm-f 70-persistent-ipoib.rules

3, restart the network (with the following two commands in the version above CentOS7 can be)

Systemctl Restart Network.service

Service Network restart

Solutions to network problems arising from VMware virtual machine cloning CentOS7

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.