Using VirtualboxOSE to bridge the virtual CentOS System in Ubuntu9.04

Source: Internet
Author: User
Tutorial environment: host operating system: UbuntuLinux9.04DesktopI386 Virtual Machine Software: Virtualbox2.1.4OSE (which can be automatically installed from ubuntutweak) Virtual Operating System: CentOSLinux5.3I386 objective: to enable bridging between Centos and Ubuntu, in a LAN. Note: the latest version of Virtualbox 3.0.4 has been tested.

Lab environment:

Host operating system: Ubuntu Linux 9.04 Desktop I386

Virtual Machine Software: Virtualbox 2.1.4 OSE version (can be automatically installed from ubuntu tweak)

Virtual Operating System: CentOS Linux 5.3 I386

Objective: To bridge Centos and Ubuntu in a LAN.

Note: after testing, the latest version of Virtualbox 3.0.4 and the built-in bridging function cannot achieve the above purpose. Therefore, only version 2.1.4 OSE can be used currently. I don't know whether it is my own RPWT or the software itself.

1. install necessary software packages

First install uml-utilities. This tool contains a tool for creating virtual network devices (so-called "TAP interfaces"), and then bridge-utils, which can be installed together, there is a prompt for starting. If it is successful, OK is displayed. Command:
 
Sudo apt-get install uml-utilities bridge-utils


2. In order for your virtual machine to be able to access network interfaces, you must add the user name http://ubuntuone.cn/(usually your ubuntu Login User Name) Running the virtual machine to the uml-net user group. For example, the ubuntu user name is solar and the command is written as follows:

Sudo gpasswd-a solar uml-net

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.