Time for action – changing your virtual machine to bridged networking mode
In this exercise, I'll show you how to change your virtual machine's networking mode from NAT to bridged so that you can access, from your host PC, the web server you installed on the UbuntuVB virtual machine in the previous exercise.
Select your UbuntuVB virtual machine, and click on the Settings button to go to the UbuntuVB – Settings page.
Select the Network category, click on the Attached to: list box, and select the
Bridged Adapter
option:Click on OK to close the UbuntuVB – Settings dialog and return to VirtualBox, then start your UbuntuVB virtual machine, and login with your administrator account.
Open a terminal window (Applications | Accessories | Terminal), and type
ifconfig
, followed by Enter. Now you'll see something like this:If you compare the IP address of your virtual machine in step 4 of the Time for Action – Accessing the NAT mode in your VM exercise (
10.0.2.15
) and the IP you obtained in this exercise...