The blog covers various articles and posts on Cloud, Big Data Analytics, Data Science, Machine Learning, DevOps, Full Stack Development, Java and Middleware Technologies
Sunday, April 27, 2014
Virtual Box Network Settings IP Assignment
Network
Use host adapter (Using host adapter does not allow you to connect to the internet)
You can communicate to other VMs in the same host
and you can communicate to host from the guest
Check for IP address by running ifconfig command in the terminal window
Set Up NAT to access the internet - Accessing the internet is essesntion while performing the Social lab
Access guest from host
The host adapter interface is set up with IP address 192.168.56.101
This IP address is mapped to the host name oam.example.com
To access all apps in the guest image from your laptop/desktop modify your hosts file (Linux /etc/hosts and Windows c:\windiows\system32\drivers\etc\hosts) with the value 192.168.56.101 oam.example.com
Please note you should be having root/administrator privileges to carry out the above