2

I am using a Windows 7 x64 laptop as my VirtualBox host. And I'd like my single-NIC Linux guest to share the wireless connection of host.

I want my guest to be a network peer of the host, so using NAT is not an option.

I tried to create a bridge connection with wireless NIC and VirtualBox host-only NIC on host. It works at start, but it fails when the laptop restores from sleep. The bridge connection loses its IP, and there is no way to regain it with DHCP, except for removing the bridge and recreating it.

1 Answer 1

1

Setting bridge networking in the virtual box setting for the guest should do the trick.

But since you are having troubles with DHCP after restoring from the sleep, have you tried using static IP for the linux guest?

2
  • sorry, I was not clear enough.. in my situation, linux guest is using static IP, and wireless NIC of host is gaining IP from router's DHCP. I'll try bridge networking in virtualbox. thanks.
    – Jokester
    Commented Jun 17, 2011 at 23:57
  • 1
    can't be more grateful. using bridge in virtualbox's VM settings succeed avoiding the sleep problem, for I no longer need win7's bridge now..after all, it got to working.
    – Jokester
    Commented Jun 18, 2011 at 0:07

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .