Centos 5.2 does not work on virtualbox2.0.2

Source: Internet
Author: User
Tags nameserver

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

 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.