Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have Windows 7 as a guest with Ubuntu Host, the windows got an Internet access via USB modem which is not available for Linux.

I have enabled sharing on Windows network and assigned an IP, netmask and getway to that network and to vboxnet0, the ping was successful but I've got a one problem.

How Ubuntu can detect the guest's network so it can connect to it?

share|improve this question

Have you try to change default gw?


Your host vboxnet0 have ip address

Your Windows(guest) have ip address

Try to set default gateway on the host(Ubuntu) to

# route add default gw
share|improve this answer

Your Answer


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.