Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Linux - Virtualization and Cloud This forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.


  Search this Thread
Old 05-21-2019, 12:26 PM   #1
Registered: Mar 2009
Posts: 62

Rep: Reputation: 16
After cloning VM in vSphere, network.service fails to start

Hi LQ community! After I cloned a production RHEL 7.6 server in VMware vSphere 6.5 to a sandbox, the network.service fails to start.

I'm using VMware vSphere Client version to clone a RHEL VM. I've tried manually starting the networking service after it fails to come up during boot and receive the prompt: 'See "systemctl status network.service" and "journalctl -xe" for details.'

journalctl -xe shows:

network.service: control process exited, code=exited status=1
Failed to start LSB: Bring up/down networking.
Unit network.service has failed.

Unit network.service has begun starting up.
bringing up loopback interface: [ OK ]
Bringing up interface eth0: RTNETLINK answers: File exists
[ OK ]
Bringing up interface p1p1: ERROR : [/etc/sysconfig/network-scripts/ifup-eth] Device p1p1 does not seem to be present, delaying initialization.

I've been Google searching for quite a while on this and saw a lot of similar *but* different instances of this error, so I tried adding the MAC address to the ifcfg-eth0 file and restarted the network. Still failed. Ideas / tips are appreciated.
Old 05-21-2019, 02:54 PM   #2
Registered: Sep 2018
Distribution: Debian, CentOS, FreeBSD
Posts: 204

Rep: Reputation: Disabled
My guess is udev has a persistence rule for the NICs, and since your NICs are now "different", they have different names. Try this:

cd /etc/sysconfig/network-scripts
ip link list
If the interfaces shown by IP differ from the files in network-scripts, rename them to match. Make sure you edit them. You will probably have to comment out or update UUID as well as the NAME and DEV lines. I don't have an RHEL box available at the moment to check, but NAME and DEV might be a little different.
Old 05-22-2019, 07:18 AM   #3
LQ Newbie
Registered: Mar 2019
Posts: 12

Rep: Reputation: Disabled
This is due to MAC address of the nic.
As the MAC Address is changing on your clone, on clone you should edit the /etc/sysconfig/network-scripts/ifcfg-ensXXX and remove the MAC address of that correspond to the original VM. You do not need to add the new one.


red hat, vmware

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
systemctl status postgresql-tst.service starts the service if service is stopped MarianForums Linux - Newbie 7 11-03-2018 03:02 PM
[SOLVED] After cloning old HD to new HD: "Partition does not start on physical sector boundary" littlebigman Linux - Software 7 07-13-2017 04:59 PM
Linux Boot disk won't start - after cloning the drive in Windows 8 clueless1 Linux - Newbie 1 03-19-2014 09:47 AM
Clock skew detected after building OEL5.3 in vSphere 4.1 environment Provogeek Linux - Virtualization and Cloud 2 01-02-2011 10:43 AM
what is the difference between service network reload and service network restart ? markraem Linux - Networking 3 11-21-2007 03:08 PM > Forums > Linux Forums > Linux - Virtualization and Cloud

All times are GMT -5. The time now is 12:41 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration