Help for it.

Networking your VM with the host

The solution I came up with: configure 2 network interfaces for your Virtual Box host. Simple, isn’t it?

First, we need to make a new network in VirtualBox. You can do this in the GUI preference, which is a bit platform specific, but it’s not easy to miss.

Create a new network in VirtualBox, named like vboxnet2 with following settings (change to suit your needs):

  • IPv4 Address:
  • IPv4 Network Mask:
  • Leave DHCP disabled if you don’t need it. Fixed IP addresses are just more predictable

Setup your virtual machine using 2 network adapters. The order doesn’t really matter, but you’ll need one NAT and one Host-Only:

  1. NAT (not much to configure).
  2. VBoxManage natnetwork add --netname vboxnet0 --network "" --enable 
  3. Host-Only using the network you created earlier, for example, vboxnet2.  hey this is a cool picture i have dialog boxes from 2 OS running at the the same time the one on the right shows what should appear if your network setup is ok in Windows XP the one on the top Is the settings to setup in the XP box and the bottom is the host Linux box showing ifconfig output

Boot your virtual machine, and configure the network interfaces in your guest OS (same order as previous point):

  1. First interface using NAT, which you can use with the internal DHCP
  2. Second interface using Host-Only will use a fixed IP address and netmask which you configured earlier for the vboxnet2 VirtualBox network. For example,
  3. i used to do this
  4. VBoxManage hostonlyif ipconfig vboxnet0 --ip --netmask

Guest has access to outside, and host can access services running on guest. This is handy when you have a demo or develop using a service running in the virtual machine, and the virtual machine needs to access the outside world.

Installing VirtualBox in Linux Mint 16

first if you get package errors this fixes them

sudo rm -fv /var/lib/apt/lists/*
sudo apt-get update

Now to the main part of the exercise ..... 

$ sudo sh -c 'echo "deb saucy contrib" >> /etc/apt/sources.list'
$ wget -q -O- | sudo apt-key add -
$ sudo apt-get update
$ sudo apt-get install virtualbox-4.3

then file new machine put in windows disk and install starts like picture above ( cross fingers )

* note for Steve windows XP disk has errors at the end registering the components about 40 mins into install ( should be ok if you save the virtual machine for later use though )

for virtualbox under Linux 17 mint do
Install for Linux Quanta 17
gksu pluma /etc/apt/sources.list.d/additional-repositories.list 
add this line 
deb trusty contrib
or use the package manager to do it

wget -0- | 
sudo apt-key add - ( all on one line )
sudo apt-get update (updates all the new packages from the vbox repository )
sudo apt-get install virtualbox-4.3

this is the  page use vboxmanage for further settings.

other mint tips for VLC, Firewall, and AptOnCD installation.