I am new to Oracle virtualbox. I have created a new virtual machine with Oracle linux 5.5 (64bit). I have enabled the NAT networking adaptor so as to access internet connection from the VM. But I am not able to do so.
Here are the network settings in the VM
1. Automatically obtain IP address settings with DHCP
2. Firewalls are disabled.
The 'eth0' device shows active status. The #ifconfig command lists "inet address" as 10.0.2.15.
Please let me know if any additional configuration is required for establishing the internet connection in the VM.
The NAT engine of Virtualbox automatically provides a router between the network interface of your host system and the virtual network interface of your guest OS and offers the same DNS servers to the guest that are configured on the host.
For more information how it works, see http://www.virtualbox.org/manual/ch06.html#network_nat.
The problem you are experiencing is most likely with the network configuration of your host system.