Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Last year, I had no trouble with doing the following:

  • Create virtual machine
  • Set network adapter to bridged adapter
  • Set static IP
  • Guest connects to Internet, host connects to guest @ 192.168.1.xxx

Bought a SSD, reinstalled Win7, programs etc., cannot accomplish the same.

Scenario 1: bridged adapter + leave /etc/network/interfaces left as dhcp, I can ping out from guest.

Scenario 2: bridged adapter + /etc/network/interfaces set to static, host can connect to guest, but guest cannot see WWW.

This interfaces setting used to work for me:

  1. auto eth0
  2. iface eth0 inet static
  3. address 192.168.1.111
  4. netmask 255.255.255.0
  5. gateway 192.168.1.1 [or gateway 192.168.56.1]

from Vbox [not enough points for image]

  1. Host-only network details
  2. adapter
  3. IPv4 Address: 192.168.56.1
  4. IPv4 Network Mask: 255.255.255.0

Host network like:

  1. VirtualBox Host Only Network
  2. Unidentified Network
  3. VirtualBox Host Only Network Adapter

Wireless Network Connection
myWifi
Belkin USB Wireless Adapter

I have tried abandoning the bridged adapter for NAT+Host only as I've seen in several posts like this one, but the results are the same.

Thanks for your suggestions.

share|improve this question

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.