Network access to Ubuntu guest

Discussions related to using VirtualBox on Windows hosts.
Post Reply
peterbata
Posts: 3
Joined: 21. Sep 2012, 00:48

Network access to Ubuntu guest

Post by peterbata »

Hello all. First time post. New member. And what most forum users do not want to hear: Ubuntu Linux noob !!!

First off I apologize if I am posting in the wrong section. Mods are free to move if they see fit. I will try to keep it short and sweet.

Installed Ubuntu Server v.12.04.1 in Virtual Box v.4.1.22. The install went really well. I selected LAMP and am able to see the default web page:

It works! This is the default web page for this server. blah blah blah.

By the way, I should have mentioned that everything is running on my laptop. HP Pavilion dv2000 running WIN7 64bit.

My eth0 (DHCP) was assigned 192.168.56.101. I can access the machine with that IP fom the same laptop running Virtual Box. Unfortuantely, I cannot access the Ubuntu server from any of the other machines located on my internal network. eg. IP: 192.168.0.30 Subnet: 255.255.255.0 Gateway: 192.168.0.1

Any assistance would be greatly appreciated. Thank you. Peter
Y E T I
Posts: 161
Joined: 9. Aug 2010, 01:47
Primary OS: Other
VBox Version: OSE self-compiled
Guest OSses: ?
Location: H i m a l a y a s
Contact:

Re: Network access to Ubuntu guest

Post by Y E T I »

It appears you have selected host-only and what you really need is bridged for you network adapter.
peterbata
Posts: 3
Joined: 21. Sep 2012, 00:48

Re: Network access to Ubuntu guest

Post by peterbata »

Thank you so much for the prompt reply. I really appreciate it. Actually, yesterday evening I did set my adapter to "Bridged". What happened is that I completely lost internet connectivity at my laptop.
Y E T I wrote:It appears you have selected host-only and what you really need is bridged for you network adapter.
peterbata
Posts: 3
Joined: 21. Sep 2012, 00:48

Re: Network access to Ubuntu guest

Post by peterbata »

You were absolutely correct. I made the mistake of following the instructions in a YouTube tutorial that demonstrated how to setup two adapters. So, I had Adapter 1 = Host-Only and Adapter 2 = NAT

Thanks again for your time and assistance.

Peter
Y E T I wrote:It appears you have selected host-only and what you really need is bridged for you network adapter.
Post Reply