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.

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.

share|improve this question

1 Answer 1

up vote 1 down vote accepted

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?

share|improve this answer
    
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 Jun 17 '11 at 23:57
    
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 Jun 18 '11 at 0:07

Your Answer

 
discard

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.