Using Ubuntu 13.04 as virtualbox guest on Windows 8 Host. My etc/network/interfaces looks like that:
auto lo iface lo inet loopback auto eth0 iface eth0 inet static address 192.168.1.38 netmask 255.255.255.0 gateway 192.168.1.1 broadcast 192.168.1.255 auto eth1 iface eth1 inet static address 192.168.56.102 netmask 255.255.255.0 gateway 192.168.56.1 broadcast 192.168.56.255
Here is adapter 1's config
And adapter 2's config
Internet comes from 192.168.1.38 - bridged adapter (I think it's eth0). It's connected directly to wireless router. But Ubuntu doesn't get internet from this adapter.
I can connect from host to guest using putty with ip 192.168.56.102 but when I try to connect to the internet from inside guest os - ubuntu, here is what I see:
What am I doing wrong?