When working, I need some test with two Centos virtual machine/pc (6.4 minimal).
So I installed one virtual machine and clone to another.
And to make two virtual machine can connect one Lan network (or one wifi network) with bridged adapter mode in Network settings, I need check to "Reinitialize the MAC address of all network cards) like behind image.
And when I started new virtual machine, I can't connect to internet.
Solution
Need go to superuser with su command line
- Remove the
kernel’s networking interface rules file to reset# rm -f /etc/udev/rules.d/70-persistent-net.rules
- Restart the VM
# reboot
|
- UPDATE your
interface configuration file
# vi /etc/sysconfig/network-scripts/devices/ifcfg-eth0
- Remove the MACADDR entry and the UUID entry
- Save and exit the file (:wq)
- Restart the networking service
# service network restart
|
No comments:
Post a Comment