Book Image

VirtualBox 3.1: Beginner's Guide

By : Alfonso Vidal Romero, Alfonso Vidal Romero Elizondo
Book Image

VirtualBox 3.1: Beginner's Guide

By: Alfonso Vidal Romero, Alfonso Vidal Romero Elizondo

Overview of this book

The furore around virtualization is taking the technology world by storm and is a must for efficient utilization of network server capacity, storage administration, energy, and capital. VirtualBox is free and this brings down your upfront costs for an agile data center. VirtualBox will transform your IT infrastructure into a lean Data Center on a Windows XP/7 or Ubuntu Linux platform. Although VirtualBox has grown by leaps and bounds, there is not enough documentation to guide you through its features and implementation.This hands-on guide gives you a thorough introduction to this award-winning virtualization product. It will help you to implement the right virtual environment for you. Additionally, this book will help you set up an environment that will work for your system. You will learn to architect and deploy your first virtual machine without being overwhelmed by technical details.This practical book unveils the robust capabilities and easy-to-use graphical interface of VirtualBox to help you to effectively administer and use virtual machines in a home/office environment. You begin by creating your first virtual machine on a Windows/Linux guest operating system and installing guest additions. The book then goes on to discuss the various formats that VirtualBox supports and how it interacts with other formats. The comprehensive instructions will help you to work with all the networking modes offered by VirtualBox. Virtual appliances will be explained in detail—how they help to reduce installation time for virtual machines and run them from VirtualBox.By the end of this book you will be able to run your own headless VirtualBox server, to create, manage, and run virtual machines in that server from a remote PC.
Table of Contents (16 chapters)
VirtualBox 3.1: Beginner's Guide
Credits
About the Author
About the Reviewer
Preface
Index

Time for action – isolating a VM with the 'Not Attached' mode


In this exercise, I'll show you how to isolate the web server in your UbuntuVB virtual machine from the outside world.

  1. Select your UbuntuVB machine on VirtualBox's main screen, and click on the Settings button to go to the UbuntuVB – Settings page.

  2. Go to the Network category, and then select the Not attached mode on the Attached to list box:

  3. Click on OK to return to the VirtualBox main screen. Then start your UbuntuVB virtual machine and login.

  4. If you look at the bottom-right part of your virtual machine window, you'll see that the status bar indicates that your network cable is connected, but there's no adapter attached to your virtual machine:

  5. And if you look at your UbuntuVB virtual machine's menu bar, you'll see that there's no network connection:

  6. Now open a terminal window in your UbuntuVB virtual machine, and type ifconfig followed by Enter to see your network configuration:

  7. As you can see, the eth0 interface is present but...