Each time you open virtualbox, you will always be prompted to publish a new version. Click Connect and upgrade!
The new version 2.0.2 has a new feature: a network card can be virtualized without a bridge. This saves the trouble of adding a virtual network card.
After I upgrade, I have a nightmare. Every time I start my VM. My host is restarted. No prompts. This makes me very depressed!
The strange problem is that I updated my laptop, but there was no problem. The desktop does not work.
Later, it was found that the client had a connection problem as long as it was a host interface, but there was no problem with the NAT method. But I need to communicate with the client. I can only use the former method.
I searched the internet and found some clouds: linux2.6 core is not supported. Unable to research!
I guess it is not supported by the NIC or driver, but the specific reason is unclear.
Now we have to return version 1.4.2. Stable use.
Add a virtual network adapter-> bridge-> select host insterface-> enter the centos Client
VI/etc/sysconfig/network-scripts/ifcfg-eth0 #/etc/sysconfig/network-scripts/ifcfg-eth0: Device = eth0
Bootproto = static
Broadcast = 192.168.0.255
Ipaddr = 192.168.0.166
Netmask = 255.255.255.0
Network = 192.168.0.0
Hwaddr = 08: 00: 27: 13: E9: 51
Gateway = 192.168.0.1
Onboot = on
Type = Ethernet VI/etc/resolv. conf #/etc/resolv. conf
Nameserver 192.168.0.1
Nameserver 202.96.199.20.
Run
Ifconfig eth0 down;
Ifconfig eth0 up