I’m attemtping to host my own development web server in a VirtualBox guest virtual machine running Ubuntu Server. I would like this virtual machine to be accessible from not only my home network, but outside the LAN as well.
As such, I’ve set up a static IP so I can later forward ports to this static IP. My VirtualBox settings have this virtual machine only using one adapter in bridged mode.
Here’s what my
/etc/network/interfaces looks like:
iface eth0 inet static address 10.0.1.203 /*this is outside the DHCP range*/ netmask 255.255.255.0 gateway 10.0.1.1 network 10.0.1.0 broadcast 10.0.1.255 dns-nameservers: 126.96.36.199 188.8.131.52
Here’s what the output of
ifconfig looks like:
Here’s the output of
And here’s my VirtualBox settings:
My host system is a Mac Mini, running Mac OS X 10.7.
From within the guest OS, if I ping
$ ping google.com # outputs 'ping: unknown host google.com' immediately
Why am I unable to access the web?