Ubuntu is installed with VirtualBox in Windows 7, which requires Ubuntu to be connected to the Internet, and SSH, FTP, and NFS services are configured in Ubuntu to be accessible from Win7. At this time, the Linux virtual machine requires two NICs, one connected using the NAT method (Network Address Translation Network), used to connect to the Internet; the other is set to the bridge network (Bridged ), used to establish SSH, FTP, and NFS connections. All machines (Linux host Nic IP address and Win7 Nic IP address) are required)
In Windows 7, Ubuntu is installed with VirtualBox, which requires Ubuntu to be connected to the Internet, and SSH, FTP, and NFS services are configured in Ubuntu to be accessible from Win7.
At this time, the Linux virtual machine requires two NICs, one connected using the NAT method (Network Address Translation Network), used to connect to the Internet;
The other part is set to the bridge network (Bridged) used to establish SSH, FTP, and NFS connections. All machines (Linux host Nic IP and Win7 Nic IP) must be in the same network segment, such as 192.168.0.x, subnet Mask 255.255.255.0
Use the default settings for the NIC connected by NAT. The NIC of the bridge network is slightly special.
If the local connection of Win7 has been connected to the network, bridge the network adapter to the local network adapter (Realtek PCIe GBE Family Controller in the figure), and then set the IP address of the network adapter of the VM, set it to the same CIDR block as the local connection of Win7.
If the local connection of Win7 is disconnected, the connection is through Wifi or the Internet is not connected, then the bridge Nic cannot be used (it cannot be used together with the wireless Nic ). In this case, only the host adapter can be used ,. Keep the virtual network card added during VirtualBox installation in the enabled status and set it (it can be understood that this virtual network card replaces the local network card ).
Install Win7 http://www.linuxidc.com/Linux/2012-11/74195.htm with Virtualbox in Ubuntu 12.10
Install Windows XP with VirtualBox Virtual Machine in Ubuntu
VirtualBox Virtual Machine install Ubuntu 13.10 http://www.linuxidc.com/Linux/2013-11/92698.htm
Ubuntu installation Virtual Machine Software VirtualBox 4.3.10 http://www.linuxidc.com/Linux/2014-03/99113.htm
VirtualBox: Click here
VirtualBox: Click here
For more information about Ubuntu, see Ubuntu special page http://www.linuxidc.com/topicnews.aspx? Tid = 2
This article permanently updates the link address: Http://www.linuxidc.com/Linux/2014-10/107872.htm