Using Parallels Desktop and free VirtualBox for license on Mac, the comparison results are as follows:
1. VirtualBox is more friendly with mouse capture and control, parallels need to press the button to release the mouse, but the VirtualBox inside is completely automatic.
2. VirtualBox inside the virtual machine seems to run faster, at least shut down faster than parallels.
The virtual machine can be easily copied in 3.VirutalBox, but there is no reason why the Clone menu is grayed out in Parallels desktop.
4. VirtualBox more network card configuration more convenient.
5. Google found VirtualBox more articles than parallels desktop
The free VirtualBox, at least in my opinion, is better than the charges of parallels. Then continue to experience VirtualBox.
Configuring a static IP in Ubuntu makes it possible to connect to the extranet:
1. Turn off the virtual machine, in the VirtualBox, set up a network card for the virtual machine is the bridge mode
2. View the DNS server for the host
3. Open the machine, run the ifconfig and Route command to see the ip,netmask,gateway that the NIC automatically obtains
[Email protected]:~$ route-n
Kernel IP Routing Table
Destination Gateway genmask Flags Metric Ref use Iface
0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 eth0
10.0.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
4. Run the command vi/etc/network/interfaces, set the static Ip,gateway,broadcast,netmask
Auto Eth0
Iface eth0 inet Static
Address 192.168.1.15
Netmask 255.255.255.0
Gateway 192.168.1.1
5. Configure DNS, run Vi/etc/resolvconf/resolv.conf.d/tail to create tail files in the/etc/resolvconf/resolv.conf.d/directory, write
NameServer 192.168.1.1 Then restarts, DNS is in effect 6. Test. Ping www.sohu.com
[Email protected]:~$ Ping www.sohu.com
PING fsh.a.sohu.com (114.80.130.88) bytes of data.
Bytes from www.sohu.com (114.80.130.88): icmp_seq=1 ttl=56 time=4.65 ms
Bytes from www.sohu.com (114.80.130.88): icmp_seq=2 ttl=56 time=6.91 ms
Bytes from www.sohu.com (114.80.130.88): icmp_seq=3 ttl=56 time=5.39 ms
VirtualBox VS Parallels Desktop and Ubuntu virtual machine multi-NIC settings on Mac