What is VirtualBox?

Source: Internet
Author: User
Tags oracle vm virtualbox vm virtualbox

The VirtualBox is a x86 virtual machine software. Originally developed by the German Innotek company, Sun acquired Innotek in 2008, and Sun was acquired by Oracle in 2010 and renamed Oracle VM VirtualBox on January 21, 2010. VirtualBox can run on Linux and Windows hosts and supports installing Windows (NT 4.0, 2000, XP, Server 2003, Vista), Dos/windows 3.x, Linux (2.4 and 2.6), OpenBSD and other series of customer operating systems.

VirtualBox is open source software that uses a dual license agreement, personal and evaluation use can be used for free download at virtualbox.org without paying fees, and commercial charges apply.

VirtualBox Network Settings

VirtualBox has 5 network modes, which are explained below.

Nat〈 Network Address Translation mode

VirtualBox in the virtual host (hereinafter referred to as: Virtual host) is not real in the network, host and host network hosts can not directly access the virtual host, the virtual host is not connected. The virtual host can access the host and any hosts that the host can access. Virtual Host access Network is the first through the VirtualBox conversion and then sent out, the data receive is also first received by VirtualBox and then forwarded to the virtual host.

If you do not understand, you can refer to: http://zh.wikipedia.org/wiki/network address translation.

The virtual Host network parameter is obtained by default from the VirtualBox virtual DHCP Ser:

IP Address Subnet Mask Gateway DNS
10.0.x.15 255.255.255.0 10.0.x.2 10.0.x.3
VirtualBox Port Forwarding

As mentioned above, no host in the host and host network can directly access the virtual host, but VirtualBox provides port forwarding, which allows us to set specific end-of-statement entity network access.

It is not easy to set certain ports that are sent to the host to be forwarded to the virtual host. Host IP address simply 127.0.0.1 it!

Bridged adapter〈 Bridging mode
need to load module Vboxnetflt

A virtual host is bridged to a host's network card via VirtualBox, just as if it were the real one in the host network. The virtual host can be seamlessly connected to hosts in the host and host network. The NIC that is bridged will turn on promiscuous mode.

Virtual Host network parameters: the same network segment that is manually configured to bridge the host NIC, or obtained through DHCP Ser in the host network.

if the host in a restricted network virtual host is not able to access the Internet, such as: Host using ADSL, using proxy or VPN, host Gateway made MAC address restrictions
...
Internal〈 Internal model

Virtual machines are completely separate from the outside world, the virtual machine and the host network can not be interconnected, only the same name (such as: intnet) of the internal network mode of the virtual machine can access each other , there is one condition is in the same network segment OH. Virtual Host network parameters: IP is not assigned by default and needs to be set manually.

Host-only Adapter〈 Homestay Host mode)

VirtualBox in the host virtual a host-only network card, and then the virtual host Bridge to the Host-only network card, we can set up the Host-only network card (sharing, bridging) to achieve networking. Oh, this hands-on relatively strong, although you have a certain network technology OH.

For the bridge and share of the network card, you can check Windows related articles, or Google search "Windows network card XX".

Virtual Host network parameters: Default IP field 192.168.56.x/24

"Unspecified", hehe, choose this what will happen?

If you choose "Unspecified", you will not be able to communicate with any host, only can self ping self!

VirtualBox Other issues

Although the VirtualBox bridging mode is very useful, what do you do with restricted networks? With NAT mode, no! It's too much trouble for the host to access the virtual host. My method is to add two network cards to the virtual host, one network card using NAT mode, the other network card using bridged adapter mode, and then set a static route to the virtual host, set the data to access the host from the bridged adapter mode network card sent out, The Internet access data is sent from the NAT mode NIC. Isn't it very simple ah!

What is VirtualBox?

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.