Page 1 of 1

No internet

Posted: 7. Sep 2010, 15:54
by grantk
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

Re: No internet

Posted: 7. Sep 2010, 20:55
by Sasquatch
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.

Re: No internet

Posted: 8. Sep 2010, 18:58
by grantk
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