We all know that VMware is a virtual machine that can load a variety of systems, but when VMware clones Linux, it can not find eth0, many people do not know how to deal with it, the following small series will introduce you to VMware Cloning Linux hints that eth0 could not find a solution.
occurrence: when
Use ifconfig command to change to modify the virtual machine ip address, suggesting eth0 not found. Modify the configuration file /etc/sysconfig/network-scripts/ifcfg-eth0 directly, and it will be useless after restarting the system.
After looking at ifconfig, I found that there is no eth0, only eth2. So when creating a virtual machine, I recreated a network card. When the system finds that the network card is not unified with the system configuration, a new network interface is re-created.
Solution: Configure eth0 back
Modify /etc/udev/rules.d/70-persistent-net.rules file
The PCI device 0x1022: 0x2000 ( Vmxnet) Use the # comment to change eth2 in PCI device 0x1022:0x2000 (vmxnet) to eth0, remember MAC address ATTR{address}==“00:0c:29:ab:c5:2c”, exit saving.
Modify the NIC configuration file /etc/sysconfig/network-scripts/ifcfg-eth0
Modify the ip address: IPADDR=192.168.0.102 (because I only use the host-only link method, so Is static ip), modify the MAC address HWADDR=00:0C:29:AB:C5:2c, exit the save.
Modify /etc /sysconfig /network file hostname HOSTNAME = hadoop2
execute the command: service network restart, message eth0 entry into force of will.
Bringing up interface eth0: Active connection state: activating
Active connection path: /org/freedesktop/NetworkManager/ActiveConnection/1
state: activated
Connection activated
It is best to reboot and reboot.
[root@hadoop2 ~]# ifconfig
eth0 Link encap:Ethernet HWaddr 00:0C:29:AB:C5:2C
inet addr:192.168.0.102 Bcast :192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::20c:29ff:feab:c52c/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1< Br>
RX packets:177 errors:0 dropped:0 overruns:0 frame:0
TX packets:61 errors:0 dropped:0 overruns:0 carrier:0
collisions :0 txqueuelen:1000
RX bytes:17634 (17.2 KiB) TX bytes:7611 (7.4 KiB)
Interrupt:19 Base address:0x2024
The above is VMware clone Linux prompts eth0 can not find a solution to the solution, if you have encountered this problem, you can install the method described in this article for processing, I hope to help you.
There are a lot of tools for viewing Linux disk space, so how do you use commands t
In school, you usually use campus network, you need to use special software to connect to the networ
Ubuntu system operation, Chromium is a browser developed by Google, if you do not have Flash install
Many computers now have more than one network card, but one network card fails and the entire networ
Debian install closed source package method
Oracle Linux 6.4 accidentally remove VG solution
Linux how to use the umount command to force the file system to be unmounted
Summary of methods for restricting user su-permissions in Linux system
How does Centos build CDN server through nginx reverse proxy and proxy_cache cache
Linux system uses logrotate to cut Tomcat logs
Tips for using timed commands in Linux systems
Ubuntu dual system can not enter the Windows disk solution
Linux uses rm to delete the database file how to recover?
"Load DLL failed" solution in win7
Because you don't know these few tricks, the computer is getting more and more cards!
Commonly used PDF to Excel method recommended
Master changes Win7 Explorer default path has a coup
Win7 64-bit how to install the printer
Win8 CP version Win8QQ official solution to the card failure failure