Virtual machine clone Linux centos6.5 system network card configuration graphic tutorial

Virtual machine clone Linux centos6.5 system network card configuration graphic tutorial

As a newbie who has just come into contact with the Linux system, after installing the CentOS6.5 system on the VMware virtual machine, I cloned several copies of the pure system to facilitate later experiments. The cloning steps are very simple. The problem that occurs after cloning is that the MAC address of the cloned network card is the same as the MAC address of the original system. There will be a conflict in the local area network. The cloned MAC address needs to be changed, otherwise the network card will not start up. Today I will teach you how to modify it, as follows:

1. First enter the original system and use the command to view the network card information

2. Follow the same steps to enter the cloned system, check the network card address, and find that the MAC address is the same. Start the network service, and it will prompt "falied".

3. Edit the network card device: vi /etc/udev/rules.d/70-persistent-net.rules. The following content will appear. You can see that there are two network cards, eth0 and eth1. Eth0 is the cloned system, and eth1 is regenerated.

Add # in front to comment out the first network card, change the second network card to eth0, and record the mac address.

After editing is complete, press the Esc key to exit, and enter: wq to save and exit.

Then execute: vi /etc/sysconfig/network-scripts/ifcfg-eht0, replace the original MAC address with the MAC address just recorded, and then modify the IP address as follows.

4. Service network restart (if it fails, just restart the virtual machine)
After successful startup, you can use the ifconfig command to view the current IP

Ok, problem solved.

The above is the full content of this article. I hope it will be helpful for everyone’s study. I also hope that everyone will support 123WORDPRESS.COM.

You may also be interested in:
  • Solution to the problem that the CentOS virtual machine cannot access the Internet after cloning (network card information is inconsistent)
  • Solution to the problem that the network card of the virtual machine of VMware cloned Centos6.4 cannot be started
  • Complete steps of centos cloning linux virtual machine sharing

<<:  Native JS music player

>>:  How to solve the problem "Unknown column 'password" when resetting MySQL root password

Recommend

Example code for using @media in CSS3 to achieve web page adaptation

Nowadays, the screen resolution of computer monit...

HTML framework_Powernode Java Academy

1. Framework A browser document window can only d...

Understanding and using callback functions in JavaScript

Table of contents Overview What are callbacks or ...

Vue implements sending emoticons in chat box

The specific code for sending emoticons in the vu...

Detailed explanation of Docker Swarm service orchestration commands

1. Introduction Docker has an orchestration tool ...

HTML form submission method case study

To summarize the form submission method: 1. Use t...

Use Xshell to connect to the Linux virtual machine on VMware (graphic steps)

Preface: I recently started to study the construc...

How to publish a locally built docker image to dockerhub

Today we will introduce how to publish the local ...

HTML uses form tags to implement the registration page example code

Case Description: - Use tables to achieve page ef...

A brief discussion on CSS blocking merging and other effects

Non-orthogonal margins When margin is used, it wi...

Draw a heart with CSS3

Achieve resultsRequirements/Functionality: How to...

How to implement a simple HTML video player

This article introduces the method of implementin...

Steps to set up HTTPS website based on Nginx

Table of contents Preface: Encryption algorithm: ...

MySQL database advanced query and multi-table query

MySQL multi-table query Add a worksheet -- User t...

Detailed example of using js fetch asynchronous request

Table of contents Understanding Asynchrony fetch(...