NETWORK - Default gateway not available

Discussions related to using VirtualBox on Mac OS X hosts.
Post Reply
TrustairXL
Posts: 3
Joined: 2. Jan 2012, 19:12
Primary OS: Mac OS X other
VBox Version: OSE other
Guest OSses: Windows 7, CentOS

NETWORK - Default gateway not available

Post by TrustairXL »

Hi guys

I'm running a (virtual) windows server 2008 64-bit on a Macbook PRO OS X and I am having trouble connecting to the internet and pingen from my host to the VM.

The network settings of the VB are set to Network Bridge Adapter.
On the windows sever I am connected to an unidentified network but that network can't connect to the internet.

When I troubleshoot I get the "Default gateway not available"-error

sidenote:
- I can ping from my VM to the Host but not the otherway arround
- Firewall on my sever is deactivated
- While I use NAT internet works fine but ping does not


Does someone have an idea to fix this?

Thanks!
David
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: NETWORK - Default gateway not available

Post by mpack »

Use NAT. However, it is a fact that pinging from host to guest will not work with NAT - that is a natural consequence of what NAT is.

Bridged will only work if you have an external DHCP server willing to hand out dynamic IP addresses to unknown MAC addresses. That can be a problem in some (usually business) network server environments. If that is your problem and you still want to use bridged then you would need to talk to your IT support people about adding your VMs MAC address to the whitelist.
Post Reply