There are several ways to setup networking with your ‘Guest’ OS in Virtual Box. Virtual Box defaults to NAT (Network Address Translation) which typically works fine out of the box. However, to make your virtual machine visable to your Host OS or other machines on your network, you need to enable ‘Bridged Networking’ in the ‘Settings’ for your virtual machine. In order for this to work properly you will need a router with DHCP.
First, ‘Start > Run’ type ‘cmd’. Type ‘ipconfig /all’ write down all the information you see, specificially ‘DNS/Name servers’. Then ‘Start menu > Control Panels > Networking Connections’ and Right click on ‘Local Area Connection’ > ‘Properties’. ‘General’ > ‘Internet Protocal (TCP/IP)’ > Properties > ‘Use the following address’. give your Host OS a ’static IP’ (eg~ 192.168.1.2).
Back to Networking Connections, Right-click ‘VirtualBox Host-Only Network’, same thing, except give it an address within the range of the DHCP server on your router (eg~ 192.168.1.102). Now in VirtualBox, select ‘Settings’ and enable ‘Bridged Adapter’ under ‘Network’. Start your VM. You should be able to PING your Guest OS from your Host OS. Install OpenSSH-server on your Guest OS and you can SSH!

0 Responses to “Networking on Virtual Box XP Ubuntu 9.10”