[solved] How allow guest OS to access the Internet

Discussions related to using VirtualBox on Windows hosts.
Post Reply
Maximus1970
Posts: 4
Joined: 11. Sep 2015, 22:33

[solved] How allow guest OS to access the Internet

Post by Maximus1970 »

Oracle VM version 4.3.30 r101610 Host : Windows 7 64 bits Guest: Ubuntu 14.04.2 LTS
What do I need to do to allow the guest OS to access the Internet through my host machine? I have tried the following without success:

Attached to: Bridged Adapter
Name: Cisco AnyConnect bla bla bla
Cable Connected (checked)

PS: I will attach a screen shot tomorrow because I am getting the error below:
"You must be a member for 1 days and have 1 posts before you can post urls."

Thank you
Max
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: How allow guest OS to access the Internet via Host machi

Post by mpack »

NAT is simplest.

We prefer that images be attached directly, not linked, so your noobee restrictions shouldn't matter.
Maximus1970
Posts: 4
Joined: 11. Sep 2015, 22:33

Re: How allow guest OS to access the Internet via Host machi

Post by Maximus1970 »

I did pick NAT (not NAT Network) and I saw a popup such as "Wired Connected" but Firefox wont load any web sites.
Probably DNS issue. I will have to read the Oracle VM manual which I just downloaded.
noteirak
Site Moderator
Posts: 5231
Joined: 13. Jan 2012, 11:14
Primary OS: Debian other
VBox Version: OSE Debian
Guest OSses: Debian, Win 2k8, Win 7
Contact:

Re: How allow guest OS to access the Internet via Host machi

Post by noteirak »

Cisco AnyConnect..
Are you using some kind of proxy/VPN software? If so, disconnect it before trying.
Hyperbox - Virtual Infrastructure Manager - https://apps.kamax.lu/hyperbox/
Manage your VirtualBox infrastructure the free way!
Maximus1970
Posts: 4
Joined: 11. Sep 2015, 22:33

Re: How allow guest OS to access the Internet via Host machi

Post by Maximus1970 »

yes that was my VPN connection and I also tried when not using the VPN and it didn't work either.
I just installed a new guest (Windows 7) and NAT worked fine. So it looks like the problem is with the Ubuntu guest.
I am new to Ubuntu so now I am researching why Windows works and Ubuntu doesn't. Thanks.
If you have any clue please shed some light - thanks!
noteirak
Site Moderator
Posts: 5231
Joined: 13. Jan 2012, 11:14
Primary OS: Debian other
VBox Version: OSE Debian
Guest OSses: Debian, Win 2k8, Win 7
Contact:

Re: How allow guest OS to access the Internet via Host machi

Post by noteirak »

Hard to say - you don't mention how you reached the conclusion that internet was not available in the guest.
You should also run basic network diagnostics - ping your local gateway, ping your DNS server, ping the IP of a website, then try to ping its DNS name, see where it fails...
Hyperbox - Virtual Infrastructure Manager - https://apps.kamax.lu/hyperbox/
Manage your VirtualBox infrastructure the free way!
loukingjr
Volunteer
Posts: 8851
Joined: 30. Apr 2009, 09:45
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: just about all that run

Re: How allow guest OS to access the Internet via Host machi

Post by loukingjr »

noteirak wrote:Hard to say - you don't mention how you reached the conclusion that internet was not available in the guest.
I think this is how he reached the conclusion…
Maximus1970 wrote:I did pick NAT (not NAT Network) and I saw a popup such as "Wired Connected" but Firefox wont load any web sites.
FWIW, a normal install of a Ubuntu guest should certainly be connected if NAT is chosen. Perhaps a firewall is blocking the Ubuntu guest?
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
noteirak
Site Moderator
Posts: 5231
Joined: 13. Jan 2012, 11:14
Primary OS: Debian other
VBox Version: OSE Debian
Guest OSses: Debian, Win 2k8, Win 7
Contact:

Re: How allow guest OS to access the Internet via Host machi

Post by noteirak »

I am still hoping for a more scientific approach, even if not mentioned.
Hyperbox - Virtual Infrastructure Manager - https://apps.kamax.lu/hyperbox/
Manage your VirtualBox infrastructure the free way!
loukingjr
Volunteer
Posts: 8851
Joined: 30. Apr 2009, 09:45
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: just about all that run

Re: How allow guest OS to access the Internet via Host machi

Post by loukingjr »

well that would be helpful. :)
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
Maximus1970
Posts: 4
Joined: 11. Sep 2015, 22:33

Re: How allow guest OS to access the Internet via Host machi

Post by Maximus1970 »

Well I restarted the guest OS and now it is working...go figured!
Thanks for the NAT suggestion. I am new here. Do I need to do anything like closing "this ticket"? :-)
Thank you!
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: How allow guest OS to access the Internet via Host machi

Post by Perryg »

I'll take care of it for you this time. For future reference just edit the original post and add solved to the front of the line.
Post Reply