Ubuntu guest, OSX host - cannot connect guest to internet

1

I have a Virtualbox instance running the latest Ubuntu hosted on OSX. Things worked fine until today when, for no apparent reason, Ubuntu stopped raising the network card on startup.

I've fiddled with all network options in VirtualBox but nothing seems to work.

How can I troubleshoot this?

Added as suggested:

I can see eth0, but it has no IP is assigned. Could the problem be with the router, to which I do not have access?

ruipacheco

Posted 2013-04-09T15:01:03.780

Reputation: 113

Answers

1

Does the host still have Internet connectivity? Then traceroute to somewhere outside of your network - Google, f/ex - and see where the failures begin.

Edit: Someone may be able suggest a debug path, but if you care more about getting the broken VM working than understanding why it doesn't, you can make a new VM, confirm it can communicate, then use its net settings to re-configure the currently broken VM.

JRobert

Posted 2013-04-09T15:01:03.780

Reputation: 6 128

Host is fine. The problem is that when ubuntu boots up fails to start the network cards. I can see eth0, but it has no IP assigned. – ruipacheco – 2013-04-09T15:24:09.370

This would be useful to add to your question, along with anything else you've learned about the issue that might help someone help you. – JRobert – 2013-04-09T15:34:04.563

0

If your OSX Host still has networking, and you don't see any IP address on the interface, I'd guess networking somehow got hosed on Ubuntu.

Could you run dhclient? see if that gives you an address.

Rich Homolka

Posted 2013-04-09T15:01:03.780

Reputation: 27 121

0

I too had the exact same issue, Ubuntu client and OSX host. The problem was DHCP stopped working for an unknown reason. I had to switch to static IP assignment. Then I switched to Vmware Fusion.

thnee

Posted 2013-04-09T15:01:03.780

Reputation: 1 551

I just installed a new image. Fixed everything. – ruipacheco – 2013-04-11T15:25:52.527