After CentOS is imported under VirtualBox, the Internet cannot be accessed. virtualboxcentos
From the "management" menu of VirtualBox, select "Export Virtual Computer" to save a backup. Then, select "Import Virtual Computer" from the "manage" menu, but cannot access the Internet. Solution:
1. modify the configuration file
Vi/etc/udev/rules. d/70-persistent-net.rules
Comment out eth0 settings
Change eth1 to eth0
Ii. Change the MAC address of the NIC
Vi/etc/sysconfig/network-scripts/ifcfg-eth0
Change the NIC address to the MAC address in Virtual Box.
Restart: reboot
Centos in virtualbox cannot be started
I have created a virtual machine in VirtualPC and installed CentOS5.5, but when I started it, An was later used VirtualBox. I also encountered a problem when setting the Virtual Machine hard disk. I used sun.
Virtualbox installation centos settings bridging network static IP cannot connect to the Internet
It is easier to solve the problem because it is easy to use in DHCP.
When DHCP is enabled, ifconfig-a checks the eth0 information.
Then, view the route information in route-n,
Set your static IP address based on the above information.
This is easy to succeed.