I am running a Kubuntu 9.10 guest on OS X Snow Leopard. I have three nics on this guest.
nic1 is a Nat interface
nic2 is a Host Only interface
nic3 is a bridged interface
I added the Host Only interface last week while connected to my school wireless network because I wanted to be able to access some web applications I had on this VM. The bridged interface is there to provide a static ip for access via my home network. I am not running DNS, just defined the machine in the /etc/hosts files and wherever the host file lives on OS X, I forget. So last week all was well, I had internet access from the host on my schools wireless network, I could reach it via the Host Only interface for the web apps. Nic3 would not function because it is not set up to work with the network at school.
Over the weekend I decided to install something in this guest and found I could not get internet. I am connecting at home via wireless as well. I have access from the Host machine to the guest machine via nic2 and nic3.
In the guest nic1 is dhcp, nic2 and nic3 are static. I have tried many different combinations but have had no luck.
I do get dns resolution in the guest. I can try and ping an address and it will show the proper ip, but will never connect. I can not ssh out nor can I update packages or reach web pages.
Anyone have any ideas here?
Thank you.
Grant
No internet
-
Sasquatch
- Volunteer
- Posts: 17798
- Joined: 17. Mar 2008, 13:41
- Primary OS: Debian other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Windows XP, Windows 7, Linux
- Location: /dev/random
Re: No internet
Sounds like a routing issue or conflict between the NAT and Bridged connection. Please disable the Bridged one and try to access the web. When that works, you have to either configure the Bridged completely for your home network (and thus render NAT obsolete), or remove the Bridged connection in the Guest settings as it conflicts somehow.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org
Retired from this Forum since OSSO introduction.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org
Retired from this Forum since OSSO introduction.
-
grantk
- Posts: 2
- Joined: 7. Sep 2010, 15:45
- Primary OS: Mac OS X Leopard
- VBox Version: OSE other
- Guest OSses: Kubuntu 9.10
Re: No internet
Ok, so that worked out.
I got rid of all connections besides the NAT and internet worked.
I added the host only adapter back in and retained internet while being able to access the web applications from the host.
I will not use the bridged connection because the Guest is used on a few different networks that do not have the same subnet. I will see how the host only works out on the differing subnets.
Thank you.
Grant
I got rid of all connections besides the NAT and internet worked.
I added the host only adapter back in and retained internet while being able to access the web applications from the host.
I will not use the bridged connection because the Guest is used on a few different networks that do not have the same subnet. I will see how the host only works out on the differing subnets.
Thank you.
Grant